# unsplash/react-trend

📈 Simple, elegant spark lines

Repository: https://github.com/unsplash/react-trend
Canonical: https://ross.abutalabs.com/products/react-trend
Homepage: https://unsplash.github.io/react-trend/
Language: JavaScript
License: MIT
License Family: permissive
Topics: reactjs, react, data-visualization, graphs, svg, graphing
Archived: true
Last push: 2019-06-02T12:55:19+00:00

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

## Adoption (not part of the score)
Stars 2481, forks 74 (observed 2026-08-28T04:06:55.320141+00:00)

## What it is
React Trend is a tiny, zero-dependency React component for rendering elegant SVG spark lines showing data trends. It supports gradients, smoothing, and draw-on-mount animations while staying under 3kb gzipped.

## Use cases
- add a sparkline to a dashboard
- show a trend graph of recent activity like GitHub
- render a small svg line chart in react
- display analytics trends without a heavy charting library
- animate a line drawing on mount

## When to choose
- you need a simple spark line, not a full charting library
- bundle size matters and you want zero dependencies
- you want quick gradient and smoothing customization in React

## When to avoid
- you need axes, tooltips, or interactive charts
- you need a maintained library with active support
- you're not using React

## Facets
- artifact type: library
- maturity: abandoned
- function: data-visualization, ui-components
- domain: data-visualization, frontend, web-development
- platform: browser
- tags: react, sparkline, svg, charts, trend-graph, nodejs

## Member repositories
- unsplash/react-trend (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:55.320141+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-30T02:28:14.963622+00:00, confidence not recorded.
  - readme: https://github.com/unsplash/react-trend (fetched 2026-08-28T04:06:55.320141+00:00, sha 7198db35d996)
  - homepage: https://unsplash.github.io/react-trend/ (fetched 2026-08-29T10:10:12.447871+00:00, sha d413f0239362)
  - registry_npm: https://registry.npmjs.org/react-trend (fetched 2026-08-29T10:10:12.456759+00:00, sha 626ad010307b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
