solid-recharts·94 examples

Charts for SolidJS, by example.

A live gallery of every chart family, axis trick, tooltip pattern and interaction — running on solid-recharts, TanStack Start and SolidJS 2.0.

Line

trends, multiple series, custom dots
LineChart
Basic line chart
Two monotone lines over a cartesian grid with tooltip and legend.

Area

filled trends, stacking, gradients
AreaChart
Gradient fill area
Area with a custom linear gradient fill defined in an SVG defs.
AreaChart
Stacked area chart
Two series stacked with `stackId`, filled with translucent brand colors.

Bar

grouped, stacked and shaped bars
BarChart
Grouped bar chart
Two side-by-side bar series with rounded tops and a hover cursor.

Composed

mixing line, area and bar in one chart
ComposedChart
Composed chart
Area, Bar and Line series combined in a single chart.

Pie

pies, donuts, labels and cells
PieChart
Donut chart
A pie with inner radius and a `Cell` per slice for custom colors.
Pie
Pie with labels
A pie chart with label rendering and Cell colors per slice.

Radial

radar and radial bar charts
RadarChart
Custom polar axes
RadarChart with explicit PolarAngleAxis and PolarRadiusAxis configuration.
RadarChart
Basic radar chart
Two radar series overlaid on a polar grid with angle and radius axes.

Scatter

point clouds, bubbles, three axes
ScatterChart
Bubble chart
Scatter plot with bubble sizes driven by a ZAxis range.

Funnel

conversion funnels and trapezoids
FunnelChart
Basic funnel chart
A funnel with value-based trapezoid heights and tooltip on hover.

Hierarchy

treemap, sankey and sunburst
Sankey
Basic sankey
A flow diagram with weighted links between nodes.
Treemap
Basic treemap
A treemap of nested rectangles sized by each node's data.

Axes & Grid

axis config, ticks, labels, grids
YAxis
Dual Y-axis chart
LineChart with two YAxis components bound to different Line series.

Tooltip & Legend

hover info and series legends
Tooltip
Custom tooltip
A bar chart with a styled custom tooltip showing all series values.

References

reference lines, areas and error bars
ErrorBar
Error bars
Bar chart with ErrorBar whiskers showing data uncertainty.
ReferenceLine
Reference elements
ReferenceLine, ReferenceArea, and ReferenceDot on a line chart.

Interaction

brush, click handlers, active shapes
Brush
Brush
LineChart with a draggable Brush to pan the data window.

Shadcn - Area Chart

shadcn/ui area chart blocks
AreaChart
Area Chart - Axes
An area chart with axes.
AreaChart
Area Chart
A simple area chart.
AreaChart
Area Chart - Gradient
An area chart with gradient fill.
AreaChart
Area Chart - Icons
An area chart with icons.
AreaChart
Area Chart - Interactive
An interactive area chart.
AreaChart
Area Chart - Legend
An area chart with a legend.
AreaChart
Area Chart - Linear
A linear area chart.
AreaChart
Area Chart - Stacked
A stacked area chart.
AreaChart
Area Chart - Stacked Expanded
A stacked area chart with expand stacking.
AreaChart
Area Chart - Step
A step area chart.

Shadcn - Bar Chart

shadcn/ui bar chart blocks
BarChart
Bar Chart - Active
A bar chart with an active bar
BarChart
Bar Chart
A bar chart
BarChart
Bar Chart - Horizontal
A horizontal bar chart
BarChart
Bar Chart - Interactive
An interactive bar chart
BarChart
Bar Chart - Label
A bar chart with a label
BarChart
Bar Chart - Custom Label
A bar chart with a custom label
BarChart
Bar Chart - Mixed
A mixed bar chart
BarChart
Bar Chart - Multiple
A multiple bar chart
BarChart
Bar Chart - Negative
A bar chart with negative values
BarChart
Bar Chart - Stacked + Legend
A stacked bar chart with a legend

Shadcn - Line Chart

shadcn/ui line chart blocks
LineChart
Line Chart
A line chart
LineChart
Line Chart - Dots
A line chart with dots
LineChart
Line Chart - Dots Colors
A line chart with dots and colors
LineChart
Line Chart - Custom Dots
A line chart with custom dots
LineChart
Line Chart - Interactive
An interactive line chart
LineChart
Line Chart - Label
A line chart with a label
LineChart
Line Chart - Custom Label
A line chart with a custom label
LineChart
Line Chart - Linear
A linear line chart
LineChart
Line Chart - Multiple
A multiple line chart
LineChart
Line Chart - Step
A line chart with step

Shadcn - Pie Chart

shadcn/ui pie chart blocks
PieChart
Pie Chart - Donut
A donut chart.
PieChart
Pie Chart - Donut Active
A donut chart with an active sector.
PieChart
Pie Chart - Donut with Text
A donut chart with text.
PieChart
Pie Chart - Interactive
An interactive pie chart.
PieChart
Pie Chart - Label
A pie chart with a label.
PieChart
Pie Chart - Custom Label
A pie chart with a custom label.
PieChart
Pie Chart - Label List
A pie chart with a label list.
PieChart
Pie Chart - Legend
A pie chart with a legend.
PieChart
Pie Chart - Separator None
A pie chart with no separator.
PieChart
Pie Chart
A simple pie chart.
PieChart
Pie Chart - Stacked
A pie chart with stacked sections.

Shadcn - Radar Chart

shadcn/ui radar chart blocks
RadarChart
Radar Chart
A radar chart
RadarChart
Radar Chart - Dots
A radar chart with dots
RadarChart
Radar Chart - Grid Circle
A radar chart with a grid and circle
RadarChart
Radar Chart - Grid Circle Filled
A radar chart with a grid and circle fill
RadarChart
Radar Chart - Grid Circle - No lines
A radar chart with a grid and circle fill
RadarChart
Radar Chart - Grid Custom
A radar chart with a custom grid
RadarChart
Radar Chart - Grid Filled
A radar chart with a grid filled
RadarChart
Radar Chart - Grid None
A radar chart with no grid
RadarChart
Radar Chart - Icons
A radar chart with icons
RadarChart
Radar Chart - Custom Label
A radar chart with a custom label
RadarChart
Radar Chart - Legend
A radar chart with a legend
RadarChart
Radar Chart - Lines Only
A radar chart with lines only
RadarChart
Radar Chart - Multiple
A radar chart with multiple data
RadarChart
Radar Chart - Radius Axis
A radar chart with a radius axis

Shadcn - Radial Chart

shadcn/ui radial chart blocks
RadialBarChart
Radial Chart - Grid
A radial chart with a grid.
RadialBarChart
Radial Chart - Label
A radial chart with a label.
RadialBarChart
Radial Chart - Shape
A radial chart with a custom shape.
RadialBarChart
Radial Chart
A radial chart.
RadialBarChart
Radial Chart - Stacked
A radial chart with stacked sections.
RadialBarChart
Radial Chart - Text
A radial chart with text.

Shadcn - Tooltip

shadcn/ui chart tooltip variants
BarChart
Tooltip - Advanced
Tooltip with custom formatter and total.
BarChart
Tooltip - Default
Default tooltip with ChartTooltipContent.
BarChart
Tooltip - Formatter
Tooltip with custom formatter.
BarChart
Tooltip - Icons
Tooltip with icons.
BarChart
Tooltip - Line Indicator
Tooltip with line indicator.
BarChart
Tooltip - No Indicator
Tooltip with no indicator.
BarChart
Tooltip - Custom label
Tooltip with custom label from chartConfig.
BarChart
Tooltip - Label Formatter
Tooltip with label formatter.
BarChart
Tooltip - No Label
Tooltip with no label.