Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
@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/dist/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
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.14.6 (2024-02-27)
Note: Version bump only for package @carbon/charts-monorepo
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
FAQs
Carbon Charts component library for React
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.
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
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.