Overview
Chart variants built with shadcn charts and Recharts — browse by family and install from the registry.
chartcn is a registry of chart variants on shadcn ChartContainer + Recharts. Pick a family, copy a variant, or install it with the shadcn CLI.
Charts
Area
Stacked, gradient, clip, dual-axis
Bar
Grouped, mixed, reference, dual-axis
Line
Curves, brush, synced panels
Scatter
Bubble, trend, multi-series
Pie
Donut, nested, center KPI
Radial
Progress, gauge, stacked
Radar
Filled, multi-series, legend
Treemap
Grouped, styled, tooltips
Sankey
Flows and gradient links
Geo
Choropleth, drill-down, points
Force directed
d3-force layout, SVG marks
Force directed (WebGL)
Pixi-rendered, higher node counts
Composition
Brush, references, error bars, layouts
Statistical
Histogram
Binned frequency distribution
Box plot
Whiskers, IQR, median
Heatmap
Calendar and correlation
Waterfall
Bridge of gains and losses
Pareto
Bars with cumulative line
Slope
Two-period comparison
Small multiples
Sparkline grid
Bullet
KPI vs ranges and target
Product analytics
Cohort heatmap
Retention by cohort
Retention curve
Retention over time
Funnel steps
Step conversion
Funnel trend
Conversion rates over weeks
Flow path
User path sankey
Insights
Multi-metric trends
Segment comparison
Side-by-side segments
Sparklines
Compact KPI series
Period comparison
This week vs last week
Conversion dual-axis
Volume + rate combo
Stickiness
DAU / WAU / MAU ratio
Event frequency
Events-per-user histogram
Markets
Candlestick
OHLC price action
Volume
Volume under price
Moving average
MA overlays
Bollinger
SMA ± σ bands
Oscillators
MACD and RSI
Drawdown
Underwater equity
High–low
Daily range band
VWAP
Session-anchored average price
Volume profile
Volume by price level
Stochastic
%K / %D with 20/80 bands
ATR
Wilder-smoothed volatility
OBV
Volume signed by direction
Donchian
Rolling high/low channel
Ichimoku
Two-tone cloud fill
Supertrend
ATR envelope, flips with trend
Parabolic SAR
Stop-and-reverse dots