# c3

> D3-based reusable chart library

Latest version **0.7.20** (published 2020-08-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install c3
pnpm add c3
yarn add c3
bun add c3
```

## Health

**Score 38/100 (D)** — status: abandoned.

Positive: has types package; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.7.20 |
| Published | 2020-08-08 |
| First published | 2012-04-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/c3) |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.4 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9350 |
| Maintainers | kt3k, masayuki0812 |
| Keywords | d3, chart, graph |

## Links

- npm: https://www.npmjs.com/package/c3
- Repository: https://github.com/c3js/c3
- Homepage: https://github.com/c3js/c3#readme
- Issues: https://github.com/c3js/c3/issues
- npm.io page: https://npm.io/package/c3

## Dependencies (1)

- [d3](https://npm.io/package/d3.md) ^5.8.0

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 0.7.20 (latest) — 2020-08-08
- 0.7.19 — 2020-08-08
- 0.7.18 — 2020-06-16
- 0.7.17 — 2020-06-15
- 0.7.16 — 2020-06-15
- 0.7.15 — 2020-02-27
- 0.7.14 — 2020-02-24
- 0.7.13 — 2020-02-05
- 0.7.12 — 2020-01-13
- 0.4.24 — 2019-11-16
- 0.7.11 — 2019-10-04
- 0.7.10 — 2019-10-02
- 0.7.9 — 2019-09-23
- 0.7.8 — 2019-08-25
- 0.7.7 — 2019-08-25
- … 52 more at https://npm.io/package/c3/versions

## README

# c3

[![CircleCI](https://circleci.com/gh/c3js/c3.svg?style=shield)](https://circleci.com/gh/c3js/c3)
[![license](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](https://github.com/c3js/c3/blob/master/LICENSE)
[![codecov.io](https://codecov.io/github/c3js/c3/coverage.svg?branch=master)](https://codecov.io/github/c3js/c3?branch=master)

[![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/c3/badge?style=rounded)](https://www.jsdelivr.com/package/npm/c3)

> c3 is a D3-based reusable chart library that enables deeper integration of charts into web applications.

Follow the link for more information: [http://c3js.org](http://c3js.org/)

## Documentation

+ [Getting Started](http://c3js.org/gettingstarted.html)
+ [Examples](http://c3js.org/examples.html)
+ [Full API Reference](https://c3js.org/reference.html)

Additional samples can be found in this repository:
+ [https://github.com/c3js/c3/tree/master/htdocs/samples](https://github.com/c3js/c3/tree/master/htdocs/samples)

You can run these samples as:
```
$ npm run serve-static
```

## Google Group
For general C3.js-related discussion, please visit our [Google Group at https://groups.google.com/forum/#!forum/c3js](https://groups.google.com/forum/#!forum/c3js).

## Gitter
[![Join the chat at https://gitter.im/c3js/c3](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/c3js/c3?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

## Using the issue queue
The [issue queue](https://github.com/c3js/c3/issues) is to be used for reporting defects and problems with C3.js, in addition to feature requests and ideas. It is **not** a catch-all support forum. **For general support enquiries, please use the [Google Group](https://groups.google.com/forum/#!forum/c3js) at https://groups.google.com/forum/#!forum/c3js.** All questions involving the interplay between C3.js and any other library (such as AngularJS) should be posted there first!

Before reporting an issue, please do the following:

1. [Search for existing issues](https://github.com/c3js/c3/issues) to ensure you're not posting a duplicate.

1.  [Search the Google Group](https://groups.google.com/forum/#!forum/c3js) to ensure it hasn't been addressed there already.

1. Create a JSFiddle or Plunkr highlighting the issue. Please don't include any unnecessary dependencies so we can isolate that the issue is in fact with C3. *Please be advised that custom CSS can modify C3.js output!*

1. When posting the issue, please use a descriptive title and include the version of C3 (or, if cloning from Git, the commit hash — C3 is under active development and the master branch contains the latest dev commits!), along with any platform/browser/OS information that may be relevant.

## Pull requests
Pull requests are welcome, though please post an issue first to see whether such a change is desirable.
If you choose to submit a pull request, please do not bump the version number unless asked to, and please include test cases for any new features. Squash all your commits as well, please.

## Playground
Please fork this fiddle:

+ http://jsfiddle.net/7kYJu/4742/

## Dependency

+ [D3.js](https://github.com/mbostock/d3) `^5.0.0`

## License

MIT

---
_Source: https://npm.io/package/c3 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
