NPM Star
Collections
  1. Home
  2. Compare
  3. chart.js vs echarts
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.

Apache ECharts

<a href="https://echarts.apache.org/"> <img style="vertical-align: top;" src="./asset/logo.png?raw=true" alt="logo" height="50px"> </a>

Apache ECharts is a free, powerful charting and visualization library offering easy ways to add intuitive, interactive, and highly customizable charts to your commercial products. It is written in pure JavaScript and based on <a href="https://github.com/ecomfe/zrender">zrender</a>, which is a whole new lightweight canvas library.

中文官网 | ENGLISH HOMEPAGE

License Latest npm release NPM downloads Contributors

Build Status

Get Apache ECharts

You may choose one of the following methods:

  • Download from the official website
  • npm install echarts --save
  • CDN: jsDelivr CDN

Docs

  • Get Started
  • API
  • Option Manual
  • Examples

Get Help

  • GitHub Issues for bug report and feature requests
  • Email dev@echarts.apache.org for general questions
  • Subscribe to the mailing list to get updated with the project

Build

Build echarts source code:

Execute the instructions in the root directory of the echarts: (Node.js is required)

# Install the dependencies from NPM: npm install # Rebuild source code immediately in watch mode when changing the source code. # It opens the `./test` directory, and you may open `-cases.html` to get the list # of all test cases. # If you wish to create a test case, run `npm run mktest:help` to learn more. npm run dev # Check the correctness of TypeScript code. npm run checktype # If intending to build and get all types of the "production" files: npm run release

Then the "production" files are generated in the dist directory.

Contribution

Please refer to the contributing document if you wish to debug locally or make pull requests.

Resources

Awesome ECharts

https://github.com/ecomfe/awesome-echarts

Extensions

  • ECharts GL An extension pack of ECharts, which provides 3D plots, globe visualization, and WebGL acceleration.

  • Liquidfill 水球图

  • Wordcloud 字符云

  • Extension for Baidu Map 百度地图扩展 An extension provides a wrapper of Baidu Map Service SDK.

  • vue-echarts ECharts component for Vue.js

  • echarts-stat Statistics tool for ECharts

License

ECharts is available under the Apache License V2.

Code of Conduct

Please refer to Apache Code of Conduct.

Paper

Deqing Li, Honghui Mei, Yi Shen, Shuang Su, Wenli Zhang, Junting Wang, Ming Zu, Wei Chen. ECharts: A Declarative Framework for Rapid Construction of Web-based Visualization. Visual Informatics, 2018.

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

echarts

Dependencies

tslib2.3.0
zrender6.1.0

Dev Dependencies

jest^26.6.1
open6.4.0
chalk^3.0.0
husky^8.0.3
eslint^7.15.0
globby11.0.0
jshint2.13.5
rollup2.34.2
semver6.3.0
terser^5.16.1
dtslint^4.0.5
esbuild^0.8.39
ts-jest^26.4.3
fs-extra^10.0.0
commander2.11.0
seedrandom3.0.3
typescript4.4.3
@babel/core7.3.4
@types/jest^26.0.14
@babel/types7.10.5
magic-string^0.25.7
jest-canvas-mock^2.5.0
@babel/code-frame7.10.4
@rollup/plugin-terser0.4.2
@definitelytyped/utils0.0.188
@rollup/plugin-replace^2.3.4
@lang/rollup-plugin-dts2.0.3
@rollup/plugin-commonjs^17.0.0
@microsoft/api-extractor7.31.2
@typescript-eslint/parser^4.33.0
@echarts-x/eslint-plugin-ec^1.0.0
@rollup/plugin-node-resolve^11.0.0
@typescript-eslint/eslint-plugin^4.33.0
@definitelytyped/typescript-versions^0.1.9

Peer Dependencies

StarsIssuesVersionUpdatedⓘLast publish dateCreatedⓘPackage creation dateSizeⓘMinified + Gzipped size
C
chart.js
00N/AN/AN/Ainstall size N/A
E
echarts
67,5191,4866.1.05 months ago11 years agoinstall size 359.3 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).

basecoat
basecoat

A components library built with Tailwind CSS that works with any web stack.

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

echarts

luci-go
luci-go

LUCI (go) (GitHub mirror)

AIComics
AIComics

AI Donghua production system — ComfyUI + Blender + Remotion pipeline. Watch free episodes + buy the full season → gumroad.com/chfr1982

vue-app
vue-app

vue-app

basic
basic

Basic Rails 8 Blueprint