A comprehensive charting library for displaying interactive data visualizations within Automattic products. Built on top of modern libraries like @visx/xychart
and designed for accessibility, responsiveness, and ease of use.
Explore the available charts and their documentation in Storybook.
npm install @automattic/charts
# or
pnpm add @automattic/charts
# or
yarn add @automattic/charts
To run Storybook locally, from the root of the monorepo follow these steps:
- Run
pnpm install
to install the dependencies. - Run
cd projects/js-packages/charts
to navigate to the charts package. - Run
pnpm run storybook
to start the storybook server.
Ready to contribute? Check out the Jetpack contributing guide and the Charts AI documentation guide for detailed information on adding new features and documentation.
If you plan on using this package in your WordPress plugin, we would recommend that you use Jetpack Autoloader as your autoloader. This will allow for maximum interoperability with other plugins that use this package as well.
Need to report a security vulnerability? Go to https://automattic.com/security/ or directly to our security bug bounty site https://hackerone.com/automattic.
Charts is licensed under GNU General Public License v2 (or later)