Chart.js vs D3
- 8,558
- 1,468
Loading comparison
Loading comparison
Chart.js is the more common of the two in our index: it runs on 8,558 websites against 1,468 for D3, and 146 sites use both. Counts come from real scans of each site's home page, not vendor claims, and cover the sites in TechLookup.app's index rather than the whole web.
Chart.js is an open-source JavaScript library that allows you to draw different types of charts by using the HTML5 canvas element.
D3.js is a JavaScript library for producing dynamic, interactive data visualisations in web browsers.
Among sites in the Tranco top 10,000, Chart.js appears on 38 and D3 on 12; across the top million it is 5,767 against 1,063. Within the JavaScript graphics sites we have indexed, Chart.js holds 17% and D3 3.0%.
Chart.js: 8,558 sites, on 17% of JavaScript graphics sites
Indexed sites in the countries where the two are most used. A site's country is read from its domain ending, or from its own server for .com and other generic endings. Sites behind a shared CDN or cloud on a generic ending have no country and are not counted here.
| Country | Chart.js | D3 |
|---|---|---|
| Germany | 489 | 107 |
| United States | 487 | 73 |
| France | 285 | 31 |
| Russia | 259 | 40 |
| India | 214 | 23 |
| Netherlands | 174 | 10 |
| Italy |
146 sites run both Chart.js and D3. That is 10% of the sites using D3, the smaller of the two.
Want to know which one a particular site uses? Look it up and see its whole stack, or compare two sites side by side.
| 25 |
| Brazil | 148 | 22 |
|---|
Export all 8,558 Chart.js sites as CSV on the Pro plan, $49 a month. Export on Pro → or download a free 5-row sample CSV.
Export all 1,468 D3 sites as CSV on the Starter plan, $19 a month. Export on Starter → or download a free 5-row sample CSV.