Open source chart menus such as Chart.js and Apache ECharts cover the everyday dashboard, a small Canvas library suits long time series, and a drawing kit like D3 suits charts nobody has built before. Pay for a commercial library only when you need its licence terms or its support.
Where these eleven libraries came from
I started from the libraries developers keep naming, then read each one's own vendor pages, documentation or README in November 2026. Six others fell away because their pages gave me too little to check. Nothing here comes from a benchmark of mine: I haven't run these in a test harness, and any speed figure below is the vendor's or the author's own.
What follows is the shortlist itself, then a look at the three choices that sort them: how a library draws, what its licence lets you do, and how much of the chart it builds for you.
Chart.js
A community-maintained open source project, Chart.js draws on HTML5 Canvas, lists eight chart types, and since version 4.0 lets you register only the components you use to trim the bundle. Skip it if your output has to be SVG.
Apache ECharts
Apache ECharts ships more than 20 chart types, switches between Canvas and SVG rendering, and generates chart descriptions and decal patterns for users with disabilities. Skip it if your company insists on a paid vendor support contract, since the page lists only community routes.
D3
D3 isn't a menu of charts. It gives you selections, transitions, layouts such as treemaps and force-directed graphs, and interactions like zooming and brushing, under an ISC licence. Skip it if you want a bar chart working by lunchtime without writing drawing code.
Highcharts
Integrations listed by Highcharts include React, Angular, Vue, Svelte, Python and Flutter, and it makes a strong claim for its accessibility module. Skip it if your commercial product needs a free licence, as the site shows Buy Now and licence agreements.
ApexCharts
ApexCharts can render static SVG on the server and restore interactivity in the browser, and says keyboard navigation, ARIA attributes and screen reader support are on by default. Skip it if your organisation sits above the revenue ceiling on its free Community tier.
amCharts
You get 60+ chart types from amCharts, each with legends, zoom and tooltips, and the free version keeps full functionality with no time limit but puts the amCharts logo on your charts. Skip it if brand rules ban a vendor logo inside a chart.
ZingChart
ZingChart is dependency-free, renders in SVG, canvas or VML, and its free licence keeps a Powered by ZingChart watermark visible at all times. Skip it if you'd rather build charts in code than describe each one as a JSON configuration.
LightningChart JS
Built on WebGL, LightningChart JS calls its GPU-accelerated charts ideal for streaming data in real time, counts 100+ chart types and offers a 30-day free trial. Skip it if you only draw a few small static graphs that don't need GPU rendering.
uPlot
uPlot is an MIT-licensed Canvas 2D chart of about 50 KB minified, built for time series, lines, areas, OHLC and bars, and its README states no transitions or animations. Skip it if you need pie charts or animated updates.
Frappe Charts
Frappe Charts started as the sales graph in ERPNext and draws SVG charts with zero dependencies under the MIT licence, covering bar, line, mixed, donut, pie, percentage and heatmap. Skip it if you need maps or candlestick charts.
Plotly.js
Plotly.js is free and open source, ships over 40 chart types including 3D and statistical graphs, and renders its 3D charts with WebGL on the GPU. Skip it if your users' devices can't run WebGL and you need its 3D charts.
What the vendor pages say
The table pulls four facts from each page. Not published means I searched the text for it and came up empty, not that the feature is missing.
| Library | Rendering stated | Licence or free terms | Chart types stated | Accessibility stated |
|---|---|---|---|---|
| Chart.js | HTML5 Canvas | Open source, community maintained | 8 types | Not published |
| Apache ECharts | Canvas or SVG | Open source | 20+ | Auto descriptions, decal patterns |
| D3.js | Not published | ISC License | Not published | Not published |
| Highcharts | Not published | Licence agreement, Buy Now | Not published | Accessibility module |
| ApexCharts | SVG, including server-side | Free Community tier below a revenue limit | Line, area, column, bar and more | Keyboard, ARIA, screen reader |
| amCharts | HTML5 Canvas by default | Free with logo; paid seats remove it | 60+ | Keyboard, screen reader, High Contrast |
| ZingChart | SVG, canvas or VML | Free with visible watermark | 50+ | Not published |
| LightningChart JS | WebGL, GPU-accelerated | 30-day free trial | 100+ | Not published |
| uPlot | Canvas 2D | MIT | Time series, lines, areas, OHLC, bars | Not published |
| Frappe Charts | SVG | MIT | Bar to heatmap, eight listed | Not published |
| Plotly.js | SVG, with WebGL for 3D and scattergl | Free and open source | 40+ | Not published |
9 of the 11 state how they render, 9 state chart types or a type count, and only 4 say anything about accessibility on the pages I read.
Do you make a JavaScript charting library? Tool makers can ask to be considered for a featured place on this list.
Canvas, SVG or WebGL
The rendering engine is the decision that's hardest to undo, so start there. SVG draws each bar and point as an element in the page. That makes charts sharp at any size, easy to style with CSS and straightforward to export, and screen readers have something to work with. The trade-off is weight: once you're drawing tens of thousands of points, the browser is juggling tens of thousands of elements and things slow down.
Canvas paints pixels onto a single surface. It copes with far more data before it stutters, which is why the libraries aimed at long time series lean on it. You lose per-element styling and you have to work harder for accessibility, because there's nothing inside the canvas for assistive technology to read.
WebGL hands the drawing to the graphics card. That's the route for streaming data, millions of points or 3D, and in this group it's the route taken by the two libraries that talk about streaming and 3D. The catch is that WebGL support depends on the device and its drivers, so test it on the oldest hardware your users run.
Three in the table list more than one rendering engine, which is handy when one chart needs crisp export and another needs raw speed.
Want AI doing the heavy lifting in your marketing?
I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.
Open source, free with a mark, or a commercial licence
Licence terms sort these libraries more sharply than features do. Of the eleven, six state an open source licence in the table (MIT, ISC or open source wording), and those you can ship inside a commercial product with no fee.
Two take a middle path: the free version works in full but puts the vendor's logo or watermark on every chart. That's fine for an internal tool and awkward for a product you sell to clients. One more offers a free tier that applies only below a revenue limit, so a growing company can cross it without noticing.
The rest are commercial, with a trial and a licence agreement. Read the licence before you build on one, because the cost can depend on developer seats, on whether the product is sold or internal, and on how many applications use it. None of that is on the table here, because the vendor pages I read didn't publish enough of it to compare fairly.
Don't treat commercial as worse. A paid licence can come with support you can call, and if your company has a procurement rule that needs a vendor on the hook, an open source project with a mailing list won't satisfy it.
A chart menu or a drawing kit
The third split is how much of the chart the library builds for you. Nine of the eleven state chart types on their pages, and those hand you finished charts: pick line, bar or pie, pass in data and options, and you're done. The counts in the table run from eight to 100+.
A drawing kit is the exception. It gives you the pieces (scales, shapes, layouts, transitions) and expects you to assemble the chart yourself. That's the right tool for a bespoke newsroom graphic or an unusual network diagram, and the wrong one for a team that needs ten standard charts on an admin page by Friday.
A small, focused library sits at the other end: one on this list deliberately covers time series, lines, areas, OHLC and bars and nothing else, which keeps the file small.
Matching the library to the job
For an internal dashboard with a few dozen charts, an open source chart menu on Canvas or SVG will do the job and costs nothing in licences. For a SaaS product that shows charts to paying customers, check the licence first, and rule out anything that forces a logo on the free tier unless you're ready to pay to remove it.
For financial data, sensor feeds or anything streaming, look at the Canvas and WebGL options and test them with your real data volume, not the vendor's demo. For a site where accessibility is a legal requirement, start with the four that state accessibility features, then check them yourself with a keyboard and a screen reader.
If you'd rather not write chart code at all, a dashboard tool may suit you better than a library; see my lists of dashboard software and AI dashboard builders.
Where charting projects trip up
The first trap is choosing from a demo. A demo with a hundred points tells you nothing about how a chart behaves with your half a million rows, so load your own data on day one.
The second is bundle size. A full charting library can add a lot of weight to a page that shows one sparkline. Check whether you can import only the chart types you use, and measure the bundle before and after.
The third is licence drift. A free tier tied to revenue, or a watermark you planned to remove later, turns into an unbudgeted bill when the product grows. Put the licence check in the decision, not after launch.
The last is accessibility left until the end. Retrofitting text alternatives, keyboard access and colour-safe patterns into a finished chart is far harder than picking a library that offers them from the start.
Want your tool on this list? Featured spots and reviews here are paid partnerships. Here's how to partner with me.
Frequently asked questions
What is the easiest JavaScript charting library to start with?
For standard charts, a library with a chart menu is quickest: you pass data and options and get a chart back. Nine of the eleven here state chart types or a type count, so start with one of those rather than a drawing kit.
Is D3 a charting library?
Not in the usual sense. Its own page describes primitives such as selections, transitions and layouts for bespoke data visualisation, so you build the chart yourself rather than picking a chart type.
Which JavaScript charting library handles the most data?
I didn't benchmark them. The libraries that state large-data features use Canvas or WebGL: ECharts says progressive rendering can handle 10 million data in real time, and uPlot's README gives the author's own timing figures.
Are there free JavaScript charting libraries for commercial use?
Yes. Six of the eleven in the table state an open source or permissive licence. Others are free only with a logo or watermark, or below a revenue limit.


