Charts
Bar List
Ranked rows whose background bar shows each value against the largest, with the label on the bar and the value at the end.
idle
Usage
Examples
Visitors by device
Ranked rows with icons; the largest value fills the row.
Top sources
A longer ranked list without icons, in another palette tone.
Recommendations
| Guidance | Practice |
|---|---|
| Do | Keep labels short so they stay on the bar. Show at most about ten rows and fold the rest into "Other". |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | Use for nominal categories ranked by one measure. Rows always sort largest first; use CategoryComparison when the order is meaningful or values can be negative. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | Required | Rows ranked by value, largest first. Each bar shows its value against the largest; values must not be negative. |
| | Required | Names the list for assistive technology. |
| | None | A column caption above the values, such as "Visitors". |
| | Locale number formatting / "en-US" / palette per item | Formats values. Each item takes its palette color in input order; items past the sixth use the neutral reference tone. tone sets one hue for every bar. |