Bar charts
Every bar chart from shadcn's gallery in Material 3 Expressive: full pill bars, a value axis on the right, a target line with a badge on the bars that reach it, one point in focus with a big readout, and value labels as small pills. The data is lab work: libraries through a sequencing core, variants in an exome, blood cell types and a gene expression response.
Default and horizontal
The default bar chart is a column of pills with a target line; weeks that reach the target take the full color and a check badge. The horizontal variant lays the same data in rows, with the value in a pill after each bar. Week 4 is low: the DNA line was down for maintenance.
Bar Chart
DNA libraries prepared per week, against a target of 200
Bar Chart - Horizontal
DNA libraries prepared per week, weeks 1 to 6
Multiple and stacked
Grouped bars sit side by side as separate pills, in two hues for two kinds of library. Stacked segments split one total, so they take two tones of one color; each rounds and they are parted by a 3px surface gap. Both keep the inverse tooltip, with a focus line in place of the gray band, and chip legends.
Bar Chart - Multiple
DNA and RNA libraries prepared per week
Bar Chart - Stacked + Legend
All libraries per week, split into DNA and RNA
Label and custom label
Values are small inverse pills, above a column or after a row. A custom label can live inside the bar, in that bar's on-color.
Bar Chart - Label
DNA libraries per week, each bar with its count
Bar Chart - Custom Label
Variants in one exome by consequence, named inside each bar
Mixed and active
Mixed gives every row its own color from the chart config. Active keeps one bar at full color and pushes the others back; hover, tap or use the arrow keys to move it.
Bar Chart - Mixed
Cell types per 1,000 blood mononuclear cells, one color per row
Bar Chart - Active
Blood mononuclear cells by type. Hover, tap or use the arrow keys to move the highlight.
Negative
Up and down on either side of a zero line, each in its own color, with the value pill on the outer end of the bar: p53 targets rise after DNA damage and proliferation genes fall (fold changes illustrative).
Bar Chart - Negative
Gene expression after DNA damage, log2 fold change against untreated cells
Interactive
A series switcher that shows each series' total for the period, a period switcher, and a readout that follows the point in focus.
Bar Chart - Interactive
Samples extracted per day, last 30 days