Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@carbon/charts

Package Overview
Dependencies
Maintainers
2
Versions
544
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@carbon/charts

Carbon Charts component library

  • 1.14.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
30K
decreased by-4.54%
Maintainers
2
Weekly downloads
 
Created
Source

Carbon Charts

Carbon Charts is a component library for vanilla JavaScript. Chart visualizations are based on D3.js, a peer dependency.

The required styles should be imported from @carbon/charts/dist/styles.css. Additional documentation is provided in the Storybook demos.

Getting started

Run the following command using npm:

npm install -S @carbon/charts d3 d3-cloud d3-sankey

If you prefer Yarn, use the following command instead:

yarn add @carbon/charts d3 d3-cloud d3-sankey

Step-by-step instructions

Read Getting Started

Storybook and StackBlitz Examples

Live examples.

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 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.

Keywords

FAQs

Package last updated on 13 Feb 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc