NPM Star
Collections
  1. Home
  2. Compare
  3. chart.js vs d3
NPM Compare

Compare NPM packages statistics, trends, and features

CollectionsVS Code extensionChrome extensionTermsPrivacyLinkTreeIndiehackersBig Frontendqiuyumi

Unable to load comparison data. Please try again later.

<p align="center"> <a href="https://www.chartjs.org/" target="_blank"> <img src="https://www.chartjs.org/media/logo-title.svg" alt="https://www.chartjs.org/"><br/> </a> Simple yet flexible JavaScript charting for designers & developers </p> <p align="center"> <a href="https://www.chartjs.org/docs/latest/getting-started/installation.html"><img src="https://img.shields.io/github/release/chartjs/Chart.js.svg?style=flat-square&maxAge=600" alt="Downloads"></a> <a href="https://github.com/chartjs/Chart.js/actions?query=workflow%3ACI+branch%3Amaster"><img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/chartjs/Chart.js/ci.yml?branch=master&style=flat-square"></a> <a href="https://coveralls.io/github/chartjs/Chart.js?branch=master"><img src="https://img.shields.io/coveralls/chartjs/Chart.js.svg?style=flat-square&maxAge=600" alt="Coverage"></a> <a href="https://github.com/chartjs/awesome"><img src="https://awesome.re/badge-flat2.svg" alt="Awesome"></a> <a href="https://discord.gg/HxEguTK6av"><img src="https://img.shields.io/badge/discord-chartjs-blue?style=flat-square&maxAge=3600" alt="Discord"></a> </p>

Documentation

All the links point to the new version 4 of the lib.

  • Introduction
  • Getting Started
  • General
  • Configuration
  • Charts
  • Axes
  • Developers
  • Popular Extensions
  • Samples

In case you are looking for an older version of the docs, you will have to specify the specific version in the url like this: https://www.chartjs.org/docs/2.9.4/

Contributing

Instructions on building and testing Chart.js can be found in the documentation. Before submitting an issue or a pull request, please take a moment to look over the contributing guidelines first. For support, please post questions on Stack Overflow with the chart.js tag.

License

Chart.js is available under the MIT license.

D3: Data-Driven Documents

<a href="https://d3js.org"><img src="./docs/public/logo.svg" width="256" height="256"></a>

D3 (or D3.js) is a free, open-source JavaScript library for visualizing data. Its low-level approach built on web standards offers unparalleled flexibility in authoring dynamic, data-driven graphics. For more than a decade D3 has powered groundbreaking and award-winning visualizations, become a foundational building block of higher-level chart libraries, and fostered a vibrant community of data practitioners around the world.

<a href="https://observablehq.observablehq.cloud/oss-analytics/@d3/d3"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://observablehq.observablehq.cloud/oss-analytics/d3/downloads-dark.svg"> <img alt="Daily downloads of D3" src="https://observablehq.observablehq.cloud/oss-analytics/d3/downloads.svg"> </picture> </a>

<sub>Daily downloads of D3 · oss-analytics</sub>

Resources

  • Documentation
  • Examples
  • Releases
  • Getting help

Dependencies Comparison

chart.js

Dependencies

@kurkle/color^0.3.0

Dev Dependencies

esm^3.2.25
glob^8.0.3
karma^6.3.2
luxon^3.0.1
yargs^17.5.1
eslint^8.21.0
moment^2.29.4
rollup^3.3.0
jasmine^3.7.0
@swc/core^1.3.18
coveralls^3.1.1
cross-env^7.0.3
pixelmatch^5.3.0
typescript^4.7.4
concurrently^7.3.0
jasmine-core^3.7.1
@types/estree^1.0.0
karma-jasmine^4.0.1
karma-coverage^2.0.3
moment-timezone^0.5.34
eslint-plugin-es^4.1.0
chartjs-test-utils^0.4.0
eslint-plugin-html^7.1.0
rollup-plugin-swc3^0.7.0
@rollup/plugin-json^5.0.1
karma-edge-launcher^0.4.2
karma-spec-reporter0.0.32
rollup-plugin-terser^7.0.2
@rollup/plugin-inject^5.0.2
chartjs-adapter-luxon^1.2.0
eslint-config-chartjs^0.3.0
karma-chrome-launcher^3.1.0
rollup-plugin-cleanup^3.2.1
@types/offscreencanvas^2019.7.0
chartjs-adapter-moment^1.0.0
eslint-plugin-markdown^3.0.0
karma-firefox-launcher^2.1.0
rollup-plugin-istanbul^4.0.0
@rollup/plugin-commonjs^23.0.2
@typescript-eslint/parser^5.32.0
karma-rollup-preprocessor7.0.7
@rollup/plugin-node-resolve^15.0.1
karma-jasmine-html-reporter^1.5.4
karma-safari-private-launcher^1.0.0
@typescript-eslint/eslint-plugin^5.32.0

Peer Dependencies

d3

Dependencies

d3-dsv^3.0.2
d3-geo^3.1.2
d3-axis^3.0.1
d3-drag^3.0.1
d3-ease^3.0.2
d3-path^3.1.1
d3-time^3.1.1
d3-zoom^3.0.1
d3-array^3.2.5
d3-brush^3.0.1
d3-chord^3.0.2
d3-color^3.1.1
d3-fetch^3.0.2
d3-force^3.0.1
d3-scale^4.0.3
d3-shape^3.2.1
d3-timer^3.0.2
d3-format^3.1.3
d3-random^3.0.2
d3-contour^4.0.3
d3-polygon^3.0.2
d3-delaunay^6.0.5
d3-dispatch^3.0.2
d3-quadtree^3.0.2
d3-hierarchy^3.1.3
d3-selection^3.0.1
d3-transition^3.0.2
d3-interpolate^3.0.2
d3-time-format^4.1.1
d3-scale-chromatic^3.1.1

Dev Dependencies

vite^6.4.5
eslint^10.14.0
rollup^4.67.4
vitest^5.1.0
globals^17.14.0
vitepress^1.6.4
@eslint/js^10.0.1
topojson-client^3.1.0
@observablehq/plot^0.6.17
@rollup/plugin-json^6.1.0
@observablehq/runtime^5.9.9
@rollup/plugin-terser^1.0.2
@rollup/plugin-node-resolve^16.0.3

Peer Dependencies

StarsIssuesVersionUpdatedⓘLast publish dateCreatedⓘPackage creation dateSizeⓘMinified + Gzipped size
C
chart.js
00N/AN/AN/Ainstall size N/A
D
d3
113,859217.9.1a month ago15 years agoinstall size 91.0 KB

Who's Using These Packages

chart.js

vuestic-admin
vuestic-admin

Vuestic Admin is an open-source, ready-to-use admin template suite designed for rapid development, easy maintenance, and high accessibility. Built on Vuestic UI, Vue 3, Vite, Pinia, and Tailwind CSS. Maintained by Epicmax (@epicmaxco).

sentinl
sentinl

Kibana Alert & Report App for Elasticsearch

zentral
zentral

Zentral is a control plane for secure, observable Apple endpoints in enterprises. Configure, observe, and enforce the desired state of every Apple endpoint. Manage that desired state as code through GitOps and Terraform.

awesome-vibe-coding-prompt-code-templates
awesome-vibe-coding-prompt-code-templates

builder prompts which can be sent to builders like cursor, bolt.diy, bolt.new, trae, project idx, Claude code, lovable.dev, llmacoder, geminicoder, windsurf, deepseek-artifact, cline, aider etc

vuepoint
vuepoint

A vuejs based dashboard framework

d3

ng-zorro-antd
ng-zorro-antd

Angular UI Component Library based on Ant Design

baseweb
baseweb

A React Component library implementing the Base design language

framework
framework

A static site generator for data apps, dashboards, reports, and more. Observable Framework combines JavaScript on the front-end for interactive graphics with any language on the back-end for data analysis.

OverVue
OverVue

Prototyping Tool For Vue Devs 适用于Vue的原型工具

gossip
gossip

Give awesome and informative presentation efficiently.