Skip to content
Meridian

Charts

Four SVG chart primitives, zero dependencies. Warm ink on paper, hover tooltips built in, sized by props. They power the trading and infrastructure showcases.

BarChart

Categorical values; ink-fill the last N bars to focus attention.

{{ barCode }}

LineChart

Trends over time, with a soft area fill under the line.

{{ lineCode }}

DonutChart

Share of a whole, with a center figure. Slices default to the brand palette.

{{ donutCode }}

Sparkline

Inline trend for stats and table cells. Direction is inferred from the data.

Up
Down
Flat
{{ sparkCode }}

Recipes

The primitives compose with Card, Stat, and Table into every dashboard pattern the showcases use. Preview, then copy the code.

{{ r.title }}

Full prop tables live in Components → Data.