Best Data Viz
Time Series

Sparkline

Tiny inline chart with no axes that shows trend in the context of text or tables.

Weekly Trend

Compact inline view

View data (8 rows)
Chart data table: Weekly Trend
DayValue
Mon42
Tue45
Wed40
Thu48
Fri52
Sat55
Sun50
Mon258
Make a sparkline with your data

Use a sparkline when…

  • Inline trend indicators
  • Dashboard KPI cards
  • Tables with trend columns

Avoid when…

  • When exact values matter
  • Standalone visualization

Data it needs

PropertyValue
Min Rows5
Min Columns2
Column Types
datenumber

Visual anatomy

Marks
line
Channels
position-xposition-y
Axes
-

Guiding principles

Consider instead

Common mistakes

  • Adding axes to a sparkline (defeats the purpose)

  • Using for unordered data

History

Concept defined by Edward Tufte in Beautiful Evidence (2006) as 'datawords.'

Accessibility notes

Provide a one-line text/sr-only trend summary alongside the visual (e.g., 'rising, latest 58, +38% over 8 days'); without axes the screen-reader has nothing else to grab onto.

Related reading

Got data? Let's see what works.

Drop your CSV. You'll get a Sparkline plus four alternatives - ranked by which one actually fits your data best.