# robinhood/spark

A simple Android sparkline chart view.

Repository: https://github.com/robinhood/spark
Canonical: https://ross.abutalabs.com/products/robinhood-spark
Language: Java
License: Apache-2.0
License Family: permissive
Topics: android, sparkline, chart, graph
Last push: 2023-11-23T18:01:48+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": 3827, "days_push": 1014, "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 1275, forks 160 (observed 2026-08-28T04:04:12.866686+00:00)

## What it is
Spark is a lightweight Android UI library that draws sparkline charts—small, axis-free line graphs showing the general shape of a data series. Developers add a SparkView to their layout, feed it data through a SparkAdapter, and get sensible defaults with extensive theming and touch-scrubbing support.

## Use cases
- draw a sparkline chart in an android app
- render a tiny line graph without axes on android
- show stock price or portfolio trends in a mobile app
- visualize a time series as a compact chart in an android layout
- add a lightweight chart widget without pulling in a full charting library
- display the general shape of sensor or metric data on android

## When to choose
- You need a minimal, dependency-light sparkline view for Android rather than a heavyweight charting framework
- You want charts that match your app theme via XML styles and programmatic overrides
- You only need to convey the overall shape of a series, with optional scrub-line interaction

## When to avoid
- You need full-featured charts with axes, labels, legends, tooltips, multiple series, or many chart types
- You are not developing for Android
- You need complex interactions like pan/zoom or animated transitions beyond simple scrubbing

## Facets
- artifact type: library
- maturity: maintenance
- function: charts, ui-components, data-visualization
- domain: mobile-development, data-visualization, android-tools
- platform: -
- tags: sparkline, android-view, java, line-chart, theming, scrubbing, custom-view, finance-ui, android, mobile

## Member repositories
- robinhood/spark (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:12.866686+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-30T05:03:03.547293+00:00, confidence not recorded.
  - readme: https://github.com/robinhood/spark (fetched 2026-08-28T04:04:12.866686+00:00, sha a5119df30a14)
- Data as of 2026-08-30T08:39:29.467469+00:00.
