Chart.js
freeSimple, popular canvas charts for any stack, with React and Vue wrappers.

Try these
Apache ECharts
Full-featured canvas/SVG charting engine for big data, maps and complex dashboards.
Recharts
Composable SVG charts for React; the engine behind shadcn/ui charts.
uPlot
Tiny, extremely fast canvas time-series charts (about 50KB, millions of points).
Unovis
Modular, framework-agnostic charts and network graphs from F5, styled with CSS variables.
For your agent
Install
npm i chart.jsUse it for
- quick standard charts in plain HTML, Vue or server-rendered apps
- admin panels where canvas performance beats SVG and design is secondary
Skip it when
- React dashboards with a design system: use recharts (SVG, styleable, accessible)
- accessibility-critical charts: canvas has no semantics, use recharts or provide a data table
- very large time series: use uplot
What's inside8 free
- Line
- Bar
- Pie
- Doughnut
- Polar Area
- Radar
- Scatter
- Bubble
Facts
- Frameworks
- vanilla, react, vue, svelte, solid, angular
- Styling
- unstyled
- Weight
- medium
- Accessibility
- weak
- Maturity
- established
- License
- MIT
- Price
- Free
Alternatives
import Chart from 'chart.js/auto'
const canvas = document.getElementById('signups') as HTMLCanvasElement
new Chart(canvas, {
type: 'bar',
data: { labels: months, datasets: [{ label: 'Signups', data: values }] },
options: { responsive: true, maintainAspectRatio: false },
})https://www.chartjs.org/docs/latest/samples/bar/vertical.html
Loading website