darnautov / elastic-charts

:bar_chart: Elastic Charts library

Home Page:https://elastic.github.io/elastic-charts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

elastic-charts logo
Elastic Charts

Build Status NPM version Commitizen friendly

🚨 WARNING While open source, the intended consumers of this repository are Elastic products. Read the FAQ for details.

You should check out our living style guide, which contains many examples on how charts look and feel, and how to use them in your products.

You could also check and fork the codesandbox example here to play with the code directly


To install the Elastic Charts into an existing project, use the yarn CLI (npm is not supported).

yarn add @elastic/charts

Important: see the consuming wiki for detailed installation requirements

Running Locally


We depend upon the version of node defined in .nvmrc.

You will probably want to install a node version manager. nvm is recommended.

To install and use the correct node version with nvm:

nvm install

Development environment

You can run the dev environment locally at http://localhost:9001 by running:

yarn start

We use storybook to document API, edge-cases, and the usage of the library. A hosted version is available at https://elastic.github.io/elastic-charts.


The primary goal of this library is to provide reusable set of chart components that can be used throughout Elastic's web products. As a single source of truth, the framework allows our designers to make changes to our look-and-feel directly in the code. And unit test coverage for the charts components allows us to deliver a stable "API for charts".


You can find documentation around creating and submitting new features in CONTRIBUTING.md.





Apache Licensed. Read the FAQ for details.

FOSSA Status


:bar_chart: Elastic Charts library


License:Apache License 2.0


Language:TypeScript 98.5%Language:JavaScript 1.0%Language:SCSS 0.3%Language:Shell 0.1%Language:Python 0.1%Language:HTML 0.0%