Skip to content
Sections
Fiesta

sparkline

Display The small pieces of vocabulary a screen is assembled from: status, identity, progress, data tables and charts, and the one alert shape.

A small line beside its caption. The caption gives the period and describes what the line shows, since screen readers cannot read the line itself.

Each example is live, but its links go nowhere. HTML shows the markup to copy.

Rising, with a dip

Preview
<figure rst-spark>
  <svg viewBox="0 0 100 24" preserveAspectRatio="none" aria-hidden="true" focusable="false"><polyline rst-chart-line points="0,24 14.3,21.5 28.6,18.1 42.9,18.9 57.1,12.6 71.4,3.4 85.7,1.7 100,0"/><path rst-chart-ring d="M100 0h0"/><path rst-chart-dot d="M100 0h0"/></svg>
  <figcaption>
    <strong>Last 8 weeks</strong> Sales rose from 120 to 690, with a dip in week 4.</figcaption>
</figure>