@vireya/ui · charts
Charts Showcase
Recharts wrapped with Vireya tokens — copy any variant, swap the dataset, ship.
Vireya's charts wrap recharts in the same design-token system as the rest of the library: swap the dataset, and every series, axis and tooltip recolours from your active theme — no runtime CSS. From areas and bars to candlesticks, heatmaps, Sankey and funnel diagrams, the families below cover the charts real dashboards need.
Each family opens to live, themeable examples with copyable source and a guide on when to reach for that chart type — and when not to. Learn how the colours come from design tokens.
area/*
Area
Area charts — emphasize cumulative magnitude and trend direction.
bar/*
Bar
Bar charts — compare discrete categories, vertical or horizontal.
line/*
Line
Line charts — trend over time, single or multi-series.
pie/*
Pie
Pie & donut — share-of-whole, small number of slices.
radial/*
Radial
Radial bar charts — gauge-like, progress, ranked metrics.
heatmap/*
Heatmap
Heatmaps — density / activity over a 2D grid. Composed from SVG primitives wrapped in ChartContainer (recharts has no native heatmap).
scatter/*
Scatter
Scatter / bubble plots — relationship between two numeric variables, with optional ZAxis to encode a third as point size.
force/*
Force
Diverging / force-stacked bars — Likert composition around a central baseline.
stock/*
Stock
Time-series price charts with annotations — earnings windows, MAs, milestone dots.
treemap/*
Treemap
Hierarchical area-encoded breakdowns — portfolio / sector / market-cap composition.
sankey/*
Sankey
Flow diagrams — fund flows, capital allocation, source → bucket → destination.
funnel/*
Funnel
Conversion funnels — visitor → signup → activation → retention drop-off visualization.