# metricsgraphics/metrics-graphics

A library optimized for concise and principled data graphics and layouts.

Repository: https://github.com/metricsgraphics/metrics-graphics
Canonical: https://ross.abutalabs.com/products/metrics-graphics
Homepage: http://metricsgraphicsjs.org
Language: TypeScript
License Family: other
Last push: 2022-05-31T15:05:59+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4507, "days_push": 1555, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7395, forks 461 (observed 2026-08-28T04:09:59.653664+00:00)

## What it is
MetricsGraphics is a lightweight (~15kB gzipped) TypeScript charting library built on D3, optimized for visualizing time-series data with line charts, scatterplots, and histograms. It provides a simple, principled API for producing consistent and responsive data graphics in the browser.

## Use cases
- plot time-series data as line charts in a web page
- create scatterplots and histograms with a simple API
- add rug plots and area charts to dashboards
- render lightweight responsive charts without heavy charting frameworks
- visualize metrics data consistently across a site

## When to choose
- you need small, principled time-series charts with minimal bundle size
- you want a simple declarative API on top of D3 for common chart types
- your project uses TypeScript and modern ES module imports

## When to avoid
- you need many chart types beyond lines, scatterplots, and histograms
- you require highly customized or interactive enterprise-grade charting
- you need a library with frequent releases and active maintenance

## Facets
- artifact type: library
- maturity: maintenance
- function: data-visualization, charts
- domain: data-visualization, frontend, web-development
- platform: browser, cross-platform
- tags: d3, time-series, line-chart, scatterplot, histogram, typescript, svg-charts, nodejs

## Member repositories
- metricsgraphics/metrics-graphics (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:59.653664+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:38:04.537268+00:00, confidence not recorded.
  - readme: https://github.com/metricsgraphics/metrics-graphics (fetched 2026-08-28T04:09:59.653664+00:00, sha 3b6a8b560130)
  - homepage: http://metricsgraphicsjs.org (fetched 2026-08-29T08:33:42.414686+00:00, sha 40c248ebc75c)
  - registry_npm: https://registry.npmjs.org/metrics-graphics (fetched 2026-08-29T08:33:42.417236+00:00, sha 341a0b6bc577)
- Data as of 2026-08-30T08:39:29.467469+00:00.
