# c3js/c3

:bar_chart: A D3-based reusable chart library

Repository: https://github.com/c3js/c3
Canonical: https://ross.abutalabs.com/products/c3
Homepage: http://c3js.org
Language: JavaScript
License: MIT
License Family: permissive
Topics: chart, d3, graphics, data-visualization, svg, graph, interactive-visualizations
Last push: 2026-08-05T08:50:36+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 8, longevity 100
- inputs: {"age_days": 4794, "days_push": 28, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9348, forks 1362 (observed 2026-08-28T04:10:30.774774+00:00)

## What it is
C3 is a D3-based reusable chart library for generating interactive SVG charts in web applications. It wraps D3 code behind a simple API with extensive customization options, callbacks, and post-render update methods.

## Use cases
- add interactive charts to a web app without writing raw D3
- create line, bar, and pie charts from JSON data
- build dashboards with customizable SVG visualizations
- update chart data dynamically after rendering
- style chart elements with CSS classes
- add zoomable and stackable charts to a frontend

## When to choose
- you want D3-quality charts with a much simpler API
- you need charts that can be updated and controlled after render
- you want to extend chart internals directly with D3
- you need a lightweight MIT-licensed charting library

## When to avoid
- you need a library with frequent releases and active development (last release was 2020)
- you want React/Vue-native chart components
- you need chart types outside C3's supported set
- you prefer a more modern alternative like Chart.js or ECharts

## Facets
- artifact type: library
- maturity: maintenance
- function: data-visualization, charts
- domain: data-visualization, frontend, web-development
- platform: browser
- tags: d3, svg, charting, interactive-visualizations, nodejs, javascript

## Member repositories
- c3js/c3 (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:30.774774+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:22:27.012794+00:00, confidence not recorded.
  - readme: https://github.com/c3js/c3 (fetched 2026-08-28T04:10:30.774774+00:00, sha ba203c6f77ee)
  - homepage: http://c3js.org (fetched 2026-08-29T08:22:39.416021+00:00, sha d46d92129409)
  - registry_npm: https://registry.npmjs.org/c3 (fetched 2026-08-29T08:22:39.425407+00:00, sha 7668e930f0b3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
