# swimlane/ngx-charts

:bar_chart: Declarative Charting Framework for Angular

Repository: https://github.com/swimlane/ngx-charts
Canonical: https://ross.abutalabs.com/products/ngx-charts
Homepage: https://swimlane.github.io/ngx-charts/
Language: TypeScript
License: MIT
License Family: permissive
Topics: chart, dataviz, d3, angular, angular2, svg, angular-components, d3js, hacktoberfest
Last push: 2026-08-13T02:44:33+00:00

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

## Adoption (not part of the score)
Stars 4362, forks 1165 (observed 2026-08-28T04:08:46.575550+00:00)

## What it is
A declarative charting framework for Angular that renders SVG charts using Angular's rendering engine while leveraging d3 for math, scales, and shape generation. It supports many chart types including bar, line, area, pie, donut, gauge, heatmap, treemap, and Sankey diagrams with customizable CSS styling.

## Use cases
- add charts to an Angular dashboard
- render bar and line charts from data in Angular
- build interactive data visualizations with SVG
- create stacked or grouped bar charts in Angular
- show real-time updating charts
- build a Sankey diagram or treemap in a web app

## When to choose
- you are building an Angular application and need charts
- you want Angular-native rendering with AoT/SSR support instead of a wrapped chart engine
- you need a wide variety of chart types with CSS-customizable styling

## When to avoid
- your project uses React, Vue, or another non-Angular framework
- you need canvas-based rendering for very large datasets
- you need a framework-agnostic charting library

## Facets
- artifact type: library
- maturity: maintenance
- function: data-visualization, charts, ui-components
- domain: data-visualization, frontend, web-development
- platform: cross-platform
- tags: angular, d3, svg, charting, declarative, typescript, web-server, nodejs

## Member repositories
- swimlane/ngx-charts (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:46.575550+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-29T18:21:26.965269+00:00, confidence not recorded.
  - readme: https://github.com/swimlane/ngx-charts (fetched 2026-08-28T04:08:46.575550+00:00, sha 74faffb1b626)
  - homepage: https://swimlane.github.io/ngx-charts/ (fetched 2026-08-29T09:10:10.444194+00:00, sha 7df72b1e5e56)
  - registry_npm: https://registry.npmjs.org/ngx-charts (fetched 2026-08-29T09:10:10.453627+00:00, sha ce270655138f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
