Carbon Charts React is a thin React wrapper around the vanilla JavaScript @carbon/charts component
library. The charts are based on D3.js, a peer dependency.
The required styles should be imported from @carbon/charts-react/dist/styles.css. Additional
documentation is provided in the Storybook demos.
When opening the link above, click on the Edit on StackBlitz button for each demo to see an
isolated project showing you how to reproduce the demo.
Charting data & options
Although new charts will be introduced in the future (such as a choropleth), data and options follow
the same model for all charts with minor exceptions. For example, in the case of a donut chart,
you're able to pass in an additional field called center in your options to configure the donut
center.
For instructions on using the tabular data format, see
here
Customizable options (specific to chart type) can be found
here
IBM Telemetry
This package uses IBM Telemetry to collect metrics data. By installing this package as a dependency
you are agreeing to telemetry collection. To opt out, see
Opting out of IBM Telemetry data collection.
For more information on the data being collected, please see the
IBM Telemetry documentation.
1.16.11 (2024-06-18)
Bug Fixes
umd: duplicate umd.cjs file to umd.js to prevent breaking change
(#1858)
(e1f896c)
Change Log
All notable changes to this project will be documented in this file. See
Conventional Commits for commit guidelines.
The npm package @carbon/charts-react receives a total of 15,887 weekly downloads. As such, @carbon/charts-react popularity was classified as popular.
We found that @carbon/charts-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 0 open source maintainers collaborating on the project.
Package last updated on 18 Jun 2024
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
By Kush Pandya, Philipp Burckhardt, Kirill Boychenko, Orlando Barrera - Oct 31, 2024
The npm package for the LottieFiles Player web component was hit with a supply chain attack after a software engineer's npmjs credentials were compromised.