{
  "id": "time-curve",
  "name": "Time curve",
  "family": "time",
  "tier": "pro",
  "summary": "Use a time curve to show how a many-sided state drifts, stalls or loops back: each moment is a point, and similar moments sit close together.",
  "title": "Germany's power mix moved away from coal, then looped back in 2021 and 2022",
  "subtitle": "Germany's electricity by source (coal, gas, nuclear, wind, solar, hydro, bioenergy, oil), each year's mix as one point, 1990 to 2025",
  "howToRead": "Each dot is one year's mix of eight sources; the line joins the years in order, and dots close together had similar mixes.",
  "useWhen": [
    "each moment has many measures and the overall state matters",
    "you suspect the state returns to earlier ones (cycles, reversals)",
    "the pace of change matters: long jumps are big changes"
  ],
  "avoidWhen": [
    "readers need the value of any one measure (use lines or a stacked area)",
    "the audience can't be told the axes have no units",
    "only one or two measures (use a connected scatter)"
  ],
  "fields": [
    {
      "name": "sources",
      "type": "category",
      "description": "the eight electricity sources, in the order of shares"
    },
    {
      "name": "years[].year",
      "type": "year",
      "description": "the year"
    },
    {
      "name": "years[].shares",
      "type": "number",
      "description": "% of electricity from each source that year",
      "unit": "%",
      "format": "percent"
    }
  ],
  "interactions": [
    "hover or tap a dot to read that year's three biggest sources and how much the mix moved",
    "Play walks a ring along the curve year by year"
  ],
  "motion": "The curve draws itself through time, with each year's dot appearing as the line reaches it, then arrows show the direction.",
  "sound": "A pop on hover. Quiet while it draws and between steps; mute it from its card.",
  "annotations": [
    {
      "type": "underline",
      "words": "looped back",
      "in": "title"
    }
  ],
  "tags": [
    "time curve",
    "trajectory",
    "state space",
    "MDS",
    "energy",
    "electricity",
    "Germany"
  ],
  "mobile": "desktop",
  "mobileNote": "3 labels are cut off at the drawing's edge",
  "mobileChecked": "2026-12-02",
  "ratios": [
    "16:9"
  ],
  "bestRatio": "16:9",
  "source": {
    "title": "Share of electricity production by source",
    "publisher": "Our World in Data (Ember; Energy Institute Statistical Review of World Energy)",
    "url": "https://ourworldindata.org/grapher/share-elec-by-source",
    "license": "CC BY 4.0",
    "retrieved": "2026-12-01"
  },
  "note": "Positions come from classical multidimensional scaling of the eight shares, computed in the chart; only distances between dots mean anything.",
  "reference": {
    "title": "Time Curves: Folding Time to Visualize Patterns of Temporal Evolution in Data",
    "author": "Benjamin Bach, Conglei Shi, Nicolas Heulot, Tara Madhyastha, Tom Grabowski, Pierre Dragicevic",
    "url": "https://aviz.fr/~bbach/timecurves/"
  }
}