Skip to content

spec: add sparkline-basic specification#1025

Merged
github-actions[bot] merged 1 commit intomainfrom
specification/sparkline-basic
Dec 15, 2025
Merged

spec: add sparkline-basic specification#1025
github-actions[bot] merged 1 commit intomainfrom
specification/sparkline-basic

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

New Specification: sparkline-basic

Closes #1011


specification.md

sparkline-basic: Basic Sparkline

Description

A sparkline is a small, condensed line chart designed to be embedded inline with text or in dashboard cells. It shows trends at a glance without axes, labels, or detailed scales - pure data visualization in minimal space. The defining characteristic is extreme minimalism: a single continuous line that conveys the shape of data without any chart chrome.

Applications

  • Dashboard KPI trend indicators showing metric changes over time
  • Inline stock price trends embedded in financial tables or reports
  • Table cells displaying metric history for quick comparison across rows
  • Small multiples for comparing many series side-by-side

Data

  • values (numeric array) - Sequential values representing the trend to display
  • Size: 10-100 data points (enough to show meaningful trends while staying compact)
  • Example: Daily sales figures, hourly temperature readings, stock closing prices

Notes

  • No axes, labels, or gridlines - pure visualization
  • Compact aspect ratio (wide and short, typically 4:1 to 8:1)
  • Optional: highlight min/max points with colored dots
  • Optional: highlight first/last points for reference
  • Optional: fill under line for area effect
  • Line should be thin and clean for clarity at small sizes

Next: Add approved label to the issue to merge this PR.


🤖 spec-create workflow

@MarkusNeusinger MarkusNeusinger added the approved Approved for implementation label Dec 15, 2025
@github-actions github-actions Bot merged commit 633884e into main Dec 15, 2025
5 checks passed
@github-actions github-actions Bot deleted the specification/sparkline-basic branch December 15, 2025 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Approved for implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[sparkline-basic] Basic Sparkline

1 participant