
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@carbon/charts-react
Advanced tools
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/styles.css. Additional documentation is provided in the Storybook demos.
Run the following command using npm:
npm install -S @carbon/charts-react d3 d3-cloud d3-sankey
If you prefer Yarn, use the following command instead:
yarn add @carbon/charts-react d3 d3-cloud d3-sankey
Read Getting Started
Sample use cases can be seen here.
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.
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
FAQs
Carbon Charts component library for React
The npm package @carbon/charts-react receives a total of 34,898 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 1 open source maintainer collaborating on the project.
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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.