# borisyankov/react-sparklines

Beautiful and expressive Sparklines React component

Repository: https://github.com/borisyankov/react-sparklines
Canonical: https://ross.abutalabs.com/products/react-sparklines
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2024-09-21T08:39:00+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4085, "days_push": 711, "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 2850, forks 194 (observed 2026-08-28T04:07:25.632191+00:00)

## What it is
A lightweight React component library for rendering sparklines (small inline charts) as SVG. It supports lines, bars, spots, reference lines, and normal bands with customizable styling and responsive scaling.

## Use cases
- render tiny inline charts in a React dashboard
- show a sparkline of stock prices in a table row
- add mini bar charts to a metrics panel
- display trend lines next to KPI numbers
- draw a reference line for the mean in a small chart

## When to choose
- you need small, simple sparklines in a React app without pulling in a full charting library
- you want lightweight SVG charts that scale responsively
- you need basic line, bar, and spot visualizations with minimal configuration

## When to avoid
- you need complex interactive charts with tooltips, zooming, or axes
- you are not using React
- you need a full-featured charting solution like time-series dashboards

## Facets
- artifact type: library
- maturity: maintenance
- function: data-visualization, charts, ui-components
- domain: data-visualization, frontend, web-development
- platform: cross-platform
- tags: react, sparklines, svg, charts, react-component, nodejs, web-server

## Member repositories
- borisyankov/react-sparklines (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:25.632191+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-30T07:36:54.741493+00:00, confidence not recorded.
  - readme: https://github.com/borisyankov/react-sparklines (fetched 2026-08-28T04:07:25.632191+00:00, sha 7604c1d939ce)
  - registry_npm: https://registry.npmjs.org/react-sparklines (fetched 2026-08-29T09:52:46.525853+00:00, sha a32f42ea0f56)
- Data as of 2026-08-30T08:39:29.467469+00:00.
