Skip to content
tastebase

tastebase

Sign in

Your agent gets your look, hearts and dislikes in every project. Folders follow you to every device.

We keep the name, avatar and email your provider shares. Nothing else.

Best chart libraries

· updated

Written from the tastebase registry, so it changes when an entry does.

These are the chart libraries we would reach for, in that order. Each one is in tastebase because it does one job well; the table says which job.

Recharts leads: composable SVG charts for React; the engine behind shadcn/ui charts. If it doesn't fit, visx is the next pick: airbnb's low-level D3 + React primitives (scales, shapes, axes) for custom charts.

12 picks

  1. Recharts

    Composable SVG charts for React; the engine behind shadcn/ui charts.

  2. visx

    Airbnb's low-level D3 + React primitives (scales, shapes, axes) for custom charts.

  3. nivo

    Rich, themeable React charts in SVG, canvas or HTML, with motion and patterns built in.

  4. Apache ECharts

    Full-featured canvas/SVG charting engine for big data, maps and complex dashboards.

  5. Chart.js

    Simple, popular canvas charts for any stack, with React and Vue wrappers.

  6. uPlot

    Tiny, extremely fast canvas time-series charts (about 50KB, millions of points).

  7. Unovis

    Modular, framework-agnostic charts and network graphs from F5, styled with CSS variables.

  8. EvilCharts

    Animated shadcn chart components, each on Recharts (SVG) or Apache ECharts (canvas) behind the same API.

  9. Bklit UI

    Composable animated chart components on d3, Motion and Tailwind, from the shadcn registry, with a React Native port.

  10. Gauge UI

    Composable SVG gauge primitives for React: arcs, zones, ticks, needles and linear bars, from a shadcn registry.

  11. Pele

    Renders Mermaid diagram text to SVG themed with CSS variables; synchronous, no dependencies, much smaller than mermaid.js.

  12. mapcn

    Copy-in React map components on MapLibre GL, themed with shadcn tokens: markers, popups, routes, arcs, clusters.

Compared

LibraryPricingOpen sourceBest forSite
RechartsFreeYes (MIT)standard line, area, bar and pie charts in a React dashboardrecharts.github.ioAlternatives
visxFreeYes (MIT)bespoke charts that match a design exactly (editorial graphics, custom dashboards)visx.airbnb.techAlternatives
nivoFreeYes (MIT)chart types beyond the basics: chord, sankey, sunburst, calendar heatmap, swarm plotnivo.rocksAlternatives
Apache EChartsFreeYes (Apache-2.0)analytics dashboards with 100k+ points, zoom, brush and linked chartsecharts.apache.orgAlternatives
Chart.jsFreeYes (MIT)quick standard charts in plain HTML, Vue or server-rendered appschartjs.orgAlternatives
uPlotFreeYes (MIT)real-time metrics, logs and observability dashboardsgithub.comAlternatives
UnovisFreeYes (Apache-2.0)the same chart components across React, Vue, Svelte and Angular appsunovis.devAlternatives
EvilChartsFreeYes (MIT)a dashboard in a shadcn app whose charts should animate in and look designed, not defaultevilcharts.comAlternatives
Bklit UIFreeYes (MIT)a finance or analytics dashboard that needs candlesticks, profit/loss lines, live streaming lines or choropleth maps beside the usual chartsbklit.comAlternatives
Gauge UIFreeYes (MIT)a speedometer, dial or meter on a dashboard (CPU, quota, score)gauge-ui.devAlternatives
PeleFreeYes (MIT)Mermaid code blocks in docs, a blog or chat answers that match the site's light and dark themepele.run–
mapcnFreeYes (MIT)an interactive map in a shadcn app: store locator, delivery tracking, office or event locationsmapcn.dev–

Questions

What is the best chart library?

Recharts: composable SVG charts for React; the engine behind shadcn/ui charts. Reach for it for standard line, area, bar and pie charts in a React dashboard.

Which work outside React?

Apache ECharts, Chart.js, uPlot, Unovis, Bklit UI and Pele also ship for plain JavaScript, Vue, Svelte and Solid. The rest are React only.