{
  "id": "state-transitions",
  "name": "State transitions",
  "family": "flow",
  "tier": "pro",
  "summary": "Use a state-transition diagram to show a transition matrix as arrows: how likely each state is to lead to each other state next.",
  "title": "In Seattle, three dry days in four are followed by another dry day",
  "subtitle": "What tomorrow brings, given today's weather, Seattle–Tacoma airport, every day 2016–2025",
  "howToRead": "Each circle is a kind of day, sized by how often it happened; an arrow's width is the chance the next day is the state it points to, and loops mean the weather stayed the same.",
  "useWhen": [
    "you have a transition matrix or a Markov chain",
    "there are 2 to 6 states",
    "persistence (staying put) matters as much as change"
  ],
  "avoidWhen": [
    "there are many states (use a heatmap of the matrix)",
    "transitions depend on more than the current state",
    "you need the sequence itself, not the odds (use a timeline)"
  ],
  "fields": [
    {
      "name": "states",
      "type": "category",
      "description": "the kinds of day, in ink order"
    },
    {
      "name": "definitions",
      "type": "text",
      "description": "how each state is defined from the measurements"
    },
    {
      "name": "days",
      "type": "number",
      "description": "days in each state",
      "unit": "days",
      "format": "count"
    },
    {
      "name": "counts",
      "type": "number",
      "description": "counts[a][b]: days in state a followed by a day in state b",
      "unit": "days",
      "format": "count"
    },
    {
      "name": "years",
      "type": "year",
      "description": "first and last year counted"
    }
  ],
  "hints": {
    "step": "day"
  },
  "interactions": [
    "hover or tap an arrow to read the chance and the count",
    "hover a state to light where it leads"
  ],
  "motion": "The states pop up, then each arrow draws itself from today to tomorrow.",
  "sound": "A pop on hover pitched by the next state. Quiet while it draws and between steps; mute it from its card.",
  "annotations": [
    {
      "type": "underline",
      "words": "three dry days in four",
      "in": "title"
    }
  ],
  "tags": [
    "Markov chain",
    "transition matrix",
    "states",
    "weather",
    "rain",
    "probability",
    "climate"
  ],
  "mobile": "adapts",
  "mobileNote": "Draws its own phone layout below 520px",
  "mobileChecked": "2026-12-02",
  "ratios": [],
  "bestRatio": "9:16",
  "source": {
    "title": "Global Historical Climatology Network daily, station USW00024233 (Seattle–Tacoma International Airport)",
    "publisher": "NOAA National Centers for Environmental Information",
    "url": "https://www.ncei.noaa.gov/products/land-based-station/global-historical-climatology-network-daily",
    "license": "Public domain (US government)",
    "retrieved": "2026-12-01"
  },
  "note": "A day is Snowy if any snow fell; otherwise Dry (no measurable rain; a trace counts as dry), Showery (0.1–4.9 mm) or Rainy (5 mm or more). Six days with no precipitation record are skipped."
}