{
  "id": "sparkline-sentence",
  "name": "Sparklines in a sentence",
  "family": "time",
  "tier": "pro",
  "summary": "Use sparklines in a sentence to put a trend right beside the words that describe it, word-sized and on one shared scale.",
  "title": "Solar went from almost nothing to more than a fifth of Chile's electricity",
  "subtitle": "Share of electricity generated from solar, %, 2010 to 2024",
  "howToRead": "Each tiny line beside a name is that country's solar share from 2010 to 2024, all on the same scale.",
  "useWhen": [
    "the text carries the story and the trend backs it up",
    "a few series, each named in the prose",
    "space is tight, as in a report or a post"
  ],
  "avoidWhen": [
    "readers must read exact values off the lines",
    "more than about 8 sparklines in one paragraph",
    "the series have different units"
  ],
  "fields": [
    {
      "name": "years",
      "type": "year",
      "description": "the shared time axis"
    },
    {
      "name": "series[].name",
      "type": "category",
      "description": "the country or the world"
    },
    {
      "name": "series[].values",
      "type": "number",
      "description": "% of electricity from solar, one per year",
      "unit": "%",
      "format": "percent"
    }
  ],
  "interactions": [
    "hover or tap a sparkline to read its first and last value and its biggest jump"
  ],
  "motion": "Each sparkline draws on in reading order, with its end dot landing last.",
  "sound": "No sound of its own: quiet while it draws and between steps; mute it from its card.",
  "annotations": [
    {
      "type": "underline",
      "words": "a fifth",
      "in": "title"
    }
  ],
  "tags": [
    "sparkline",
    "inline chart",
    "word-sized",
    "text",
    "energy",
    "solar"
  ],
  "mobile": "adapts",
  "mobileNote": "Draws its own phone layout below 520px",
  "mobileChecked": "2026-12-02",
  "ratios": [],
  "bestRatio": "9:16",
  "source": {
    "title": "Share of electricity generated by solar power",
    "publisher": "Our World in Data (Ember; Energy Institute Statistical Review of World Energy)",
    "url": "https://ourworldindata.org/grapher/share-electricity-solar",
    "license": "CC BY 4.0",
    "retrieved": "2026-12-01"
  },
  "reference": {
    "title": "Sparklines: theory and practice",
    "author": "Edward Tufte",
    "url": "https://www.edwardtufte.com/notebook/sparkline-theory-and-practice-edward-tufte/"
  }
}