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.

Chart.js

free

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

by Chart.js contributors GitHub npm
visit
Chart.js website

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.js
Use 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
Compare Chart.js with its 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 },
})
Visit