{
  "id": "histogram",
  "name": "Histogram",
  "family": "spread",
  "tier": "free",
  "summary": "Use a histogram to show the shape of one distribution: how many items fall in each equal-width bin, with the median marked.",
  "title": "Half of last month's recorded earthquakes were weaker than magnitude 3.9",
  "subtitle": "Earthquakes of magnitude 2.5 or more recorded by USGS, 1 November to 1 December 2026",
  "howToRead": "Each bar counts the quakes in a 0.1 band of magnitude; the dashed line is the median and the darker bars on the right are magnitude 5 or more.",
  "useWhen": [
    "one measure across many items (a hundred or more)",
    "the shape matters: peaks, skew, gaps, long tails",
    "you want to mark a centre such as the median"
  ],
  "avoidWhen": [
    "fewer than about 30 items (use a strip plot or dot histogram)",
    "you need to compare several groups (use a box plot, violin or ridgeline)",
    "the values are categories, not numbers (use bars)"
  ],
  "fields": [
    {
      "name": "from",
      "type": "date",
      "description": "first day of the period"
    },
    {
      "name": "to",
      "type": "date",
      "description": "last day of the period"
    },
    {
      "name": "magnitudes",
      "type": "number",
      "description": "one magnitude per earthquake, to 0.1",
      "unit": "magnitude",
      "format": "decimal"
    }
  ],
  "hints": {
    "threshold": 5
  },
  "interactions": [
    "hover or tap a bar to read its count and share"
  ],
  "motion": "Bars rise from the baseline left to right, then the median line fades in.",
  "sound": "A soft pop on hover, pitched by magnitude. Quiet while it draws and between steps; mute it from its card.",
  "annotations": [
    {
      "type": "underline",
      "words": "magnitude 3.9",
      "in": "title"
    }
  ],
  "tags": [
    "distribution",
    "bins",
    "earthquakes",
    "median",
    "skew",
    "frequency"
  ],
  "mobile": "adapts",
  "mobileNote": "Draws its own phone layout below 520px",
  "mobileChecked": "2026-12-02",
  "ratios": [
    "16:9"
  ],
  "bestRatio": "16:9",
  "source": {
    "title": "Earthquake Hazards Program: magnitude 2.5+ earthquakes, past 30 days",
    "publisher": "U.S. Geological Survey",
    "url": "https://earthquake.usgs.gov/earthquakes/feed/v1.0/csv.php",
    "license": "Public domain (U.S. Government)",
    "retrieved": "2026-12-01"
  },
  "note": "The feed records small quakes completely in the United States but few below magnitude 4 elsewhere, so the left side undercounts the world's small quakes."
}