Open
Conversation
Collaborator
🟡 Heimdall Review Status
🟡
|
| Code Owner | Status | Calculation | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ui-systems-eng-team |
🟡
0/1
|
Denominator calculation
|
hcopp
reviewed
Mar 26, 2026
apps/docs/docs/components/charts/PercentageBarChart/_mobileExamples.mdx
Outdated
Show resolved
Hide resolved
apps/docs/docs/components/charts/PercentageBarChart/_webExamples.mdx
Outdated
Show resolved
Hide resolved
packages/mobile-visualization/src/chart/bar/PercentageBarChart.tsx
Outdated
Show resolved
Hide resolved
packages/mobile-visualization/src/chart/bar/PercentageBarChart.tsx
Outdated
Show resolved
Hide resolved
packages/mobile-visualization/src/chart/bar/PercentageBarChart.tsx
Outdated
Show resolved
Hide resolved
hcopp
reviewed
Mar 26, 2026
packages/web-visualization/src/chart/bar/PercentageBarChart.tsx
Outdated
Show resolved
Hide resolved
hcopp
reviewed
Mar 26, 2026
packages/mobile-visualization/src/chart/bar/PercentageBarChart.tsx
Outdated
Show resolved
Hide resolved
hcopp
reviewed
Mar 26, 2026
packages/mobile-visualization/src/chart/bar/PercentageBarChart.tsx
Outdated
Show resolved
Hide resolved
0e7d555 to
11413f3
Compare
hcopp
reviewed
Mar 30, 2026
packages/mobile-visualization/src/chart/bar/PercentageBarChart.tsx
Outdated
Show resolved
Hide resolved
hcopp
reviewed
Mar 30, 2026
packages/mobile-visualization/src/chart/bar/PercentageBarChart.tsx
Outdated
Show resolved
Hide resolved
hcopp
reviewed
Mar 30, 2026
packages/mobile-visualization/src/chart/bar/__tests__/PercentageBarChart.test.tsx
Show resolved
Hide resolved
hcopp
reviewed
Mar 30, 2026
packages/web-visualization/src/chart/bar/PercentageBarChart.tsx
Outdated
Show resolved
Hide resolved
hcopp
reviewed
Mar 30, 2026
packages/web-visualization/src/chart/bar/PercentageBarChart.tsx
Outdated
Show resolved
Hide resolved
hcopp
reviewed
Mar 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed? Why?
PercentageBarChartis a new specialized chart component that renders stacked bar charts where every bar always fills 100% of the value axis. Rather than requiring callers to pre-normalize their data, consumers pass raw non-negative values per segment and the component handles the proportional math internally — each segment's value is divided by the group total and scaled to 100%.This makes it straightforward to visualize part-to-whole breakdowns (e.g. category share, allocation splits) without any data preprocessing. The value axis is automatically locked to a strict 0–100% scale.
It supports both horizontal (default) and vertical bar orientations, and is built as a thin, focused wrapper around the existing
BarChartcomponent — inheriting its rendering, theming, and accessibility foundations while exposing a simpler, opinionated API scoped to the percentage-bar use case.UI changes
Storybook
pbc-mobile-storybk-light.mov
pbc-mobile-storybook-dark.mov
pbc-web-storybk-light.mov
pbc-web-storybook-dark.mov
Docs
pbc-docs-mobile.mov
pbc-docs-web.mov
Testing
How has it been tested?
Testing instructions
Illustrations/Icons Checklist
Required if this PR changes files under
packages/illustrations/**orpackages/icons/**Change management
type=routine
risk=low
impact=sev5
automerge=false