{
  "name": "Chartreuse",
  "version": "0.1.0",
  "count": 202,
  "families": {
    "compare": "Values per item",
    "parts": "Shares of a total",
    "time": "Values over time",
    "relationships": "Several measures per item",
    "spread": "Many values of one measure",
    "flow": "Movement between stages",
    "hierarchy": "Groups within groups",
    "maps": "Values by place",
    "scale": "One very big or small number",
    "text": "Words and text"
  },
  "charts": [
    {
      "id": "archipelago",
      "name": "Archipelago",
      "family": "compare",
      "tier": "pro",
      "summary": "Use an archipelago to make sizes feel like places: each item is an island whose land area is its value.",
      "useWhen": [
        "a playful, memorable view of 5 to 20 sizes",
        "the gap between the biggest and the rest is the story",
        "an explainer video needs a world to fly through"
      ],
      "avoidWhen": [
        "readers must compare close values exactly (use sorted bars)",
        "the items have no sense of size",
        "more than about 20 items"
      ],
      "fields": [
        {
          "name": "country",
          "type": "category",
          "description": "the island's name"
        },
        {
          "name": "population",
          "type": "number",
          "description": "people; sets the island's area",
          "unit": "people",
          "format": "count"
        }
      ],
      "tags": [
        "fantasy map",
        "fantasy cartography",
        "imagined",
        "islands",
        "size",
        "playful",
        "population"
      ],
      "mobile": "works",
      "mobileNote": "Reads on a 390px phone as drawn",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/archipelago",
      "markdown": "/charts/archipelago.md",
      "manifest": "/charts/archipelago.json"
    },
    {
      "id": "back-to-back-bars",
      "name": "Back-to-back bars",
      "family": "compare",
      "tier": "free",
      "summary": "Use back-to-back bars (a population pyramid) to compare two groups across the same ordered categories, mirrored on a shared spine.",
      "useWhen": [
        "two groups share the same ordered categories (ages, income bands, survey answers)",
        "the shape of each side tells the story",
        "comparing the two sides row by row"
      ],
      "avoidWhen": [
        "more than two groups",
        "the categories have no order",
        "the exact difference between sides matters most (plot the difference)"
      ],
      "fields": [
        {
          "name": "Japan",
          "series": true,
          "type": "id",
          "description": "one group's list of { age, men, women }, first row at the bottom (Japan in the example; any names, one chip each)"
        },
        {
          "name": "Nigeria",
          "series": true,
          "type": "id",
          "description": "another group's list of { age, men, women } (Nigeria in the example)"
        },
        {
          "name": "age",
          "type": "category",
          "description": "the ordered row (a five-year age group in the example)"
        },
        {
          "name": "men",
          "type": "number",
          "description": "the left side's value (men in the example, people); its name is hints.sides[0]",
          "unit": "people",
          "format": "count"
        },
        {
          "name": "women",
          "type": "number",
          "description": "the right side's value (women in the example, people); its name is hints.sides[1]",
          "unit": "people",
          "format": "count"
        }
      ],
      "tags": [
        "population pyramid",
        "back to back",
        "butterfly chart",
        "mirror",
        "age",
        "population",
        "demography"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/back-to-back-bars",
      "markdown": "/charts/back-to-back-bars.md",
      "manifest": "/charts/back-to-back-bars.json"
    },
    {
      "id": "big-number",
      "name": "Big number",
      "family": "compare",
      "tier": "free",
      "summary": "Use a big number when one value is the story: state it large, show its change, and keep a small trend for context.",
      "useWhen": [
        "one number matters more than any chart of it",
        "the change since last time is the second message",
        "a dashboard tile, a slide or the opening of a video"
      ],
      "avoidWhen": [
        "several numbers compete for attention (use a ranked table or bars)",
        "the trend is the story (lead with a line chart)",
        "the number means little without its comparison"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year"
        },
        {
          "name": "ppm",
          "type": "number",
          "description": "annual mean CO₂ mole fraction, parts per million",
          "unit": "ppm",
          "format": "decimal"
        }
      ],
      "tags": [
        "big number",
        "KPI",
        "headline figure",
        "stat tile",
        "carbon dioxide",
        "climate",
        "Keeling curve"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/big-number",
      "markdown": "/charts/big-number.md",
      "manifest": "/charts/big-number.json"
    },
    {
      "id": "block-tower",
      "name": "Block tower",
      "family": "compare",
      "tier": "pro",
      "summary": "Use a block tower to show heights or totals as stacks of equal blocks, so readers can count units as well as compare heights.",
      "useWhen": [
        "values that are heights, counts or totals people can picture as stacks",
        "5 to 12 items, in up to six colour groups (more share an \"other\" colour)",
        "a unit (a block, a storey) helps people feel the size"
      ],
      "avoidWhen": [
        "values differ by orders of magnitude (the small stacks vanish)",
        "values can be negative",
        "a precise comparison of close values is the point"
      ],
      "fields": [
        {
          "name": "building",
          "type": "category",
          "description": "each tower's label (the building name)"
        },
        {
          "name": "city",
          "type": "place",
          "description": "optional: a short note under the label (the city)",
          "optional": true
        },
        {
          "name": "country",
          "type": "place",
          "description": "optional: the colour group (the country); short names for the key in the hint short",
          "optional": true
        },
        {
          "name": "heightM",
          "type": "number",
          "sign": "non-negative",
          "description": "architectural height, metres",
          "unit": "m",
          "format": "count"
        },
        {
          "name": "floors",
          "type": "number",
          "sign": "non-negative",
          "description": "optional: floors above ground, for the tooltip",
          "unit": "floors",
          "format": "count",
          "optional": true
        },
        {
          "name": "built",
          "type": "year",
          "description": "optional: year completed, for the tooltip (after the hint builtWord)",
          "optional": true
        }
      ],
      "tags": [
        "stacked units",
        "height",
        "isotype",
        "cities",
        "architecture",
        "skyscrapers"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/block-tower",
      "markdown": "/charts/block-tower.md",
      "manifest": "/charts/block-tower.json"
    },
    {
      "id": "bubble-pit",
      "name": "Bubble pit",
      "family": "compare",
      "tier": "pro",
      "summary": "Use a bubble pit to show sizes as bubbles readers can grab: each item is a bubble whose area is its value, and they tumble, stack and bump like real balls.",
      "useWhen": [
        "a playful look at 5 to 20 sizes",
        "the two or three biggest items dominate",
        "a touch screen or a talk where people can play with the data"
      ],
      "avoidWhen": [
        "readers must compare close values (use sorted bars)",
        "positions should mean something (bubbles land where physics puts them)",
        "more than about 25 items"
      ],
      "fields": [
        {
          "name": "world.users",
          "type": "number",
          "description": "internet users worldwide",
          "unit": "people",
          "format": "count"
        },
        {
          "name": "world.year",
          "type": "year",
          "description": "year of the world total"
        },
        {
          "name": "countries[].country",
          "type": "place",
          "description": "country"
        },
        {
          "name": "countries[].users",
          "type": "number",
          "description": "people using the internet",
          "unit": "people",
          "format": "count"
        },
        {
          "name": "countries[].year",
          "type": "year",
          "description": "latest year with data"
        }
      ],
      "tags": [
        "physics",
        "Matter.js",
        "bubbles",
        "drag",
        "size",
        "internet",
        "technology"
      ],
      "mobile": "desktop",
      "mobileNote": "9 labels overlap on a phone",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/bubble-pit",
      "markdown": "/charts/bubble-pit.md",
      "manifest": "/charts/bubble-pit.json"
    },
    {
      "id": "bullet-chart",
      "name": "Bullet chart",
      "family": "compare",
      "tier": "free",
      "summary": "Use a bullet chart to show a value against a target, with shaded bands that say how good or bad it is.",
      "useWhen": [
        "each value has a target or threshold to meet",
        "there are meaningful qualitative ranges (poor, fair, good)",
        "space is tight and many rows must stack"
      ],
      "avoidWhen": [
        "there is no target or band that means something",
        "the reader needs the change over time (use a line)",
        "values in different units share one axis"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "year of the estimate"
        },
        {
          "name": "rows",
          "type": "id",
          "description": "list of { country, pm25 }"
        },
        {
          "name": "country",
          "type": "place",
          "description": "a country, or World"
        },
        {
          "name": "pm25",
          "type": "number",
          "description": "population-weighted mean annual PM2.5 exposure, µg/m³",
          "unit": "µg/m³",
          "format": "decimal"
        }
      ],
      "tags": [
        "bullet chart",
        "target",
        "threshold",
        "air pollution",
        "health",
        "environment",
        "cities"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/bullet-chart",
      "markdown": "/charts/bullet-chart.md",
      "manifest": "/charts/bullet-chart.json"
    },
    {
      "id": "change-arrows",
      "name": "Change arrows",
      "family": "compare",
      "tier": "pro",
      "summary": "Use change arrows to show each item moving from an old value to a new one, so direction and distance read at once.",
      "useWhen": [
        "each item has an old and a new value and the direction matters",
        "some items rise and others fall",
        "a threshold (a target, a replacement level) gives the values meaning"
      ],
      "avoidWhen": [
        "the path between the two dates matters (use a line chart)",
        "the changes are tiny compared with the values (plot the change itself)",
        "more than about 20 items"
      ],
      "fields": [
        {
          "name": "country",
          "type": "place",
          "description": "the item (a country in the example)"
        },
        {
          "name": "y1970",
          "type": "number",
          "description": "the start value: children per woman in 1970 (the arrow's tail is labelled hints.from, else the year in this description)",
          "unit": "births per woman",
          "format": "decimal"
        },
        {
          "name": "y2023",
          "type": "number",
          "description": "the end value: children per woman in 2023 (the arrowhead is labelled hints.to, else the year in this description)",
          "unit": "births per woman",
          "format": "decimal"
        }
      ],
      "tags": [
        "arrow chart",
        "change",
        "before and after",
        "direction",
        "fertility",
        "population",
        "demography"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/change-arrows",
      "markdown": "/charts/change-arrows.md",
      "manifest": "/charts/change-arrows.json"
    },
    {
      "id": "chart-or-table",
      "name": "Chart or table",
      "family": "compare",
      "tier": "pro",
      "summary": "Use a chart-or-table switch when some readers want the shape and others want the exact numbers: one toggle, the same rows, the same order.",
      "useWhen": [
        "readers need both the pattern and the precise values",
        "the chart will be read by screen readers or copied into reports",
        "a few readers will look up one row"
      ],
      "avoidWhen": [
        "there are hundreds of rows (use a searchable table)",
        "the values are all close and the chart says nothing a table doesn't",
        "space allows both at once (show both)",
        "more than six series (the tail folds into Other)"
      ],
      "fields": [
        {
          "name": "code",
          "type": "id",
          "description": "a short unique code for the row (the IOC country code)"
        },
        {
          "name": "country",
          "type": "category",
          "description": "the row's name (the team)"
        },
        {
          "name": "gold",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "one stacked segment and table column per number key, in the data's order; 1 to 6 series (more fold into Other), any names. Here: gold medals",
          "unit": "medals",
          "format": "count"
        },
        {
          "name": "silver",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "silver medals",
          "unit": "medals",
          "format": "count"
        },
        {
          "name": "bronze",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "bronze medals",
          "unit": "medals",
          "format": "count"
        }
      ],
      "tags": [
        "table",
        "accessible",
        "toggle",
        "stacked bars",
        "olympics",
        "sport",
        "medals"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/chart-or-table",
      "markdown": "/charts/chart-or-table.md",
      "manifest": "/charts/chart-or-table.json"
    },
    {
      "id": "coin-stack",
      "name": "Coin stack",
      "family": "compare",
      "tier": "pro",
      "summary": "Use coin stacks to show money per item as piles of coins, so the gap between rich and poor reads as a tower beside a sliver.",
      "useWhen": [
        "amounts of money per person, per item or per year",
        "5 to 10 items with big gaps between them",
        "a friendly opener for an economics explainer"
      ],
      "avoidWhen": [
        "values can be negative",
        "close values need comparing (use bars)",
        "amounts aren't money (coins would mislead)"
      ],
      "fields": [
        {
          "name": "country",
          "type": "place",
          "description": "country"
        },
        {
          "name": "usd",
          "type": "number",
          "sign": "non-negative",
          "description": "GDP per person, current US$",
          "unit": "USD",
          "format": "currency"
        },
        {
          "name": "year",
          "type": "year",
          "description": "year"
        }
      ],
      "tags": [
        "money",
        "income",
        "inequality",
        "isotype",
        "unit chart",
        "economics"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/coin-stack",
      "markdown": "/charts/coin-stack.md",
      "manifest": "/charts/coin-stack.json"
    },
    {
      "id": "compare-toggle",
      "name": "Compare toggle",
      "family": "compare",
      "tier": "pro",
      "summary": "Use a compare toggle to switch one chart between two fair ways of measuring, so readers see how the ranking flips.",
      "useWhen": [
        "two measures of the same thing tell different stories (total vs per person, count vs rate)",
        "the ranking itself changes",
        "you want readers to discover the flip themselves"
      ],
      "avoidWhen": [
        "the two measures need to be read together (use a scatter)",
        "the switch changes the set of items, not just their order",
        "more than two framings (use small multiples)"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "optional": true,
          "description": "optional: the year, shown in the heading"
        },
        {
          "name": "world",
          "type": "number",
          "optional": true,
          "description": "optional: the whole's two measures (the world in the example), for the reference line (hints.reference names it); without it the detail compares with the sum of the rows",
          "unit": "tonnes",
          "format": "compact"
        },
        {
          "name": "countries[].country",
          "type": "category",
          "description": "the country"
        },
        {
          "name": "countries[].total",
          "type": "number",
          "sign": "non-negative",
          "description": "the first measure, a total (CO2 emitted, tonnes); its button is hints.names.total, else this description up to the comma",
          "unit": "tonnes",
          "format": "compact"
        },
        {
          "name": "countries[].perPerson",
          "type": "number",
          "sign": "non-negative",
          "description": "the second measure, the same thing per person or as a rate (CO2 emitted per person, tonnes); its button is hints.names.perPerson",
          "unit": "tonnes",
          "format": "decimal"
        }
      ],
      "tags": [
        "toggle",
        "switch",
        "per capita",
        "ranking",
        "reframe",
        "climate",
        "co2",
        "emissions"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/compare-toggle",
      "markdown": "/charts/compare-toggle.md",
      "manifest": "/charts/compare-toggle.json"
    },
    {
      "id": "deviation-dots",
      "name": "Deviation dots",
      "family": "compare",
      "tier": "pro",
      "summary": "Use deviation dots to show each value as its distance above or below an average or baseline line.",
      "useWhen": [
        "values are best read as above or below a reference (an average, a target, a baseline)",
        "many items or years, where bars would be heavy",
        "the sign flips and that flip is the story"
      ],
      "avoidWhen": [
        "the baseline is arbitrary or unexplained",
        "the absolute level matters more than the difference",
        "only a few values (use diverging bars)"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year"
        },
        {
          "name": "anomaly",
          "type": "number",
          "description": "global mean surface temperature minus the 1951–1980 mean, °C",
          "unit": "°C",
          "format": "decimal"
        }
      ],
      "tags": [
        "deviation",
        "anomaly",
        "above and below",
        "baseline",
        "climate",
        "temperature",
        "global warming"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/deviation-dots",
      "markdown": "/charts/deviation-dots.md",
      "manifest": "/charts/deviation-dots.json"
    },
    {
      "id": "diverging-bars",
      "name": "Diverging bars",
      "family": "compare",
      "tier": "free",
      "summary": "Use diverging bars when values can be positive or negative, so gains and losses push away from zero in opposite directions.",
      "useWhen": [
        "values have a meaningful zero and can go either way: gains and losses, above and below a target, for and against",
        "you want to see which side dominates",
        "up to about 20 items"
      ],
      "avoidWhen": [
        "all values are positive (use sorted bars)",
        "the zero point is arbitrary",
        "you need the parts of each change, not just the net (use a waterfall)"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the FAO estimate's year"
        },
        {
          "name": "rows",
          "type": "id",
          "description": "list of { country, ha }"
        },
        {
          "name": "country",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "ha",
          "type": "number",
          "description": "net change in forest area, hectares a year (negative is loss)",
          "unit": "hectares",
          "format": "count"
        }
      ],
      "tags": [
        "diverging bars",
        "gains and losses",
        "positive and negative",
        "forests",
        "deforestation",
        "nature",
        "climate"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/diverging-bars",
      "markdown": "/charts/diverging-bars.md",
      "manifest": "/charts/diverging-bars.json"
    },
    {
      "id": "dot-plot",
      "name": "Dot plot",
      "family": "compare",
      "tier": "free",
      "summary": "Use a dot plot to compare two or three values per item on one shared scale, with less ink than bars.",
      "useWhen": [
        "two or three values per item on the same scale",
        "the axis need not start at zero",
        "10 to 30 rows that should stay quiet and precise"
      ],
      "avoidWhen": [
        "the values are amounts that should start at zero (use bars)",
        "more than three values per row",
        "the change over time matters more than the gap (use a dumbbell)"
      ],
      "fields": [
        {
          "name": "country",
          "type": "category",
          "description": "the row (a country in the example)"
        },
        {
          "name": "women",
          "type": "number",
          "description": "the first value, drawn in the first ink; the gap is it minus the second (women's life expectancy at birth in the example, years); its name is hints.sides[0]",
          "unit": "years",
          "format": "decimal"
        },
        {
          "name": "men",
          "type": "number",
          "description": "the second value (men's life expectancy at birth in the example, years); its name is hints.sides[1]",
          "unit": "years",
          "format": "decimal"
        }
      ],
      "tags": [
        "dot plot",
        "Cleveland dot plot",
        "gender gap",
        "life expectancy",
        "health",
        "two values"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/dot-plot",
      "markdown": "/charts/dot-plot.md",
      "manifest": "/charts/dot-plot.json"
    },
    {
      "id": "dumbbell",
      "name": "Dumbbell",
      "family": "compare",
      "tier": "free",
      "summary": "Use a dumbbell to show one change per item: where each started, where it ended, and the gap between.",
      "useWhen": [
        "each item has exactly two values (before and after, with and without)",
        "the size of the change matters more than the path",
        "there are 3 to 15 items"
      ],
      "avoidWhen": [
        "you have many time points (use a line or a slope)",
        "the two values are in different units",
        "only one item changes (use a big number)"
      ],
      "fields": [
        {
          "name": "region",
          "type": "category",
          "description": "the item"
        },
        {
          "name": "y1950",
          "type": "number",
          "description": "the start value (the hollow dot): life expectancy in 1950, years; its label is hints.from, else the year in this description, else \"start\"",
          "unit": "years",
          "format": "decimal"
        },
        {
          "name": "y2023",
          "type": "number",
          "description": "the end value (the filled dot): life expectancy in 2023, years; its label is hints.to, else the year in this description, else \"end\"",
          "unit": "years",
          "format": "decimal"
        }
      ],
      "tags": [
        "before and after",
        "change",
        "gap",
        "two values",
        "comparison"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "16:9",
      "page": "/charts/dumbbell",
      "markdown": "/charts/dumbbell.md",
      "manifest": "/charts/dumbbell.json"
    },
    {
      "id": "face-off",
      "name": "Face-off",
      "family": "compare",
      "tier": "pro",
      "summary": "Use a face-off when the whole story is two numbers: two sized circles side by side, the winner marked with its margin.",
      "useWhen": [
        "exactly two items, and which is bigger is the point",
        "a headline comparison for a talk, a video or a social post",
        "the lead changes over time and you want to show the moment it flips"
      ],
      "avoidWhen": [
        "more than two items (use sorted bars)",
        "the values are close and the exact gap matters (state the numbers)",
        "readers must judge small differences in area"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year"
        },
        {
          "name": "india",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "India's population, people",
          "unit": "people",
          "format": "count"
        },
        {
          "name": "china",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "China's population, people",
          "unit": "people",
          "format": "count"
        }
      ],
      "tags": [
        "face-off",
        "versus",
        "head to head",
        "two numbers",
        "population",
        "India",
        "China"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/face-off",
      "markdown": "/charts/face-off.md",
      "manifest": "/charts/face-off.json"
    },
    {
      "id": "garden",
      "name": "Garden",
      "family": "compare",
      "tier": "pro",
      "summary": "Use a garden to show two linked counts per item: each plant's height is one value and its flowers count a standout outcome within it.",
      "useWhen": [
        "each item has a total and a count of a special outcome inside it",
        "5 to 15 items in a ranked row",
        "a warm, playful view for a young audience"
      ],
      "avoidWhen": [
        "the outcome is not part of the total",
        "counts run into hundreds (flowers stop being countable)",
        "readers need exact comparisons (use grouped bars)",
        "more than 15 items (the plants crowd)"
      ],
      "fields": [
        {
          "name": "country",
          "type": "category",
          "description": "the plant's name (the nation)"
        },
        {
          "name": "code",
          "type": "id",
          "description": "a short code shown under the plant (the IOC country code)"
        },
        {
          "name": "gold",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "the parts of the total, one number key each, any names; the first one sets the flowers (one each, or a round amount each). Here: gold medals",
          "unit": "medals",
          "format": "count"
        },
        {
          "name": "silver",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "silver medals",
          "unit": "medals",
          "format": "count"
        },
        {
          "name": "bronze",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "bronze medals",
          "unit": "medals",
          "format": "count"
        },
        {
          "name": "total",
          "type": "number",
          "sign": "non-negative",
          "description": "sets the plant's height; optional, the sum of the parts when absent. Here: all medals",
          "unit": "medals",
          "format": "count"
        }
      ],
      "tags": [
        "garden",
        "plants",
        "flowers",
        "isotype",
        "counts",
        "olympics",
        "sport",
        "playful"
      ],
      "mobile": "desktop",
      "mobileNote": "13 labels overlap on a phone",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/garden",
      "markdown": "/charts/garden.md",
      "manifest": "/charts/garden.json"
    },
    {
      "id": "gravity-sort",
      "name": "Gravity sort",
      "family": "compare",
      "tier": "pro",
      "summary": "Use a gravity sort to rank items by letting them race: each item falls at a speed set by its value, so they land in order and settle along a number line.",
      "useWhen": [
        "ranking 5 to 15 items where the order of arrival is the story",
        "the value is itself a speed, a rate or a force",
        "a short, memorable reveal in an explainer"
      ],
      "avoidWhen": [
        "many items share nearly the same value",
        "values can be negative",
        "readers need to compare values precisely (use a dot plot)"
      ],
      "fields": [
        {
          "name": "body",
          "type": "category",
          "description": "planet, moon or dwarf planet"
        },
        {
          "name": "gravity",
          "type": "number",
          "description": "surface gravity, m/s²",
          "unit": "m/s²",
          "format": "decimal"
        }
      ],
      "tags": [
        "sort",
        "rank",
        "physics",
        "space",
        "planets",
        "gravity",
        "dot plot"
      ],
      "mobile": "desktop",
      "mobileNote": "4 labels overlap on a phone",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/gravity-sort",
      "markdown": "/charts/gravity-sort.md",
      "manifest": "/charts/gravity-sort.json"
    },
    {
      "id": "grouped-bars",
      "name": "Grouped bars",
      "family": "compare",
      "tier": "free",
      "summary": "Use grouped bars to compare two to four series within each item, side by side on one baseline.",
      "useWhen": [
        "2 to 4 series measured in the same unit for each item",
        "comparing within each item matters as much as across items",
        "up to about 8 items"
      ],
      "avoidWhen": [
        "the series add up to a meaningful total (use stacked bars)",
        "more than four series (use small multiples)",
        "many items, which makes the groups unreadable"
      ],
      "fields": [
        {
          "name": "country",
          "type": "category",
          "description": "the group (a country here); hints.short can shorten long names under the bars"
        },
        {
          "name": "solar",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "one bar in every group per number key, in the data's order; 2 to 4 series read best, up to 6 drawn (the rest are named in a note), any names. Here: solar electricity, TWh",
          "unit": "TWh",
          "format": "count"
        },
        {
          "name": "wind",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "wind electricity, TWh",
          "unit": "TWh",
          "format": "count"
        },
        {
          "name": "hydro",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "hydroelectricity, TWh",
          "unit": "TWh",
          "format": "count"
        }
      ],
      "tags": [
        "grouped bars",
        "clustered bars",
        "energy",
        "solar",
        "wind",
        "hydro",
        "electricity"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/grouped-bars",
      "markdown": "/charts/grouped-bars.md",
      "manifest": "/charts/grouped-bars.json"
    },
    {
      "id": "headline-card",
      "name": "Headline card",
      "family": "compare",
      "tier": "free",
      "summary": "Use a headline card when one number and one claim make the point: an eyebrow, a headline with one underlined word, a stat badge and the trend behind it.",
      "useWhen": [
        "a cover image for an article, a post or a slide",
        "one headline number with its trend for context",
        "readers glance for a second and must get the claim"
      ],
      "avoidWhen": [
        "several numbers matter equally (use bars or a ranked table)",
        "the trend has turns that need explaining (use an annotated line)",
        "the headline would claim more than the data shows"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year"
        },
        {
          "name": "users",
          "type": "number",
          "description": "people who used the internet in the last three months, world",
          "unit": "people",
          "format": "count"
        }
      ],
      "tags": [
        "cover",
        "headline",
        "stat badge",
        "annotation",
        "underline",
        "social card",
        "internet"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/headline-card",
      "markdown": "/charts/headline-card.md",
      "manifest": "/charts/headline-card.json"
    },
    {
      "id": "highlight-bar",
      "name": "One bar in colour",
      "family": "compare",
      "tier": "pro",
      "summary": "Use one bar in colour when the title is about a single item: grey out the rest so the eye goes straight to it.",
      "useWhen": [
        "the message is about one item among many",
        "a slide or a post where the point must land in a second",
        "the rest are context, not competitors"
      ],
      "avoidWhen": [
        "several items matter equally (colour them by group)",
        "the reader will want to compare the grey bars closely (use sorted bars)",
        "the highlighted item is not visibly different"
      ],
      "fields": [
        {
          "name": "country",
          "type": "place",
          "description": "a G20 country"
        },
        {
          "name": "kg",
          "type": "number",
          "description": "meat available for consumption, kg per person per year",
          "unit": "kg",
          "format": "decimal"
        }
      ],
      "tags": [
        "highlight",
        "one bar",
        "annotation",
        "bar chart",
        "food",
        "meat",
        "diet"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/highlight-bar",
      "markdown": "/charts/highlight-bar.md",
      "manifest": "/charts/highlight-bar.json"
    },
    {
      "id": "isometric-city",
      "name": "Isometric city",
      "family": "compare",
      "tier": "pro",
      "summary": "Use an isometric city to make a set of totals feel like a skyline: each item is a tower whose height is its value.",
      "useWhen": [
        "8 to 20 totals where the tallest few dominate",
        "a skyline or 'city of data' look for an explainer",
        "colour can carry one grouping (up to six)"
      ],
      "avoidWhen": [
        "readers must compare similar heights exactly (towers at different depths are hard to compare)",
        "values near zero matter",
        "more than about 20 items (past 25 only the largest 25 are drawn)"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year of the emissions"
        },
        {
          "name": "countries[].country",
          "type": "category",
          "description": "the country; one tower each. An optional `group` on each row (e.g. its continent) colours the towers, up to six groups; without it, meta.hints.groups maps names to groups, and unmapped ones are Other"
        },
        {
          "name": "countries[].tonnes",
          "type": "number",
          "sign": "non-negative",
          "description": "CO₂ emitted that year, tonnes; sets the tower's height",
          "unit": "tonnes",
          "format": "count"
        }
      ],
      "tags": [
        "isometric",
        "city",
        "skyline",
        "3d",
        "buildings",
        "climate",
        "co2",
        "emissions"
      ],
      "mobile": "desktop",
      "mobileNote": "3 labels overlap on a phone",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/isometric-city",
      "markdown": "/charts/isometric-city.md",
      "manifest": "/charts/isometric-city.json"
    },
    {
      "id": "lollipop",
      "name": "Lollipop",
      "family": "compare",
      "tier": "free",
      "summary": "Use a lollipop to rank items like a bar chart with less ink, so the values (the dots) stand out.",
      "useWhen": [
        "ranking 6 to 20 items by one count or amount",
        "many bars would look heavy, or values are close",
        "you want the exact value to be the focus"
      ],
      "avoidWhen": [
        "small differences between similar values must be judged exactly (use bars with a common baseline)",
        "values can be negative (use diverging bars)",
        "only two or three items (use a face-off or a big number)"
      ],
      "fields": [
        {
          "name": "people",
          "type": "number",
          "description": "laureates in the source with a known birth (people, not organisations)",
          "unit": "laureates",
          "format": "count"
        },
        {
          "name": "rows",
          "type": "id",
          "description": "list of { country, prizes }"
        },
        {
          "name": "country",
          "type": "place",
          "description": "country of birth, by today's borders"
        },
        {
          "name": "prizes",
          "type": "number",
          "description": "Nobel prizes won by people born there (a laureate with two prizes counts twice)",
          "unit": "prizes",
          "format": "count"
        }
      ],
      "tags": [
        "lollipop",
        "ranking",
        "Nobel prize",
        "science",
        "history",
        "count"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/lollipop",
      "markdown": "/charts/lollipop.md",
      "manifest": "/charts/lollipop.json"
    },
    {
      "id": "marble-race",
      "name": "Marble race",
      "family": "compare",
      "tier": "pro",
      "summary": "Use a marble race to compare speeds or rates: every marble starts together and rolls at its value, and the frame freezes when the fastest crosses the line, so distance covered reads as a bar.",
      "useWhen": [
        "the values are speeds, rates or paces",
        "a race is a natural way to tell who wins and by how much",
        "4 to 10 items"
      ],
      "avoidWhen": [
        "values can be negative",
        "speeds are uncertain and the ranking hinges on small differences (show the ranges)",
        "more than about 10 lanes"
      ],
      "fields": [
        {
          "name": "animal",
          "type": "category",
          "description": "the runner"
        },
        {
          "name": "group",
          "type": "category",
          "description": "Mammals, Birds or Reptiles"
        },
        {
          "name": "low",
          "type": "number",
          "sign": "non-negative",
          "description": "low end of the reported top speed, km/h",
          "unit": "km/h",
          "format": "count"
        },
        {
          "name": "high",
          "type": "number",
          "sign": "non-negative",
          "description": "high end of the reported top speed, km/h",
          "unit": "km/h",
          "format": "count"
        }
      ],
      "tags": [
        "race",
        "speed",
        "rank",
        "bar alternative",
        "animals",
        "nature",
        "playful"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/marble-race",
      "markdown": "/charts/marble-race.md",
      "manifest": "/charts/marble-race.json"
    },
    {
      "id": "nightingale-rose",
      "name": "Nightingale rose",
      "family": "compare",
      "tier": "pro",
      "summary": "Use a Nightingale rose to compare a value across the months of a cycle, with wedge size showing the value, so seasonal peaks jump out.",
      "useWhen": [
        "a cyclical measure (months, hours, compass directions) where the peaks are the story",
        "a memorable, poster-like view of 12 to 24 values",
        "a few overlaid categories that differ a lot in size"
      ],
      "avoidWhen": [
        "readers must compare values precisely (use bars in a row)",
        "the categories have no cycle",
        "the categories are close in size and would hide one another",
        "more than five overlaid categories (the tail folds into Other)",
        "more than three years of months (only the last 36 are drawn)"
      ],
      "fields": [
        {
          "name": "month",
          "type": "date",
          "description": "the wedge's label, one row per wedge. Month names (\"Apr 1854\", \"2023-04\") make one 12-wedge rose per year, up to three; any other labels (hours, directions) make one rose with a wedge each, up to 36"
        },
        {
          "name": "army",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "optional: what the counts are out of (the army's average size that month), shown on hover",
          "unit": "soldiers",
          "format": "count"
        },
        {
          "name": "disease",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "optional: a count behind a rate (a key with a matching \"…Rate\" key is shown on hover, not drawn). Here: deaths from zymotic (preventable) disease",
          "unit": "deaths",
          "format": "count"
        },
        {
          "name": "wounds",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "deaths from wounds",
          "unit": "deaths",
          "format": "count"
        },
        {
          "name": "other",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "deaths from all other causes",
          "unit": "deaths",
          "format": "count"
        },
        {
          "name": "diseaseRate",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "one overlaid layer per number key (bar army and counts), in the data's order; 1 to 5 causes (more fold into Other), any names. Here: annual death rate from disease, per 1,000",
          "unit": "per 1,000",
          "format": "decimal"
        },
        {
          "name": "woundsRate",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "annual death rate from wounds, per 1,000",
          "unit": "per 1,000",
          "format": "decimal"
        },
        {
          "name": "otherRate",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "annual death rate from other causes, per 1,000",
          "unit": "per 1,000",
          "format": "decimal"
        }
      ],
      "tags": [
        "Nightingale rose",
        "coxcomb",
        "polar area chart",
        "history",
        "health",
        "Florence Nightingale",
        "seasonal"
      ],
      "mobile": "desktop",
      "mobileNote": "1 label overlap on a phone",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/nightingale-rose",
      "markdown": "/charts/nightingale-rose.md",
      "manifest": "/charts/nightingale-rose.json"
    },
    {
      "id": "quiz-card",
      "name": "Which is bigger?",
      "family": "compare",
      "tier": "pro",
      "summary": "Use a which-is-bigger quiz to make readers commit to a guess between two items before showing the real values and where both sit among the rest.",
      "useWhen": [
        "readers hold confident but wrong intuitions about pairs",
        "you have a set of comparable items to draw pairs from",
        "a playful, social, repeatable format fits"
      ],
      "avoidWhen": [
        "the comparison needs nuance a single number hides",
        "readers need the whole ranking (use sorted bars)",
        "the pairs would trick rather than teach"
      ],
      "fields": [
        {
          "name": "food",
          "type": "category",
          "description": "the item (at least 2); the pairs asked come from hints.pairs when both items are in the data, else are picked from the data"
        },
        {
          "name": "kgCO2e",
          "type": "number",
          "description": "greenhouse gases per kilogram of food, kg CO2-equivalents",
          "unit": "kg CO₂e",
          "format": "decimal"
        }
      ],
      "tags": [
        "quiz",
        "game",
        "guess",
        "pairs",
        "which is bigger",
        "food",
        "climate",
        "carbon footprint"
      ],
      "mobile": "desktop",
      "mobileNote": "8 labels overlap on a phone",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/quiz-card",
      "markdown": "/charts/quiz-card.md",
      "manifest": "/charts/quiz-card.json"
    },
    {
      "id": "radial-bars",
      "name": "Radial bars",
      "family": "compare",
      "tier": "pro",
      "summary": "Use radial bars for an eye-catching ranking: bars bent into rings, the longest on the outside.",
      "useWhen": [
        "a striking ranking of 5 to 15 items for a poster, a slide or a video",
        "one or two items dominate and the rest trail off",
        "the round shape suits the subject (clocks, cycles, a cup)"
      ],
      "avoidWhen": [
        "values must be compared precisely (outer rings look longer than inner rings for the same value; use sorted bars)",
        "many items, which makes rings too thin",
        "the order of items is not by size"
      ],
      "fields": [
        {
          "name": "world",
          "type": "number",
          "sign": "non-negative",
          "description": "world production, tonnes",
          "unit": "tonnes",
          "format": "count"
        },
        {
          "name": "year",
          "type": "year",
          "description": "the harvest year"
        },
        {
          "name": "countries",
          "type": "id",
          "description": "list of { country, tonnes }"
        },
        {
          "name": "country",
          "type": "place",
          "description": "the grower"
        },
        {
          "name": "tonnes",
          "type": "number",
          "description": "green coffee production, tonnes",
          "unit": "tonnes",
          "format": "count"
        }
      ],
      "tags": [
        "radial bar",
        "circular bar",
        "ring chart",
        "ranking",
        "coffee",
        "food",
        "agriculture"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "9:16",
      "page": "/charts/radial-bars",
      "markdown": "/charts/radial-bars.md",
      "manifest": "/charts/radial-bars.json"
    },
    {
      "id": "rain-gauge",
      "name": "Rain gauge",
      "family": "compare",
      "tier": "pro",
      "summary": "Use rain gauges to show amounts that accumulate, like rainfall or savings: drops fall into a cylinder per item until the water reaches its value.",
      "useWhen": [
        "amounts that build up, such as rain, water use or savings",
        "4 to 10 items on one scale",
        "the wettest and driest gap is the story"
      ],
      "avoidWhen": [
        "values can be negative",
        "many items (the gauges get thin)",
        "the amounts don't accumulate"
      ],
      "fields": [
        {
          "name": "country",
          "type": "place",
          "description": "country"
        },
        {
          "name": "mm",
          "type": "number",
          "description": "long-term average precipitation, mm per year",
          "unit": "mm",
          "format": "count"
        },
        {
          "name": "year",
          "type": "year",
          "description": "year of the World Bank release"
        }
      ],
      "tags": [
        "fill",
        "accumulation",
        "rainfall",
        "climate",
        "weather",
        "water",
        "geography"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/rain-gauge",
      "markdown": "/charts/rain-gauge.md",
      "manifest": "/charts/rain-gauge.json"
    },
    {
      "id": "range-bars",
      "name": "Range bars",
      "family": "compare",
      "tier": "free",
      "summary": "Use range bars to show each item's minimum to maximum with a typical value marked, so spread and centre read together.",
      "useWhen": [
        "each item has a low, a high and a typical value",
        "the spread matters as much as the level",
        "up to about 20 items on one scale"
      ],
      "avoidWhen": [
        "you need the whole distribution, not just its ends (use a box or strip plot)",
        "the extremes are outliers that hide the usual range",
        "items are in different units"
      ],
      "fields": [
        {
          "name": "city",
          "type": "place",
          "description": "the city"
        },
        {
          "name": "min",
          "type": "number",
          "description": "lowest daily minimum temperature of 2024, °C",
          "unit": "°C",
          "format": "decimal"
        },
        {
          "name": "minDate",
          "type": "date",
          "description": "the day of the minimum"
        },
        {
          "name": "max",
          "type": "number",
          "description": "highest daily maximum temperature of 2024, °C",
          "unit": "°C",
          "format": "decimal"
        },
        {
          "name": "maxDate",
          "type": "date",
          "description": "the day of the maximum"
        },
        {
          "name": "mean",
          "type": "number",
          "description": "mean of the daily mean temperatures in 2024, °C",
          "unit": "°C",
          "format": "decimal"
        }
      ],
      "tags": [
        "range bars",
        "floating bars",
        "min max",
        "temperature",
        "weather",
        "climate",
        "cities"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/range-bars",
      "markdown": "/charts/range-bars.md",
      "manifest": "/charts/range-bars.json"
    },
    {
      "id": "ranked-table",
      "name": "Ranked table",
      "family": "compare",
      "tier": "pro",
      "summary": "Use a ranked table when readers need exact values and several attributes per item, with inline bars and rank badges to keep the order visible.",
      "useWhen": [
        "readers need exact values and two or three attributes per item (a label, the ranked value, and up to three columns named in the hint columns: [{ field, head }])",
        "the ranking matters and the list is up to about 25 rows",
        "a scale is hard to feel (logarithmic magnitudes, money) and an inline bar helps"
      ],
      "avoidWhen": [
        "the pattern matters more than the values (use a chart)",
        "more than about 25 rows without search or paging",
        "only one attribute per item (use sorted bars)"
      ],
      "fields": [
        {
          "name": "place",
          "type": "place",
          "description": "each row's label (the USGS place name of the epicentre; tidied by the hints trim and short)"
        },
        {
          "name": "mag",
          "type": "number",
          "description": "the value rows are ranked by (moment magnitude; with the unit magnitude the bars can show energy)",
          "unit": "magnitude",
          "format": "decimal"
        },
        {
          "name": "depth",
          "type": "number",
          "description": "optional column: depth of the hypocentre, km",
          "unit": "km",
          "format": "count",
          "optional": true
        },
        {
          "name": "date",
          "type": "date",
          "description": "optional column: date (UTC); also breaks ties, earliest first",
          "optional": true
        },
        {
          "name": "tsunami",
          "type": "number",
          "description": "optional: USGS tsunami flag (1 when the event is large and in an oceanic region; not a confirmed tsunami); not drawn",
          "unit": "flag (0 or 1)",
          "format": "count",
          "fixed": true,
          "optional": true
        },
        {
          "name": "url",
          "type": "text",
          "description": "optional: the USGS event page; not drawn",
          "optional": true
        }
      ],
      "tags": [
        "ranked table",
        "table",
        "leaderboard",
        "inline bars",
        "earthquakes",
        "science",
        "logarithmic"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/ranked-table",
      "markdown": "/charts/ranked-table.md",
      "manifest": "/charts/ranked-table.json"
    },
    {
      "id": "sea-depths",
      "name": "Sea depths",
      "family": "compare",
      "tier": "pro",
      "summary": "Use sea depths to show how far each item sits below a target: the target is the water's surface, and each item hangs at its gap below it.",
      "useWhen": [
        "every item is measured against one shared target",
        "the shortfall, not the value, is the story",
        "a few items beat the target and should stand out"
      ],
      "avoidWhen": [
        "there is no meaningful target",
        "most items are above the target (flip it, or use a bullet chart)",
        "more than about 20 items"
      ],
      "fields": [
        {
          "name": "country",
          "type": "category",
          "description": "the country"
        },
        {
          "name": "year",
          "type": "year",
          "description": "the year of the estimate"
        },
        {
          "name": "women",
          "type": "number",
          "description": "share of members of parliament (lower or single house) who are women, %",
          "unit": "%",
          "format": "percent"
        }
      ],
      "tags": [
        "depth",
        "target",
        "gap",
        "shortfall",
        "below target",
        "parity",
        "politics",
        "gender",
        "playful"
      ],
      "mobile": "desktop",
      "mobileNote": "13 labels overlap on a phone",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/sea-depths",
      "markdown": "/charts/sea-depths.md",
      "manifest": "/charts/sea-depths.json"
    },
    {
      "id": "slope-chart",
      "name": "Slope chart",
      "family": "compare",
      "tier": "free",
      "summary": "Use a slope chart to compare each item at two moments, so both the change and any re-ordering show as the tilt and crossing of lines.",
      "useWhen": [
        "exactly two time points or two conditions per item",
        "the change in rank matters as well as the change in value",
        "5 to 15 items"
      ],
      "avoidWhen": [
        "more than two time points (use a line chart)",
        "items cluster so tightly that labels cannot be placed",
        "the values are in different units"
      ],
      "fields": [
        {
          "name": "country",
          "type": "place",
          "description": "the item; the row named hints.reference (\"World\" in the example), if present, is the dashed reference"
        },
        {
          "name": "y2010",
          "type": "number",
          "description": "the start value: share of people online in 2010, % (the left column is labelled hints.from, else the year in this description)",
          "unit": "%",
          "format": "percent"
        },
        {
          "name": "latest",
          "type": "number",
          "description": "share of people online in the latest year, %",
          "unit": "%",
          "format": "percent"
        },
        {
          "name": "latestYear",
          "type": "year",
          "optional": true,
          "description": "optional: the latest year with data, the right column's label (else hints.to, else the year in latest's description)"
        }
      ],
      "tags": [
        "slope chart",
        "slopegraph",
        "before and after",
        "internet",
        "technology",
        "two points"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "9:16",
      "page": "/charts/slope-chart",
      "markdown": "/charts/slope-chart.md",
      "manifest": "/charts/slope-chart.json"
    },
    {
      "id": "small-multiple-bars",
      "name": "Small-multiple bars",
      "family": "compare",
      "tier": "free",
      "summary": "Use small-multiple bars to repeat one simple bar chart per group, so shapes can be compared across groups at a glance.",
      "useWhen": [
        "the same small chart for 4 to 16 groups",
        "the shape (when, how peaked) matters more than exact values",
        "one chart with every group on it would be a tangle"
      ],
      "avoidWhen": [
        "groups must be compared value by value (put them on one chart)",
        "the panels have nothing in common to compare",
        "there are only two groups (use grouped bars)"
      ],
      "fields": [
        {
          "name": "city",
          "type": "place",
          "description": "the panel"
        },
        {
          "name": "months",
          "type": "number",
          "description": "one rainfall total per period, in order, mm (twelve months, January to December, in the example; any count works, named by hints.periods, else month names for twelve, else 1 to N)",
          "unit": "mm",
          "format": "count"
        }
      ],
      "tags": [
        "small multiples",
        "trellis",
        "facets",
        "bar chart",
        "rain",
        "weather",
        "monsoon",
        "cities"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/small-multiple-bars",
      "markdown": "/charts/small-multiple-bars.md",
      "manifest": "/charts/small-multiple-bars.json"
    },
    {
      "id": "sorted-bars",
      "name": "Sorted bars",
      "family": "compare",
      "tier": "free",
      "summary": "Use sorted bars to rank items by one value so the order and the gaps read at a glance.",
      "useWhen": [
        "one value per item and the ranking is the point",
        "5 to 25 items with readable names",
        "you want one reference bar (an average or a target) among them"
      ],
      "avoidWhen": [
        "the order of items is meaningful in itself, like months (keep that order)",
        "values change over time (use a line or a bump chart)",
        "two values per item (use a dumbbell or grouped bars)"
      ],
      "fields": [
        {
          "name": "country",
          "type": "category",
          "description": "the item; \"World\" is drawn as the reference bar"
        },
        {
          "name": "share",
          "type": "number",
          "sign": "non-negative",
          "description": "share of electricity from renewables, %",
          "unit": "%",
          "format": "percent"
        }
      ],
      "tags": [
        "ranking",
        "bar chart",
        "sorted",
        "energy",
        "renewables",
        "electricity",
        "climate"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "9:16",
      "page": "/charts/sorted-bars",
      "markdown": "/charts/sorted-bars.md",
      "manifest": "/charts/sorted-bars.json"
    },
    {
      "id": "spring-bars",
      "name": "Spring bars",
      "family": "compare",
      "tier": "pro",
      "summary": "Use spring bars for a bar chart with bounce: each bar is a spring pulled from a wall to its value, overshooting and settling as it arrives.",
      "useWhen": [
        "one value per item, all on one side of zero",
        "changes or gaps from a fixed starting point",
        "a lively bar chart for 4 to 12 items"
      ],
      "avoidWhen": [
        "exact, close comparisons matter more than feel",
        "values cross zero",
        "readers might take the coils for extra data"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the latest year of the index"
        },
        {
          "name": "regions[].region",
          "type": "category",
          "description": "the item (4 to 12); the row named in hints.anchor is pinned on top; an optional regions[].group key (or hints.groups) splits the rows into headed sections"
        },
        {
          "name": "regions[].change",
          "type": "number",
          "description": "average change since 1970, %",
          "unit": "%",
          "format": "percent"
        },
        {
          "name": "regions[].low",
          "type": "number",
          "description": "lower end of the confidence interval, %",
          "unit": "%",
          "format": "percent"
        },
        {
          "name": "regions[].high",
          "type": "number",
          "description": "upper end of the confidence interval, %",
          "unit": "%",
          "format": "percent"
        }
      ],
      "tags": [
        "bars",
        "springs",
        "change",
        "decline",
        "wildlife",
        "biodiversity",
        "animals",
        "nature"
      ],
      "mobile": "works",
      "mobileNote": "Reads on a 390px phone as drawn",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/spring-bars",
      "markdown": "/charts/spring-bars.md",
      "manifest": "/charts/spring-bars.json"
    },
    {
      "id": "waterfall",
      "name": "Waterfall",
      "family": "compare",
      "tier": "free",
      "summary": "Use a waterfall to show how a starting total becomes an ending total through a series of gains and losses.",
      "useWhen": [
        "a total changes because of several parts that add or subtract",
        "you want to show which parts drove the change",
        "3 to 12 steps between a start and an end"
      ],
      "avoidWhen": [
        "the parts do not add up to the change",
        "the order of steps implies a sequence that did not happen",
        "the shares of a total matter more than its change (use a treemap or stacked bar)",
        "more than 12 parts (the smallest changes fold into one Other step)"
      ],
      "fields": [
        {
          "name": "region",
          "type": "category",
          "description": "one part (a UN continent in the example); an optional row named as hints.total (World) gives the start and end totals, else the parts are summed"
        },
        {
          "name": "y2013",
          "type": "number",
          "description": "population in 2013, people",
          "unit": "people",
          "format": "count"
        },
        {
          "name": "y2023",
          "type": "number",
          "description": "population in 2023, people",
          "unit": "people",
          "format": "count"
        }
      ],
      "tags": [
        "waterfall",
        "bridge chart",
        "build-up",
        "contribution",
        "population",
        "continents"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/waterfall",
      "markdown": "/charts/waterfall.md",
      "manifest": "/charts/waterfall.json"
    },
    {
      "id": "adjacency-matrix",
      "name": "Adjacency matrix",
      "family": "flow",
      "tier": "free",
      "summary": "Use an adjacency matrix to show who links to whom in a dense network: one row and one column per node, a filled cell for each link, and reordering to reveal clusters. Takes the example's Eurovision votes or any { rows, cols, layers: [{ name, matrix }] }, with a button per layer.",
      "useWhen": [
        "the network is dense, so lines would tangle",
        "readers must look up any one pair",
        "reordering rows and columns can reveal blocs or clusters",
        "any who-to-whom counts (reviews between engineers, trade between regions, messages between teams): pass { rows, cols, layers }; a row and column with the same name is drawn dashed as itself"
      ],
      "avoidWhen": [
        "you want to show paths through the network (use a node-link drawing)",
        "there are hundreds of nodes",
        "most cells would be empty and the few links matter (use an arc diagram)"
      ],
      "fields": [
        {
          "name": "finalists",
          "type": "category",
          "description": "the 25 countries in the grand final (columns)"
        },
        {
          "name": "televoters, juryVoters",
          "type": "category",
          "description": "the countries voting (rows); the televote adds the Rest of the World"
        },
        {
          "name": "tele, jury",
          "type": "number",
          "description": "matrix[row][column]: points given, 0 to 12",
          "unit": "points",
          "format": "count"
        },
        {
          "name": "totals",
          "type": "number",
          "description": "each finalist's jury, televote and total points",
          "unit": "points",
          "format": "count"
        }
      ],
      "tags": [
        "matrix",
        "network",
        "who links to whom",
        "reorderable",
        "Eurovision",
        "music",
        "voting blocs"
      ],
      "mobile": "desktop",
      "mobileNote": "79 labels overlap on a phone",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/adjacency-matrix",
      "markdown": "/charts/adjacency-matrix.md",
      "manifest": "/charts/adjacency-matrix.json"
    },
    {
      "id": "alluvial",
      "name": "Alluvial",
      "family": "flow",
      "tier": "pro",
      "summary": "Use an alluvial to show how the same items move between categories across a few steps: who stayed, who switched and where to. Takes the example's three-year table or any tracked items as { steps: [...], items: [{ name, value?, path: [category per step] }] }, with 2 to 5 steps.",
      "useWhen": [
        "the same items are classified again at each step",
        "you want to see switching, not just totals",
        "there are 2 to 5 steps and up to about 8 categories",
        "customers moving between plans, users between states, anything re-classified at each step: pass { steps, items } with each item's path"
      ],
      "avoidWhen": [
        "items are not tracked individually (use stacked bars per step)",
        "flows have volumes that split one item (use a Sankey)",
        "there are many steps (use a slope or a bump chart)"
      ],
      "fields": [
        {
          "name": "years",
          "type": "year",
          "description": "the steps"
        },
        {
          "name": "sources",
          "type": "category",
          "description": "the categories, in ink order"
        },
        {
          "name": "countries[].country",
          "type": "place",
          "description": "one strand"
        },
        {
          "name": "countries[].twh2024",
          "type": "number",
          "description": "electricity generated in 2024, terawatt-hours",
          "unit": "TWh",
          "format": "count"
        },
        {
          "name": "countries[].y2000, y2012, y2024",
          "type": "category",
          "description": "the country's largest source in each year"
        }
      ],
      "tags": [
        "switching",
        "categories over time",
        "parallel sets",
        "energy",
        "electricity",
        "transition"
      ],
      "mobile": "desktop",
      "mobileNote": "Smallest labels are 5.9 px on a 390 px phone",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/alluvial",
      "markdown": "/charts/alluvial.md",
      "manifest": "/charts/alluvial.json"
    },
    {
      "id": "arc-diagram",
      "name": "Arc diagram",
      "family": "flow",
      "tier": "pro",
      "summary": "Use an arc diagram to show links between items laid out on one line, when the order of the items carries meaning.",
      "useWhen": [
        "items have a natural order or ranking along one line",
        "you want repeated links between the same pair to stand out",
        "there are up to about 30 items and 60 links"
      ],
      "avoidWhen": [
        "more than six colour groups (the rest share one grey ink)",
        "the network is dense (use an adjacency matrix)",
        "position in two dimensions matters (use a force network)",
        "links have large volumes (use a chord or Sankey)"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the tournament"
        },
        {
          "name": "winner",
          "type": "category",
          "description": "the team that won the final; its arc takes the colour of its group in hints.groupOf (one ink when there are no groups)"
        },
        {
          "name": "runnerUp",
          "type": "category",
          "description": "the team that lost it"
        },
        {
          "name": "score",
          "type": "text",
          "description": "the score after extra time, before penalties"
        },
        {
          "name": "extraTime",
          "type": "category",
          "description": "true when the final went to extra time"
        },
        {
          "name": "penalties",
          "type": "text",
          "description": "the shoot-out score, or null"
        },
        {
          "name": "decisiveMatch",
          "type": "category",
          "description": "true for 1950, which ended in a final group rather than a final"
        }
      ],
      "tags": [
        "network",
        "links",
        "football",
        "World Cup",
        "sport",
        "history",
        "rivalry"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/arc-diagram",
      "markdown": "/charts/arc-diagram.md",
      "manifest": "/charts/arc-diagram.json"
    },
    {
      "id": "bipartite",
      "name": "Two-column links",
      "family": "flow",
      "tier": "pro",
      "summary": "Use a two-column link chart (a bipartite graph) to show which items on the left connect to which items on the right, and how strongly. Takes the example's crops-and-producers table or any two-sided links as { left: [{ name, total? }], links: [{ left, right, value }] }.",
      "useWhen": [
        "there are two kinds of thing and links only run between the kinds",
        "some items on one side link to several on the other",
        "there are up to about 15 items a side",
        "any items linked to another kind with a weight (products to suppliers, skills to teams, topics to sources): pass { left, links }; a left item's total is the whole its links are a share of, else their sum"
      ],
      "avoidWhen": [
        "links also run within a side (use a network)",
        "there are more than two stages (use a Sankey)",
        "every item links to every other (use a heatmap)"
      ],
      "fields": [
        {
          "name": "crops[].crop",
          "type": "category",
          "description": "the left column"
        },
        {
          "name": "crops[].year",
          "type": "year",
          "description": "the year of the figures"
        },
        {
          "name": "crops[].worldTonnes",
          "type": "number",
          "description": "world production, tonnes",
          "unit": "tonnes",
          "format": "count"
        },
        {
          "name": "links[].crop",
          "type": "category",
          "description": "the crop a link starts from"
        },
        {
          "name": "links[].country",
          "type": "place",
          "description": "the producer it runs to"
        },
        {
          "name": "links[].tonnes",
          "type": "number",
          "description": "tonnes that country produced",
          "unit": "tonnes",
          "format": "count"
        }
      ],
      "tags": [
        "bipartite",
        "links",
        "two columns",
        "food",
        "agriculture",
        "coffee",
        "trade"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/bipartite",
      "markdown": "/charts/bipartite.md",
      "manifest": "/charts/bipartite.json"
    },
    {
      "id": "chord",
      "name": "Chord",
      "family": "flow",
      "tier": "free",
      "summary": "Use a chord diagram to show flows between a handful of groups in both directions, around a circle.",
      "useWhen": [
        "flows go both ways between 3 to 8 groups",
        "who gains and who loses matters more than exact amounts",
        "each group is both a source and a destination"
      ],
      "avoidWhen": [
        "the flow has stages (use a Sankey)",
        "readers must compare small ribbons precisely (use a matrix)",
        "there are more than about 8 groups"
      ],
      "fields": [
        {
          "name": "groups",
          "type": "category",
          "description": "the six country groups, in ink order"
        },
        {
          "name": "matrix",
          "type": "number",
          "description": "matrix[i][j]: laureates born in group i and affiliated with group j when awarded",
          "unit": "laureates",
          "format": "count"
        },
        {
          "name": "laureates",
          "type": "number",
          "description": "laureates counted",
          "unit": "laureates",
          "format": "count"
        },
        {
          "name": "years",
          "type": "year",
          "description": "first and last award year in the data"
        }
      ],
      "tags": [
        "migration",
        "flows",
        "network",
        "circle",
        "Nobel prize",
        "science",
        "brain drain"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "9:16",
      "page": "/charts/chord",
      "markdown": "/charts/chord.md",
      "manifest": "/charts/chord.json"
    },
    {
      "id": "edge-bundling",
      "name": "Edge bundling",
      "family": "flow",
      "tier": "pro",
      "summary": "Use hierarchical edge bundling to show many links between items that sit in a hierarchy: items go round a circle by group, and links bend along the tree so they gather into bundles.",
      "useWhen": [
        "items belong to a hierarchy (packages, departments, regions) and also link across it",
        "there are hundreds of links and a plain network would be a hairball",
        "the overall pattern between groups matters more than any single link"
      ],
      "avoidWhen": [
        "readers must trace one link exactly (use a matrix)",
        "the items have no hierarchy",
        "there are only a few links (use an arc or chord diagram)"
      ],
      "fields": [
        {
          "name": "root",
          "type": "category",
          "description": "the top of the hierarchy"
        },
        {
          "name": "classes",
          "type": "id",
          "description": "each class's dotted path, package first"
        },
        {
          "name": "imports",
          "type": "id",
          "description": "[importer, imported] pairs of indices into classes"
        }
      ],
      "tags": [
        "network",
        "hierarchy",
        "dependencies",
        "software",
        "imports",
        "circle",
        "bundling",
        "technology"
      ],
      "mobile": "desktop",
      "mobileNote": "2 labels overlap on a phone",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/edge-bundling",
      "markdown": "/charts/edge-bundling.md",
      "manifest": "/charts/edge-bundling.json"
    },
    {
      "id": "flow-bars",
      "name": "Flow bars",
      "family": "flow",
      "tier": "pro",
      "summary": "Use flow bars to show what comes in and what goes out at each stage as a pair of bars, so the net change is the gap between them.",
      "useWhen": [
        "each stage has an inflow and an outflow",
        "the balance between in and out is the story",
        "there are 4 to 20 stages"
      ],
      "avoidWhen": [
        "there is no natural in and out (use grouped bars)",
        "you need to show where the flow goes next (use a Sankey)",
        "the stages are not in an order",
        "more than about 20 stages (labels thin out)"
      ],
      "fields": [
        {
          "name": "decades[].decade",
          "type": "year",
          "description": "the period, in order: its first year (decades show as 1950s) or any label"
        },
        {
          "name": "decades[].births",
          "type": "number",
          "description": "what came in during the period (named by hints.inWord and inNoun)",
          "unit": "people",
          "format": "count"
        },
        {
          "name": "decades[].deaths",
          "type": "number",
          "description": "what went out during the period (named by hints.outWord and outNoun)",
          "unit": "people",
          "format": "count"
        },
        {
          "name": "decades[].projectedYears",
          "type": "number",
          "description": "how many of the period's years are projections (0 to hints.periodYears; optional)",
          "unit": "years",
          "format": "count",
          "fixed": true,
          "optional": true
        },
        {
          "name": "lastEstimate",
          "type": "year",
          "description": "the last year of estimates (optional)",
          "optional": true
        }
      ],
      "tags": [
        "in and out",
        "inflow",
        "outflow",
        "population",
        "births",
        "deaths",
        "demography",
        "projection"
      ],
      "mobile": "desktop",
      "mobileNote": "2 labels overlap on a phone",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/flow-bars",
      "markdown": "/charts/flow-bars.md",
      "manifest": "/charts/flow-bars.json"
    },
    {
      "id": "force-network",
      "name": "Force network",
      "family": "flow",
      "tier": "free",
      "summary": "Use a force network to show who connects to whom when the shape of the web matters more than exact positions; readers can drag it apart. Takes any { nodes: [{ name, group?, <number>? }], links: [[i, j] or { source, target }] }: links count each node's degree, circles are sized by any number field, and nodes with no links get a dashed ring.",
      "useWhen": [
        "the data is a set of links with no natural layout",
        "clusters, hubs and loners are the story",
        "there are 20 to 150 nodes",
        "any who-links-to-whom data (people, services, papers, stations): links can be node indices, ids or names"
      ],
      "avoidWhen": [
        "readers need to look up a specific pair (use an adjacency matrix)",
        "the network is very dense (it becomes a hairball)",
        "positions carry meaning, such as places on a map (use a map)"
      ],
      "fields": [
        {
          "name": "groups",
          "type": "category",
          "description": "the five UN subregions, in ink order (optional: else groups come in order of first use; past six share one ink and the key says other)",
          "optional": true
        },
        {
          "name": "nodes[].name",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "nodes[].group",
          "type": "category",
          "description": "its UN subregion (optional: a group sets colour and a loose home; the hint homes places groups)",
          "optional": true
        },
        {
          "name": "nodes[].population",
          "type": "number",
          "description": "people, 2024 (null where the World Bank has no figure): the circle's size (optional: any number field works, or name it with the hint size; none sizes by links)",
          "unit": "people",
          "format": "count",
          "optional": true
        },
        {
          "name": "nodes[].borders",
          "type": "number",
          "description": "number of African land neighbours (optional: the chart counts each node's links itself)",
          "unit": "neighbours",
          "format": "count",
          "optional": true
        },
        {
          "name": "links",
          "type": "id",
          "description": "pairs of node indices that share a land border; also [id, id], [name, name] or { source, target }"
        }
      ],
      "tags": [
        "network",
        "graph",
        "borders",
        "Africa",
        "geography",
        "draggable",
        "physics"
      ],
      "mobile": "desktop",
      "mobileNote": "5 labels are cut off at the drawing's edge",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/force-network",
      "markdown": "/charts/force-network.md",
      "manifest": "/charts/force-network.json"
    },
    {
      "id": "funnel",
      "name": "Funnel",
      "family": "flow",
      "tier": "free",
      "summary": "Use a funnel to show how many survive each step of a process, and where most of them drop out.",
      "useWhen": [
        "every item passes through the same ordered stages",
        "the drop between stages is the story",
        "there are 3 to 7 stages"
      ],
      "avoidWhen": [
        "items can skip or return to stages (use a Sankey or state transitions)",
        "stages are not nested subsets of each other",
        "you want to compare several funnels (use grouped bars)"
      ],
      "fields": [
        {
          "name": "stages[].stage",
          "type": "category",
          "description": "the stage, in order"
        },
        {
          "name": "stages[].count",
          "type": "number",
          "sign": "non-negative",
          "description": "signals that reached it",
          "unit": "signals",
          "format": "count"
        },
        {
          "name": "stages[].detail",
          "type": "text",
          "description": "what the stage means"
        },
        {
          "name": "stages[].lost",
          "type": "text",
          "description": "why the others dropped out before it"
        },
        {
          "name": "planets[].name",
          "type": "id",
          "description": "each planet that reached the last stage"
        },
        {
          "name": "planets[].radius",
          "type": "number",
          "sign": "non-negative",
          "description": "radius, Earth = 1",
          "unit": "× Earth",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "planets[].insolation",
          "type": "number",
          "sign": "non-negative",
          "description": "sunlight received, Earth = 1",
          "unit": "× Earth",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "planets[].periodDays",
          "type": "number",
          "sign": "non-negative",
          "description": "length of its year, days",
          "unit": "days",
          "format": "decimal",
          "fixed": true
        }
      ],
      "tags": [
        "drop-off",
        "conversion",
        "pipeline",
        "stages",
        "space",
        "exoplanets",
        "Kepler"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/funnel",
      "markdown": "/charts/funnel.md",
      "manifest": "/charts/funnel.json"
    },
    {
      "id": "hive-plot",
      "name": "Hive plot",
      "family": "flow",
      "tier": "pro",
      "summary": "Use a hive plot to show a network whose nodes fall into a few types: each type gets an axis, so the layout is fixed and comparable rather than a hairball.",
      "useWhen": [
        "nodes have a type or role you can sort them by",
        "you want the same network drawn the same way every time, to compare versions",
        "a force layout turns into a hairball"
      ],
      "avoidWhen": [
        "the network is small enough for a plain node-link drawing",
        "nodes have no meaningful types",
        "readers are new to network charts and need the simplest view"
      ],
      "fields": [
        {
          "name": "modules[].id",
          "type": "id",
          "description": "a D3 module"
        },
        {
          "name": "modules[].version",
          "type": "text",
          "description": "its installed version"
        },
        {
          "name": "links",
          "type": "id",
          "description": "[module, dependency] pairs from package.json"
        }
      ],
      "tags": [
        "network",
        "dependencies",
        "software",
        "graph",
        "roles",
        "technology",
        "D3"
      ],
      "mobile": "desktop",
      "mobileNote": "21 labels overlap on a phone",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/hive-plot",
      "markdown": "/charts/hive-plot.md",
      "manifest": "/charts/hive-plot.json"
    },
    {
      "id": "metro-map",
      "name": "Metro map",
      "family": "flow",
      "tier": "pro",
      "summary": "Use a metro map to show journeys through stages: each item is a coloured line, each stage a station, and where two lines meet is an interchange.",
      "useWhen": [
        "items pass through the same ordered stages",
        "some items meet or merge at a stage",
        "a playful view of a bracket, a pipeline or a career path"
      ],
      "avoidWhen": [
        "the stages have no order",
        "the values at each stage matter more than the path (use a Sankey)",
        "more than about 20 lines"
      ],
      "fields": [
        {
          "name": "round",
          "type": "category",
          "description": "the stage: Round of 16, Quarter-finals, Semi-finals, Final or Match for third place"
        },
        {
          "name": "date",
          "type": "date",
          "description": "the match date"
        },
        {
          "name": "team1",
          "type": "category",
          "description": "the first team"
        },
        {
          "name": "team2",
          "type": "category",
          "description": "the second team"
        },
        {
          "name": "score",
          "type": "text",
          "description": "the score after extra time"
        },
        {
          "name": "pens",
          "type": "text",
          "description": "the penalty shoot-out score, or null"
        },
        {
          "name": "winner",
          "type": "category",
          "description": "the team that went through"
        }
      ],
      "tags": [
        "metro map",
        "subway map",
        "transit",
        "bracket",
        "tournament",
        "stages",
        "football",
        "sport",
        "playful"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/metro-map",
      "markdown": "/charts/metro-map.md",
      "manifest": "/charts/metro-map.json"
    },
    {
      "id": "particle-flow",
      "name": "Particle flow",
      "family": "flow",
      "tier": "pro",
      "summary": "Use a particle flow to show units moving between states, so readers see both the routes and how many take each one.",
      "useWhen": [
        "things move through a small set of states and you want the motion felt",
        "counts can be shown as units (dots) of equal size",
        "there are 3 to 8 routes"
      ],
      "avoidWhen": [
        "readers need exact values at a glance (use a Sankey or bars)",
        "the page must work without motion (the still frame is only a snapshot)",
        "there are many states or routes"
      ],
      "fields": [
        {
          "name": "incomingWm2",
          "type": "number",
          "description": "average sunlight at the top of the atmosphere, watts per square metre",
          "unit": "W/m²",
          "format": "decimal"
        },
        {
          "name": "routes[].label",
          "type": "category",
          "description": "the route a share of sunlight takes"
        },
        {
          "name": "routes[].share",
          "type": "number",
          "description": "percent of incoming sunlight taking it; one dot each",
          "unit": "%",
          "format": "percent"
        },
        {
          "name": "routes[].path",
          "type": "category",
          "description": "the states it passes through"
        },
        {
          "name": "routes[].absorbedIn",
          "type": "category",
          "description": "where sunlight turns to heat, or null if reflected"
        }
      ],
      "tags": [
        "particles",
        "states",
        "energy",
        "climate",
        "Earth",
        "sunlight",
        "physics",
        "flow"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/particle-flow",
      "markdown": "/charts/particle-flow.md",
      "manifest": "/charts/particle-flow.json"
    },
    {
      "id": "plumbing",
      "name": "Plumbing",
      "family": "flow",
      "tier": "pro",
      "summary": "Use a plumbing diagram to show one flow that loses volume along the way, with each leak drawn where and how the value escapes.",
      "useWhen": [
        "one total loses parts in a sequence of steps",
        "the leaks are the story, not the destinations",
        "there are 2 to 5 places where value escapes"
      ],
      "avoidWhen": [
        "flows split and rejoin (use a Sankey)",
        "the order of the losses means nothing (use stacked bars)",
        "readers need exact comparisons across many groups",
        "more than five ways out (the middle ones fold into Other)"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year of the figures"
        },
        {
          "name": "regions[].region",
          "type": "place",
          "description": "the row's name (the world or an OECD region); the first row is drawn"
        },
        {
          "name": "regions[].mismanaged",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "the ways out, one number key each, in order along the pipe: the first leaks, then a drain, a chimney and a spout; the last comes out of the end. 2 to 5 (past five the middle ones fold into the spout as Other), any names. Here: littered or mismanaged, million tonnes",
          "unit": "million tonnes",
          "format": "decimal"
        },
        {
          "name": "regions[].landfilled",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "sent to landfill (the drain), million tonnes",
          "unit": "million tonnes",
          "format": "decimal"
        },
        {
          "name": "regions[].incinerated",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "incinerated (the chimney), million tonnes",
          "unit": "million tonnes",
          "format": "decimal"
        },
        {
          "name": "regions[].recycled",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "recycled (out of the end), million tonnes",
          "unit": "million tonnes",
          "format": "decimal"
        }
      ],
      "tags": [
        "losses",
        "leaks",
        "waste",
        "plastic",
        "recycling",
        "environment",
        "flow"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/plumbing",
      "markdown": "/charts/plumbing.md",
      "manifest": "/charts/plumbing.json"
    },
    {
      "id": "river-delta",
      "name": "River delta",
      "family": "flow",
      "tier": "pro",
      "summary": "Use a river delta to show one total splitting into branches and sub-branches: each channel's width is its share of the flow.",
      "useWhen": [
        "one total that splits into 2 to 6 parts, some of which split again",
        "the biggest branch is the story",
        "a calm, natural metaphor for a flow of stuff"
      ],
      "avoidWhen": [
        "flows merge as well as split (use a Sankey)",
        "more than about 15 end channels",
        "the parts are negative or do not add up"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year of the emissions"
        },
        {
          "name": "branches[].branch",
          "type": "category",
          "description": "the first fork: Energy, Farming, Industry, Waste or Land"
        },
        {
          "name": "branches[].sector",
          "type": "category",
          "description": "the channel at the river's mouth"
        },
        {
          "name": "branches[].tonnes",
          "type": "number",
          "description": "emissions, tonnes of CO₂-equivalent; sets the channel's width",
          "unit": "tonnes",
          "format": "count"
        }
      ],
      "tags": [
        "river",
        "delta",
        "flow",
        "split",
        "tree",
        "sankey",
        "climate",
        "emissions",
        "greenhouse gases"
      ],
      "mobile": "desktop",
      "mobileNote": "17 labels overlap on a phone",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/river-delta",
      "markdown": "/charts/river-delta.md",
      "manifest": "/charts/river-delta.json"
    },
    {
      "id": "sankey",
      "name": "Sankey",
      "family": "flow",
      "tier": "free",
      "summary": "Use a Sankey to show how a total splits and merges across two or more stages, with each ribbon's width as its volume. Takes either the example's countries-by-source table or any process flow as { nodes?, links: [{ source, target, value }] }, with 2 to 5 stages found from the links.",
      "useWhen": [
        "one total splits into parts and those parts regroup at a later stage",
        "the volumes matter as much as the routes",
        "there are 2 to 4 stages with up to about 12 nodes in each",
        "any process or funnel with drop-offs (a pipeline, a budget, a sign-up flow): pass { nodes?, links } and the stages come from the links"
      ],
      "avoidWhen": [
        "the flows loop back on themselves (use a chord or a network)",
        "you need exact comparisons between similar ribbons (use bars)",
        "there are dozens of tiny flows that turn into hair"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year of the figures"
        },
        {
          "name": "sources",
          "type": "category",
          "description": "the middle stage: six groups of generation sources, in ink order"
        },
        {
          "name": "lowCarbon",
          "type": "category",
          "description": "the sources counted as low-carbon in the last stage"
        },
        {
          "name": "countries[].country",
          "type": "place",
          "description": "the first stage: six largest generators and the rest of the world"
        },
        {
          "name": "countries[].<source>",
          "type": "number",
          "description": "terawatt-hours generated from that source in that country",
          "unit": "TWh",
          "format": "count"
        }
      ],
      "tags": [
        "flow",
        "energy",
        "electricity",
        "stages",
        "volume",
        "alluvial",
        "climate"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/sankey",
      "markdown": "/charts/sankey.md",
      "manifest": "/charts/sankey.json"
    },
    {
      "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.",
      "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"
        }
      ],
      "tags": [
        "Markov chain",
        "transition matrix",
        "states",
        "weather",
        "rain",
        "probability",
        "climate"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/state-transitions",
      "markdown": "/charts/state-transitions.md",
      "manifest": "/charts/state-transitions.json"
    },
    {
      "id": "circle-packing",
      "name": "Circle packing",
      "family": "hierarchy",
      "tier": "free",
      "summary": "Use circle packing to show a hierarchy by size as circles inside circles: groups hold their members, each circle's area its value.",
      "useWhen": [
        "a hierarchy where the groups and the few biggest members are the story",
        "a friendly overview of 50 to 300 items",
        "exact comparison matters less than the gestalt"
      ],
      "avoidWhen": [
        "precise comparison (circle packing wastes space and areas are hard to judge; use a treemap or bars)",
        "deep hierarchies (use a zoomable pack)",
        "few items (use bars)"
      ],
      "fields": [
        {
          "name": "country",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "continent",
          "type": "category",
          "description": "the group"
        },
        {
          "name": "people",
          "type": "number",
          "description": "population",
          "unit": "people",
          "format": "count"
        },
        {
          "name": "year",
          "type": "year",
          "description": "the year measured"
        }
      ],
      "tags": [
        "circle packing",
        "bubbles",
        "hierarchy",
        "population",
        "countries",
        "continents",
        "people"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/circle-packing",
      "markdown": "/charts/circle-packing.md",
      "manifest": "/charts/circle-packing.json"
    },
    {
      "id": "collapsible-tree",
      "name": "Collapsible tree",
      "family": "hierarchy",
      "tier": "free",
      "summary": "Use a collapsible tree when a hierarchy is too big to show at once: start with the top levels and let readers open only the branches they care about.",
      "useWhen": [
        "a hierarchy with hundreds or thousands of leaves",
        "readers explore one branch at a time",
        "3 or more levels where the top levels alone tell part of the story"
      ],
      "avoidWhen": [
        "the whole shape must be seen at once (use a radial tree or treemap)",
        "printed or static output",
        "the tree is shallow and small enough to draw open"
      ],
      "fields": [
        {
          "name": "name",
          "type": "category",
          "description": "a node's name: the root (drawn as the tree's first label), a branch or a leaf"
        },
        {
          "name": "children",
          "type": "id",
          "description": "the nodes below; any depth (2 to about 6 levels), leaves have none"
        },
        {
          "name": "value",
          "type": "number",
          "unit": "items",
          "sign": "non-negative",
          "format": "count",
          "description": "optional: a leaf's size (1 when left out); a branch counts the sum of its leaves",
          "optional": true
        },
        {
          "name": "year",
          "type": "year",
          "description": "optional: a leaf's year, shown after its name; the root's tooltip spans the years",
          "optional": true
        },
        {
          "name": "org",
          "type": "category",
          "description": "optional: true marks a leaf whose tooltip says the hint flag",
          "optional": true
        }
      ],
      "tags": [
        "collapsible tree",
        "expandable",
        "drill down",
        "hierarchy",
        "nobel prize",
        "science",
        "history"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/collapsible-tree",
      "markdown": "/charts/collapsible-tree.md",
      "manifest": "/charts/collapsible-tree.json"
    },
    {
      "id": "dendrogram",
      "name": "Dendrogram",
      "family": "hierarchy",
      "tier": "free",
      "summary": "Use a dendrogram to show a cluster tree: which items are most alike, in what order groups merge, and how far apart they are when they do.",
      "useWhen": [
        "items were clustered and the merge order and distances matter",
        "5 to 60 leaves with readable names",
        "you want readers to choose how many groups to cut into"
      ],
      "avoidWhen": [
        "the tree is a real hierarchy, not a clustering (use a tree or an indented tree)",
        "hundreds of leaves (use a heatmap with a dendrogram edge, or a radial tree)",
        "the distance measure is not explained"
      ],
      "fields": [
        {
          "name": "name",
          "type": "category",
          "description": "a leaf: the city"
        },
        {
          "name": "months",
          "type": "number",
          "description": "a leaf's values, one per period, in order (12 monthly mean temperatures in 2024, °C, in the example; any count works, named by hints.periods, else month initials for twelve, else 1 to N)",
          "unit": "°C",
          "format": "decimal"
        },
        {
          "name": "height",
          "type": "number",
          "description": "an inner node: the average distance between the two groups it joins",
          "unit": "°C",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "children",
          "type": "id",
          "description": "an inner node's two subtrees"
        }
      ],
      "tags": [
        "dendrogram",
        "cluster tree",
        "hierarchical clustering",
        "similarity",
        "climate",
        "cities",
        "weather"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/dendrogram",
      "markdown": "/charts/dendrogram.md",
      "manifest": "/charts/dendrogram.json"
    },
    {
      "id": "icicle",
      "name": "Icicle",
      "family": "hierarchy",
      "tier": "free",
      "summary": "Use an icicle to show a hierarchy as stacked rectangles by level: each level is a column, each box as tall as its share; click to zoom.",
      "useWhen": [
        "three or more levels of a hierarchy",
        "you want sizes comparable as straight lengths (easier than a sunburst's angles)",
        "readers drill down by clicking"
      ],
      "avoidWhen": [
        "one or two levels (use a treemap or bars)",
        "hundreds of leaves at once (they become slivers; zoom helps only so much)",
        "values can be negative"
      ],
      "fields": [
        {
          "name": "continents[].name",
          "type": "category",
          "description": "the continent"
        },
        {
          "name": "continents[].children[].name",
          "type": "place",
          "description": "a country, or the rest of the continent"
        },
        {
          "name": "continents[].children[].mix",
          "type": "number",
          "description": "electricity by source (Coal, Gas, Hydro, Nuclear, Wind and solar, Other), TWh",
          "unit": "TWh",
          "format": "count"
        },
        {
          "name": "year",
          "type": "year",
          "description": "the year measured"
        }
      ],
      "tags": [
        "icicle",
        "partition",
        "hierarchy",
        "zoom",
        "drill down",
        "energy",
        "electricity",
        "coal",
        "countries"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone the chart isn't the main thing on screen (checked by eye)",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "9:16",
      "page": "/charts/icicle",
      "markdown": "/charts/icicle.md",
      "manifest": "/charts/icicle.json"
    },
    {
      "id": "indented-tree",
      "name": "Indented tree",
      "family": "hierarchy",
      "tier": "pro",
      "summary": "Use an indented tree to show a hierarchy as an outline people can scan and open, with a value bar on every row.",
      "useWhen": [
        "a hierarchy with long names that people read like a list",
        "every node has a value worth comparing",
        "readers open one branch at a time"
      ],
      "avoidWhen": [
        "the overall shape matters more than the names (use a treemap or sunburst)",
        "only one level (use sorted bars)",
        "a very deep tree (the indents run off the page)"
      ],
      "fields": [
        {
          "name": "name",
          "type": "category",
          "description": "an order or a family"
        },
        {
          "name": "value",
          "type": "number",
          "description": "a family's number of living species",
          "unit": "species",
          "format": "count"
        },
        {
          "name": "children",
          "type": "id",
          "description": "an order's families"
        }
      ],
      "tags": [
        "indented tree",
        "outline",
        "collapsible",
        "hierarchy",
        "animals",
        "mammals",
        "biodiversity"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/indented-tree",
      "markdown": "/charts/indented-tree.md",
      "manifest": "/charts/indented-tree.json"
    },
    {
      "id": "nested-treemap",
      "name": "Nested treemap",
      "family": "hierarchy",
      "tier": "pro",
      "summary": "Use a nested treemap to show a two-level hierarchy by size: groups as bordered boxes, their members as tiles inside.",
      "useWhen": [
        "two levels (groups and members) of one total",
        "both the group totals and the biggest members matter",
        "20 to 200 members"
      ],
      "avoidWhen": [
        "more than two levels (use a sunburst, an icicle or a zoomable treemap)",
        "exact comparison of similar tiles",
        "negative values"
      ],
      "fields": [
        {
          "name": "country",
          "type": "place",
          "description": "the country, or a continent's smaller economies folded together"
        },
        {
          "name": "continent",
          "type": "category",
          "description": "the group"
        },
        {
          "name": "usd",
          "type": "number",
          "description": "GDP, billion current US dollars",
          "unit": "billion USD",
          "format": "count"
        },
        {
          "name": "worldBn",
          "type": "number",
          "description": "world GDP, billion US dollars",
          "unit": "billion USD",
          "format": "count"
        }
      ],
      "tags": [
        "nested treemap",
        "treemap",
        "hierarchy",
        "gdp",
        "economy",
        "countries",
        "continents",
        "money"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/nested-treemap",
      "markdown": "/charts/nested-treemap.md",
      "manifest": "/charts/nested-treemap.json"
    },
    {
      "id": "org-chart",
      "name": "Org chart",
      "family": "hierarchy",
      "tier": "pro",
      "summary": "Use an org chart to show who sits under whom as boxes joined top-down, with one small measure per box when it helps.",
      "useWhen": [
        "reporting lines or containment, with 3 to 30 boxes",
        "each box needs a short name, a long name and maybe one number",
        "readers know the organisation and look for a part of it"
      ],
      "avoidWhen": [
        "the boxes' sizes are the story (use a treemap)",
        "hundreds of units (use a collapsible or indented tree)",
        "people, not units, unless they agreed to be shown"
      ],
      "fields": [
        {
          "name": "name",
          "type": "category",
          "description": "the unit's full name"
        },
        {
          "name": "short",
          "type": "category",
          "description": "its short name or acronym"
        },
        {
          "name": "docs",
          "type": "number",
          "description": "Federal Register documents in 2025 that list this unit",
          "unit": "documents",
          "format": "count"
        },
        {
          "name": "children",
          "type": "id",
          "description": "the units beneath it"
        }
      ],
      "tags": [
        "org chart",
        "organisation",
        "tree",
        "boxes",
        "government",
        "hierarchy",
        "weather",
        "noaa"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/org-chart",
      "markdown": "/charts/org-chart.md",
      "manifest": "/charts/org-chart.json"
    },
    {
      "id": "radial-tree",
      "name": "Radial tree",
      "family": "hierarchy",
      "tier": "pro",
      "summary": "Use a radial tree to fit a wide hierarchy (dozens to a few hundred leaves) into a square, with the root in the centre and the leaves around the rim.",
      "useWhen": [
        "a tree with many leaves that would be too tall drawn top-down",
        "the shape of the whole tree matters more than reading every path",
        "two or three levels with names at the leaves"
      ],
      "avoidWhen": [
        "readers must compare depths or lengths exactly (use a dendrogram or indented tree)",
        "leaf names are long",
        "fewer than about 20 leaves (a plain tree reads better)"
      ],
      "fields": [
        {
          "name": "name",
          "type": "category",
          "description": "the taxon: order, family or genus"
        },
        {
          "name": "suborder",
          "type": "category",
          "description": "a family's suborder: Caniformia (dog-like) or Feliformia (cat-like)"
        },
        {
          "name": "value",
          "type": "number",
          "description": "a genus's number of living species",
          "unit": "species",
          "format": "count"
        },
        {
          "name": "example",
          "type": "text",
          "description": "a genus's example common name"
        },
        {
          "name": "children",
          "type": "id",
          "description": "the taxa below"
        }
      ],
      "tags": [
        "radial tree",
        "tree of life",
        "taxonomy",
        "hierarchy",
        "animals",
        "mammals",
        "carnivores",
        "biology"
      ],
      "mobile": "desktop",
      "mobileNote": "400 labels overlap on a phone",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/radial-tree",
      "markdown": "/charts/radial-tree.md",
      "manifest": "/charts/radial-tree.json"
    },
    {
      "id": "sunburst",
      "name": "Sunburst",
      "family": "hierarchy",
      "tier": "free",
      "summary": "Use a sunburst to show nested shares as rings: the inner ring is the groups, the outer ring their members; click to zoom into one group.",
      "useWhen": [
        "two or three levels of a hierarchy of shares",
        "the top level is the story and the next level is detail on demand",
        "a compact, round overview that zooms"
      ],
      "avoidWhen": [
        "precise comparison (angles and arcs are hard to compare; use an icicle or bars)",
        "deep hierarchies (outer rings become slivers)",
        "values can be negative"
      ],
      "fields": [
        {
          "name": "continent",
          "type": "category",
          "description": "the inner ring"
        },
        {
          "name": "country",
          "type": "place",
          "description": "the outer ring, or a continent's smaller forests folded together"
        },
        {
          "name": "km2",
          "type": "number",
          "description": "forest area, square kilometres",
          "unit": "km²",
          "format": "count"
        },
        {
          "name": "year",
          "type": "year",
          "description": "the year measured"
        }
      ],
      "tags": [
        "sunburst",
        "radial",
        "hierarchy",
        "zoom",
        "forests",
        "trees",
        "nature",
        "climate",
        "land"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "9:16",
      "page": "/charts/sunburst",
      "markdown": "/charts/sunburst.md",
      "manifest": "/charts/sunburst.json"
    },
    {
      "id": "zoomable-pack",
      "name": "Zoomable pack",
      "family": "hierarchy",
      "tier": "pro",
      "summary": "Use a zoomable circle pack to show a two- or three-level hierarchy of sizes, with click to zoom so the small members stay readable.",
      "useWhen": [
        "a hierarchy of sizes with many small members",
        "readers explore groups one at a time",
        "the biggest members matter most and the rest give texture"
      ],
      "avoidWhen": [
        "readers must compare sizes exactly (use a treemap or bars)",
        "the hierarchy is deep (more than three levels)",
        "a static image is needed (zooming is the point)"
      ],
      "fields": [
        {
          "name": "name",
          "type": "category",
          "description": "continent or country"
        },
        {
          "name": "value",
          "type": "number",
          "description": "a country's CO2 emissions, million tonnes",
          "unit": "million tonnes",
          "format": "decimal"
        },
        {
          "name": "children",
          "type": "id",
          "description": "a continent's countries"
        }
      ],
      "tags": [
        "circle packing",
        "zoom",
        "hierarchy",
        "part to whole",
        "climate",
        "emissions",
        "co2"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/zoomable-pack",
      "markdown": "/charts/zoomable-pack.md",
      "manifest": "/charts/zoomable-pack.json"
    },
    {
      "id": "bivariate-map",
      "name": "Bivariate map",
      "family": "maps",
      "tier": "pro",
      "summary": "Use a bivariate map to colour places by two measures at once with a 3×3 key, when the link between them is the story.",
      "useWhen": [
        "two measures per place and their overlap matters",
        "readers can learn a 3×3 key",
        "finding places that break the pattern"
      ],
      "avoidWhen": [
        "exact values matter (use a scatter)",
        "more than two measures",
        "an audience new to maps (use two maps side by side)"
      ],
      "fields": [
        {
          "name": "id",
          "type": "id",
          "description": "ISO 3166-1 numeric code"
        },
        {
          "name": "name",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "gdp",
          "type": "number",
          "description": "GDP per person, PPP, constant 2021 international $",
          "unit": "USD",
          "format": "currency"
        },
        {
          "name": "co2",
          "type": "number",
          "description": "CO2 per person, tonnes",
          "unit": "tonnes",
          "format": "count"
        }
      ],
      "tags": [
        "bivariate",
        "choropleth",
        "two variables",
        "GDP",
        "CO2",
        "climate",
        "inequality",
        "3x3 key"
      ],
      "mobile": "desktop",
      "mobileNote": "1 label is cut off at the drawing's edge",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/bivariate-map",
      "markdown": "/charts/bivariate-map.md",
      "manifest": "/charts/bivariate-map.json"
    },
    {
      "id": "bubble-map",
      "name": "Bubble map",
      "family": "maps",
      "tier": "free",
      "summary": "Use a bubble map to show amounts at places, with each circle's area set by the amount, when totals matter more than territory.",
      "useWhen": [
        "totals or counts at points or places",
        "a few places hold most of the amount",
        "location and size both matter"
      ],
      "avoidWhen": [
        "values are rates or shares (use a choropleth)",
        "hundreds of points overlap (use a hexbin or density)",
        "readers need exact values (use sorted bars)"
      ],
      "fields": [
        {
          "name": "place",
          "type": "place",
          "description": "USGS place description"
        },
        {
          "name": "mag",
          "type": "number",
          "description": "moment magnitude",
          "unit": "magnitude",
          "format": "decimal"
        },
        {
          "name": "date",
          "type": "date",
          "description": "date, UTC"
        },
        {
          "name": "lon",
          "type": "number",
          "description": "longitude",
          "unit": "°",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "lat",
          "type": "number",
          "description": "latitude",
          "unit": "°",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "depth",
          "type": "number",
          "description": "depth, km",
          "unit": "km",
          "format": "count"
        }
      ],
      "tags": [
        "bubble map",
        "proportional symbols",
        "earthquakes",
        "energy",
        "magnitude",
        "log scale",
        "USGS"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "9:16",
      "page": "/charts/bubble-map",
      "markdown": "/charts/bubble-map.md",
      "manifest": "/charts/bubble-map.json"
    },
    {
      "id": "country-silhouettes",
      "name": "Country silhouettes",
      "family": "maps",
      "tier": "pro",
      "summary": "Use country silhouettes to draw each country's real outline scaled to a value, side by side, so the amounts carry the shapes people know.",
      "useWhen": [
        "a handful of countries readers recognise by shape",
        "the gap between a value and land size is the story",
        "a memorable, poster-like view"
      ],
      "avoidWhen": [
        "more than about 12 countries",
        "unfamiliar shapes (use circles)",
        "exact comparison (use sorted bars)"
      ],
      "fields": [
        {
          "name": "world",
          "sign": "non-negative",
          "type": "number",
          "description": "world production, tonnes",
          "unit": "tonnes",
          "format": "count"
        },
        {
          "name": "rows.id",
          "type": "id",
          "description": "ISO 3166-1 numeric code"
        },
        {
          "name": "rows.name",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "rows.t",
          "type": "number",
          "description": "green coffee produced, tonnes",
          "unit": "tonnes",
          "format": "count"
        }
      ],
      "tags": [
        "silhouettes",
        "shapes",
        "coffee",
        "food",
        "agriculture",
        "proportional area",
        "countries"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/country-silhouettes",
      "markdown": "/charts/country-silhouettes.md",
      "manifest": "/charts/country-silhouettes.json"
    },
    {
      "id": "dorling-cartogram",
      "name": "Dorling cartogram",
      "family": "maps",
      "tier": "pro",
      "summary": "Use a Dorling cartogram to redraw countries as circles sized by a total, kept near their place on the map.",
      "useWhen": [
        "a total per country, where land area would mislead",
        "a world-scale picture of who has how much",
        "10 to 150 places"
      ],
      "avoidWhen": [
        "readers must find countries by exact shape (use a choropleth)",
        "values are rates (use a choropleth)",
        "exact comparisons matter (use sorted bars)"
      ],
      "fields": [
        {
          "name": "id",
          "type": "id",
          "description": "ISO 3166-1 numeric code"
        },
        {
          "name": "name",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "twh",
          "type": "number",
          "description": "solar generation, TWh",
          "unit": "TWh",
          "format": "count"
        }
      ],
      "tags": [
        "cartogram",
        "Dorling",
        "solar",
        "electricity",
        "energy",
        "renewables",
        "circles"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "16:9",
      "page": "/charts/dorling-cartogram",
      "markdown": "/charts/dorling-cartogram.md",
      "manifest": "/charts/dorling-cartogram.json"
    },
    {
      "id": "dot-density",
      "name": "Dot density",
      "family": "maps",
      "tier": "pro",
      "summary": "Use a dot density map to show a total as countable dots scattered inside each area, so amounts feel physical.",
      "useWhen": [
        "a total (people, tonnes, votes) across areas",
        "you want amounts to feel countable",
        "the pattern inside regions matters more than exact values"
      ],
      "avoidWhen": [
        "small areas with big totals (dots pile up; use bubbles)",
        "rates or shares (use a choropleth)",
        "readers will read the dot positions as real locations"
      ],
      "fields": [
        {
          "name": "id",
          "type": "id",
          "description": "ISO 3166-1 numeric code"
        },
        {
          "name": "name",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "t",
          "type": "number",
          "description": "CO2 emitted in 2024, tonnes",
          "unit": "tonnes",
          "format": "count"
        }
      ],
      "tags": [
        "dot density",
        "dot map",
        "CO2",
        "emissions",
        "climate",
        "unit dots",
        "countable"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/dot-density",
      "markdown": "/charts/dot-density.md",
      "manifest": "/charts/dot-density.json"
    },
    {
      "id": "flow-field",
      "name": "Flow field",
      "family": "maps",
      "tier": "pro",
      "summary": "Use a flow field to turn point data into a texture: thousands of strokes follow a current that swirls around each data point, so clusters become storms you can see from across a room.",
      "useWhen": [
        "dozens to hundreds of located events",
        "an atmospheric cover image that still marks every real point",
        "where things cluster matters more than exact values"
      ],
      "avoidWhen": [
        "readers need to compare magnitudes precisely (use a dot map or a table)",
        "the strokes could be mistaken for a real flow such as wind",
        "very dense points (the swirls merge into noise)"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "calendar year"
        },
        {
          "name": "quakes[].place",
          "type": "place",
          "description": "USGS place description"
        },
        {
          "name": "quakes[].mag",
          "type": "number",
          "description": "magnitude",
          "unit": "magnitude",
          "format": "decimal"
        },
        {
          "name": "quakes[].lon",
          "type": "number",
          "description": "longitude, degrees",
          "unit": "°",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "quakes[].lat",
          "type": "number",
          "description": "latitude, degrees",
          "unit": "°",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "quakes[].depth",
          "type": "number",
          "description": "depth, km",
          "unit": "km",
          "format": "count"
        },
        {
          "name": "quakes[].date",
          "type": "date",
          "description": "date, UTC"
        }
      ],
      "tags": [
        "flow field",
        "generative art",
        "data art",
        "earthquakes",
        "geology",
        "map",
        "Ring of Fire"
      ],
      "mobile": "desktop",
      "mobileNote": "1 label is cut off at the drawing's edge",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/flow-field",
      "markdown": "/charts/flow-field.md",
      "manifest": "/charts/flow-field.json"
    },
    {
      "id": "flow-map",
      "name": "Flow map",
      "family": "maps",
      "tier": "free",
      "summary": "Use a flow map to show volumes moving between places, with curved lines whose width is the volume.",
      "useWhen": [
        "volumes between pairs of places",
        "geography explains the flows",
        "up to about 30 flows"
      ],
      "avoidWhen": [
        "hundreds of flows (they tangle; use a matrix or chord)",
        "the places' positions do not matter (use a Sankey)",
        "flows have no direction or size"
      ],
      "fields": [
        {
          "name": "airports",
          "type": "place",
          "description": "airport name to [longitude, latitude]"
        },
        {
          "name": "routes.kind",
          "type": "category",
          "description": "the kind of route (any values; colours, key and tooltip follow them)"
        },
        {
          "name": "routes.rank",
          "type": "number",
          "description": "rank within its list",
          "unit": "rank",
          "format": "count",
          "fixed": true
        },
        {
          "name": "routes.a",
          "type": "place",
          "description": "first airport"
        },
        {
          "name": "routes.b",
          "type": "place",
          "description": "second airport"
        },
        {
          "name": "routes.seats",
          "type": "number",
          "description": "scheduled seats both ways, 2025",
          "unit": "seats",
          "format": "count"
        }
      ],
      "tags": [
        "flow map",
        "routes",
        "flights",
        "aviation",
        "travel",
        "arcs",
        "origin destination"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/flow-map",
      "markdown": "/charts/flow-map.md",
      "manifest": "/charts/flow-map.json"
    },
    {
      "id": "latitude-strip",
      "name": "Latitude strip",
      "family": "maps",
      "tier": "pro",
      "summary": "Use a latitude strip to total a map's values in bands of latitude, drawn beside the map at the same heights.",
      "useWhen": [
        "many points or values where north–south position matters",
        "a map and a total should be read together",
        "bands of latitude mean something (climate, daylight, aftershock zones)"
      ],
      "avoidWhen": [
        "east–west position is the story (use a longitude strip or a plain map)",
        "few points (the bars say little)",
        "areas, not points (use a choropleth)"
      ],
      "fields": [
        {
          "name": "[0]",
          "type": "number",
          "description": "longitude",
          "unit": "°",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "[1]",
          "type": "number",
          "description": "latitude",
          "unit": "°",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "[2]",
          "type": "number",
          "description": "magnitude",
          "unit": "magnitude",
          "format": "decimal"
        }
      ],
      "tags": [
        "latitude",
        "marginal histogram",
        "map",
        "earthquakes",
        "aftershocks",
        "USGS",
        "strip"
      ],
      "mobile": "desktop",
      "mobileNote": "2 labels overlap on a phone",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/latitude-strip",
      "markdown": "/charts/latitude-strip.md",
      "manifest": "/charts/latitude-strip.json"
    },
    {
      "id": "map-year-slider",
      "name": "Map with a year slider",
      "family": "maps",
      "tier": "pro",
      "summary": "Use a map with a year slider to play a choropleth through time, so the spread of a change across countries can be watched.",
      "useWhen": [
        "one rate per country over many years",
        "how a change spreads across places matters",
        "readers can watch a short animation"
      ],
      "avoidWhen": [
        "only two or three years (use small-multiple maps)",
        "exact trends per country (use a line chart)",
        "still images or print"
      ],
      "fields": [
        {
          "name": "years",
          "type": "year",
          "description": "the years on the slider"
        },
        {
          "name": "rows.id",
          "type": "id",
          "description": "ISO 3166-1 numeric code"
        },
        {
          "name": "rows.name",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "rows.v",
          "type": "number",
          "description": "share of adults obese per year, %",
          "unit": "%",
          "format": "percent"
        }
      ],
      "tags": [
        "animated map",
        "time slider",
        "choropleth",
        "obesity",
        "health",
        "food",
        "change over time"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/map-year-slider",
      "markdown": "/charts/map-year-slider.md",
      "manifest": "/charts/map-year-slider.json"
    },
    {
      "id": "particle-portrait",
      "name": "Particle portrait",
      "family": "maps",
      "tier": "pro",
      "summary": "Use a particle portrait when one dot per unit can draw a recognisable shape: the data itself paints the picture, then regroups to show the totals.",
      "useWhen": [
        "a count can be shown as units that form a meaningful shape",
        "an opening image for a story or a talk",
        "you want to move from where to how many with one transition"
      ],
      "avoidWhen": [
        "precision matters more than impression",
        "small places would vanish and they are the story",
        "the shape the dots form says nothing"
      ],
      "fields": [
        {
          "name": "id",
          "type": "id",
          "description": "ISO 3166 numeric code, matches the map (else the country name is tried)"
        },
        {
          "name": "country",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "continent",
          "type": "category",
          "description": "the group that colours its dots and makes its pile (any values; past six the smallest fold into Other)"
        },
        {
          "name": "lat",
          "type": "number",
          "description": "optional: latitude, to place a row the map lacks (else its id or name finds the country)",
          "unit": "degrees",
          "format": "decimal",
          "fixed": true,
          "optional": true
        },
        {
          "name": "lon",
          "type": "number",
          "description": "optional: longitude, with lat",
          "unit": "degrees",
          "format": "decimal",
          "fixed": true,
          "optional": true
        },
        {
          "name": "population",
          "type": "number",
          "description": "people, 2023",
          "unit": "people",
          "format": "count"
        }
      ],
      "tags": [
        "particles",
        "unit chart",
        "dot map",
        "data art",
        "population",
        "world",
        "generative"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/particle-portrait",
      "markdown": "/charts/particle-portrait.md",
      "manifest": "/charts/particle-portrait.json"
    },
    {
      "id": "route-lines",
      "name": "Route lines",
      "family": "maps",
      "tier": "pro",
      "summary": "Use route lines to draw paths across a map in the order they happened, when the journey itself is the data.",
      "useWhen": [
        "paths or journeys with an order",
        "where things went matters as much as how far",
        "up to about 30 paths"
      ],
      "avoidWhen": [
        "hundreds of overlapping tracks (use a density map)",
        "only start and end matter (use a flow map)",
        "timing matters more than place (use a timeline)"
      ],
      "fields": [
        {
          "name": "id",
          "type": "id",
          "description": "a code for the path"
        },
        {
          "name": "name",
          "type": "category",
          "description": "the path's name"
        },
        {
          "name": "pts",
          "type": "number",
          "description": "points along the path in order: [longitude, latitude, a value such as wind speed (its levels: the hint breaks, else thirds), date yyyymmdd]",
          "unit": "° and knots",
          "format": "decimal",
          "fixed": true
        }
      ],
      "tags": [
        "route map",
        "paths",
        "hurricanes",
        "storms",
        "weather",
        "climate",
        "tracks",
        "NOAA"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/route-lines",
      "markdown": "/charts/route-lines.md",
      "manifest": "/charts/route-lines.json"
    },
    {
      "id": "self-portrait",
      "name": "Dear Data card",
      "family": "maps",
      "tier": "pro",
      "summary": "Use a Dear Data card to draw one week of small events by hand, one mark per event, with the key on the back like a postcard.",
      "useWhen": [
        "a personal or small dataset of events over days or weeks",
        "the texture of the data matters more than exact values",
        "a warm, handmade tone suits the story (newsletters, posts, talks)"
      ],
      "avoidWhen": [
        "readers must compare values precisely",
        "more than about a thousand marks",
        "a formal report needs a conventional chart",
        "a span of many years (columns become years)"
      ],
      "fields": [
        {
          "name": "generated",
          "type": "date",
          "description": "when the data ends (optional; else the last event); columns are hours, days, weeks, months or years, whichever fits the span in about ten",
          "optional": true
        },
        {
          "name": "quakes[].time",
          "type": "date",
          "description": "the event's time, UTC"
        },
        {
          "name": "quakes[].mag",
          "type": "number",
          "description": "magnitude",
          "unit": "magnitude",
          "format": "decimal"
        },
        {
          "name": "quakes[].depth",
          "type": "number",
          "description": "depth, km",
          "unit": "km",
          "format": "count"
        },
        {
          "name": "quakes[].place",
          "type": "place",
          "description": "where it happened (\"… of Town, Region\" reads best)"
        },
        {
          "name": "quakes[].lat",
          "type": "number",
          "description": "latitude",
          "unit": "°",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "quakes[].lon",
          "type": "number",
          "description": "longitude",
          "unit": "°",
          "format": "decimal",
          "fixed": true
        }
      ],
      "tags": [
        "dear data",
        "hand-drawn",
        "postcard",
        "personal data",
        "sketchy",
        "earthquakes",
        "week",
        "generative"
      ],
      "mobile": "desktop",
      "mobileNote": "3 labels overlap on a phone",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/self-portrait",
      "markdown": "/charts/self-portrait.md",
      "manifest": "/charts/self-portrait.json"
    },
    {
      "id": "small-multiple-maps",
      "name": "Small-multiple maps",
      "family": "maps",
      "tier": "free",
      "summary": "Use small-multiple maps to show the same map for several years or measures side by side, so change reads at a glance.",
      "useWhen": [
        "the same measure at 2 to 6 moments",
        "the spread of something across the map over time",
        "readers should compare whole patterns, not single values"
      ],
      "avoidWhen": [
        "many time steps (use a map with a year slider)",
        "exact values matter (use a line chart)",
        "the maps would be too small to read on a phone (use one map and Play)"
      ],
      "fields": [
        {
          "name": "years",
          "type": "year",
          "description": "the years shown, one map each, 2 to 9 (more are laid out but get small)"
        },
        {
          "name": "rows.id",
          "type": "id",
          "description": "ISO 3166-1 numeric code"
        },
        {
          "name": "rows.name",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "rows.v",
          "type": "number",
          "description": "share online in each year, % (null when missing)",
          "unit": "%",
          "format": "percent"
        }
      ],
      "tags": [
        "small multiples",
        "maps",
        "internet",
        "technology",
        "change over time",
        "choropleth"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/small-multiple-maps",
      "markdown": "/charts/small-multiple-maps.md",
      "manifest": "/charts/small-multiple-maps.json"
    },
    {
      "id": "spike-map",
      "name": "Spike map",
      "family": "maps",
      "tier": "pro",
      "summary": "Use a spike map to show amounts at many places with height instead of area, so crowded points stay readable.",
      "useWhen": [
        "many places, many close together",
        "values span a wide range",
        "you want a striking skyline of where amounts pile up",
        "points anywhere: a US map when every point is in the US, else a world or regional map fitted to them"
      ],
      "avoidWhen": [
        "readers must compare exact heights (use bars)",
        "a few points only (use bubbles)",
        "the values are rates (use a choropleth)"
      ],
      "fields": [
        {
          "name": "city",
          "type": "place",
          "description": "each spike's label (municipality)"
        },
        {
          "name": "st",
          "type": "category",
          "description": "optional: a short note after the label (state abbreviation)",
          "optional": true
        },
        {
          "name": "p2025",
          "sign": "non-negative",
          "type": "number",
          "description": "the spike's height (1 July 2025 estimate, people)",
          "unit": "people",
          "format": "count"
        },
        {
          "name": "p2020",
          "sign": "non-negative",
          "type": "number",
          "description": "optional: a baseline that colours each spike by rise or fall (2020 census, people); the key's words come from the hints up, down, from and noun",
          "unit": "people",
          "format": "count",
          "optional": true
        },
        {
          "name": "lat",
          "type": "number",
          "description": "latitude; the US map when every point is in the US, else a world or regional map fitted to the points",
          "unit": "°",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "lon",
          "type": "number",
          "description": "longitude",
          "unit": "°",
          "format": "decimal",
          "fixed": true
        }
      ],
      "tags": [
        "spike map",
        "US cities",
        "population",
        "growth",
        "proportional symbols",
        "census"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/spike-map",
      "markdown": "/charts/spike-map.md",
      "manifest": "/charts/spike-map.json"
    },
    {
      "id": "spinning-globe",
      "name": "Spinning globe",
      "family": "maps",
      "tier": "pro",
      "summary": "Use a spinning globe to show a value per country as a real sphere, with no map projection stretching the poles.",
      "useWhen": [
        "a playful, tactile view of a world map",
        "polar or Pacific countries matter",
        "readers want to turn to their own country"
      ],
      "avoidWhen": [
        "everything must be visible at once (use a flat map)",
        "precise comparison between distant countries",
        "print or still images"
      ],
      "fields": [
        {
          "name": "id",
          "type": "id",
          "description": "ISO 3166-1 numeric code"
        },
        {
          "name": "name",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "v",
          "type": "number",
          "description": "temperature anomaly, °C",
          "unit": "°C",
          "format": "decimal"
        }
      ],
      "tags": [
        "globe",
        "orthographic",
        "3D",
        "temperature",
        "climate",
        "warming",
        "drag",
        "interactive"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "9:16",
      "page": "/charts/spinning-globe",
      "markdown": "/charts/spinning-globe.md",
      "manifest": "/charts/spinning-globe.json"
    },
    {
      "id": "us-choropleth",
      "name": "US choropleth",
      "family": "maps",
      "tier": "free",
      "summary": "Use a US choropleth to show one rate per state, with a strip of dots underneath so the small north-eastern states can be read too.",
      "useWhen": [
        "one rate or change per US state",
        "regional patterns matter (the South, the Mountain West)",
        "readers want to find their own state"
      ],
      "avoidWhen": [
        "the value is a count (big states dominate; use a hex map or bubbles)",
        "the tiny states carry the story (use a hex map)",
        "there is no geographic pattern to show"
      ],
      "fields": [
        {
          "name": "fips",
          "type": "id",
          "description": "state FIPS code, matching us-atlas"
        },
        {
          "name": "state",
          "type": "place",
          "description": "the state or DC"
        },
        {
          "name": "p2020",
          "type": "number",
          "description": "April 2020 estimates base, people",
          "unit": "people",
          "format": "count"
        },
        {
          "name": "p2024",
          "type": "number",
          "description": "1 July 2024 estimate, people",
          "unit": "people",
          "format": "count"
        },
        {
          "name": "pct",
          "type": "number",
          "description": "change, %",
          "unit": "%",
          "format": "percent"
        }
      ],
      "tags": [
        "choropleth",
        "US map",
        "states",
        "population",
        "growth",
        "diverging colour",
        "census"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/us-choropleth",
      "markdown": "/charts/us-choropleth.md",
      "manifest": "/charts/us-choropleth.json"
    },
    {
      "id": "us-hex-map",
      "name": "US hex map",
      "family": "maps",
      "tier": "pro",
      "summary": "Use a US hex map to give every state the same space, so Rhode Island counts as much as Texas, when each state is one equal unit of the story.",
      "useWhen": [
        "one value per US state where every state matters equally",
        "small eastern states would vanish on a real map",
        "a compact, label-friendly map"
      ],
      "avoidWhen": [
        "real shape and size matter (use a choropleth)",
        "readers do not know the US well enough to find states by position",
        "you have counties or finer areas"
      ],
      "fields": [
        {
          "name": "fips",
          "type": "id",
          "description": "state FIPS code (two digits); states missing from the data show as grey no-data tiles"
        },
        {
          "name": "state",
          "type": "place",
          "description": "the state or DC"
        },
        {
          "name": "mig",
          "type": "number",
          "description": "net domestic migration, people, April 2020 to July 2024",
          "unit": "people",
          "format": "count"
        },
        {
          "name": "per1000",
          "type": "number",
          "description": "the same per 1,000 residents of 2020",
          "unit": "per 1,000",
          "format": "decimal"
        }
      ],
      "tags": [
        "hex map",
        "tile map",
        "US states",
        "migration",
        "equal area",
        "diverging colour",
        "census"
      ],
      "mobile": "desktop",
      "mobileNote": "52 labels overlap on a phone",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/us-hex-map",
      "markdown": "/charts/us-hex-map.md",
      "manifest": "/charts/us-hex-map.json"
    },
    {
      "id": "weather-map",
      "name": "Weather map",
      "family": "maps",
      "tier": "pro",
      "summary": "Use a weather map to show a value that varies over places as a pressure field: isobars join equal values, and H and L mark the regional highs and lows.",
      "useWhen": [
        "a value measured at many places, where regional patterns matter more than borders",
        "a playful forecast look for an explainer",
        "you want to point out local peaks and dips"
      ],
      "avoidWhen": [
        "the value really changes at borders (use a choropleth)",
        "readers need each country's exact value",
        "the places are few or far apart (the field between them is invented)"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the survey year"
        },
        {
          "name": "countries[].country",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "countries[].iso3",
          "type": "id",
          "description": "ISO 3166 alpha-3 code"
        },
        {
          "name": "countries[].score",
          "type": "number",
          "description": "life satisfaction, 0–10 (Cantril ladder)",
          "unit": "points (0–10)",
          "format": "decimal"
        },
        {
          "name": "countries[].lon",
          "type": "number",
          "description": "longitude of the country's main landmass centroid",
          "unit": "°",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "countries[].lat",
          "type": "number",
          "description": "latitude of the country's main landmass centroid",
          "unit": "°",
          "format": "decimal",
          "fixed": true
        }
      ],
      "tags": [
        "weather map",
        "isobars",
        "contours",
        "interpolation",
        "happiness",
        "wellbeing",
        "world",
        "playful"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/weather-map",
      "markdown": "/charts/weather-map.md",
      "manifest": "/charts/weather-map.json"
    },
    {
      "id": "world-choropleth",
      "name": "World choropleth",
      "family": "maps",
      "tier": "free",
      "summary": "Use a world choropleth to show one rate or share per country, coloured in shades of one ink, when where it happens is the story.",
      "useWhen": [
        "one rate, share or per-person value per country",
        "the geographic pattern matters (neighbours, regions)",
        "readers will look up their own country"
      ],
      "avoidWhen": [
        "the value is a total such as people or tonnes (big countries look important; use bubbles or a cartogram)",
        "readers must compare close values exactly (use sorted bars)",
        "small countries carry the story (use a tile grid)"
      ],
      "fields": [
        {
          "name": "id",
          "type": "id",
          "description": "ISO 3166-1 numeric code, matching world-atlas"
        },
        {
          "name": "code",
          "type": "id",
          "description": "ISO 3166-1 alpha-3 code"
        },
        {
          "name": "name",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "v",
          "type": "number",
          "description": "renewables' share of electricity, %",
          "unit": "%",
          "format": "percent"
        }
      ],
      "tags": [
        "choropleth",
        "world map",
        "renewables",
        "electricity",
        "energy",
        "climate",
        "share",
        "sequential colour"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/world-choropleth",
      "markdown": "/charts/world-choropleth.md",
      "manifest": "/charts/world-choropleth.json"
    },
    {
      "id": "world-tile-grid",
      "name": "World tile grid",
      "family": "maps",
      "tier": "pro",
      "summary": "Use a world tile grid to give every country one equal square roughly where it is, so small nations count as much as large ones.",
      "useWhen": [
        "one value per country where every country matters equally",
        "island and city states would vanish on a real map",
        "a compact grid that fits a phone"
      ],
      "avoidWhen": [
        "readers need real shapes to find countries",
        "the value is a total (equal squares hide size)",
        "regional detail inside countries matters"
      ],
      "fields": [
        {
          "name": "id",
          "type": "id",
          "description": "ISO 3166-1 numeric code"
        },
        {
          "name": "code",
          "type": "id",
          "description": "ISO 3166-1 alpha-3 code, printed on the tile"
        },
        {
          "name": "name",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "v",
          "type": "number",
          "description": "median age, years",
          "unit": "years",
          "format": "decimal"
        },
        {
          "name": "lon",
          "type": "number",
          "description": "centre longitude, places the tile",
          "unit": "°",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "lat",
          "type": "number",
          "description": "centre latitude, places the tile",
          "unit": "°",
          "format": "decimal",
          "fixed": true
        }
      ],
      "tags": [
        "tile grid map",
        "tile map",
        "equal area",
        "age",
        "population",
        "demography",
        "countries"
      ],
      "mobile": "desktop",
      "mobileNote": "196 labels overlap on a phone",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/world-tile-grid",
      "markdown": "/charts/world-tile-grid.md",
      "manifest": "/charts/world-tile-grid.json"
    },
    {
      "id": "balance-scale",
      "name": "Balance scale",
      "family": "parts",
      "tier": "pro",
      "summary": "Use a balance scale to compare two totals that add up to one whole: the beam tips towards the heavier side, and stepping through years shows when it tips the other way.",
      "useWhen": [
        "exactly two sides that make up one whole",
        "the moment one side overtakes the other is the story",
        "comparing that moment across a few places"
      ],
      "avoidWhen": [
        "more than two parts (use a stacked bar)",
        "the two values are not comparable or don't share a unit",
        "small gaps matter (the tilt is approximate; read the numbers)"
      ],
      "fields": [
        {
          "name": "place",
          "type": "place",
          "description": "the place (a country, the EU or the world); a trailing \"(…)\" is left off its button"
        },
        {
          "name": "years[].year",
          "type": "year",
          "description": "year"
        },
        {
          "name": "years[].fossil",
          "series": true,
          "type": "number",
          "description": "the left pan, any key name: share of electricity from coal, gas and oil, % (labelled hints.names, notes in hints.notes, order in hints.sides)",
          "unit": "%",
          "format": "percent"
        },
        {
          "name": "years[].lowCarbon",
          "series": true,
          "type": "number",
          "description": "the right pan, any key name: share of electricity from renewables and nuclear, %; the verdict says when it outweighs the left",
          "unit": "%",
          "format": "percent"
        }
      ],
      "tags": [
        "two parts",
        "balance",
        "tipping point",
        "energy",
        "electricity",
        "climate",
        "renewables"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/balance-scale",
      "markdown": "/charts/balance-scale.md",
      "manifest": "/charts/balance-scale.json"
    },
    {
      "id": "donut",
      "name": "Donut with one highlight",
      "family": "parts",
      "tier": "free",
      "summary": "Use a donut with one highlight when a whole has at most five parts and one of them is the story: pull it out, grey the rest.",
      "useWhen": [
        "two to five parts of one whole",
        "one part is the point and the rest are context",
        "a then-and-now swap tells the change"
      ],
      "avoidWhen": [
        "more than five parts (use bars)",
        "parts are close in size and must be ranked (use bars)",
        "you compare several wholes (use stacked bars)"
      ],
      "fields": [
        {
          "name": "animal",
          "type": "category",
          "description": "the kind of meat"
        },
        {
          "name": "then",
          "type": "number",
          "description": "production in 1961, tonnes",
          "unit": "tonnes",
          "format": "count"
        },
        {
          "name": "now",
          "type": "number",
          "description": "production in 2024, tonnes",
          "unit": "tonnes",
          "format": "count"
        }
      ],
      "tags": [
        "donut",
        "pie",
        "highlight",
        "part to whole",
        "food",
        "meat",
        "chicken",
        "then and now"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/donut",
      "markdown": "/charts/donut.md",
      "manifest": "/charts/donut.json"
    },
    {
      "id": "icon-array",
      "name": "Icon array",
      "family": "parts",
      "tier": "pro",
      "summary": "Use an icon array to turn a percentage into people: 100 figures with the share filled, read as 'so many in 100'.",
      "useWhen": [
        "one share that readers should feel as people (risks, odds, rates)",
        "audiences who find percentages abstract",
        "a share that changes over time or between groups"
      ],
      "avoidWhen": [
        "shares below about 1 in 100 (use 1 in 1,000)",
        "several parts (use a waffle)",
        "precise comparison of close shares"
      ],
      "fields": [
        {
          "name": "decade",
          "type": "year",
          "description": "the period's first year, evenly spaced (decades in the example, named 1900s…; other periods by their value)"
        },
        {
          "name": "women",
          "type": "number",
          "description": "the part's count that period (prizes to women in the example); its name is hints.part",
          "unit": "prizes",
          "format": "count"
        },
        {
          "name": "prizes",
          "type": "number",
          "description": "the whole count that period (all prizes to people in the example)",
          "unit": "prizes",
          "format": "count"
        },
        {
          "name": "all",
          "type": "number",
          "description": "the same two counts over every period (optional: else the periods are summed)",
          "unit": "prizes",
          "format": "count",
          "optional": true
        },
        {
          "name": "through",
          "type": "year",
          "description": "the last year counted (optional: else the last period)",
          "optional": true
        }
      ],
      "tags": [
        "icon array",
        "pictogram",
        "out of 100",
        "risk",
        "nobel",
        "gender",
        "science",
        "share",
        "frequency"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/icon-array",
      "markdown": "/charts/icon-array.md",
      "manifest": "/charts/icon-array.json"
    },
    {
      "id": "isotype",
      "name": "Isotype rows",
      "family": "parts",
      "tier": "pro",
      "summary": "Use isotype rows to make counts countable: each pictogram stands for a fixed amount, repeated in rows, never stretched.",
      "useWhen": [
        "counts of people or things readers can picture",
        "a few rows (2 to 8) compared by length",
        "a share within each row matters (colour some figures)"
      ],
      "avoidWhen": [
        "the amounts are huge or tiny (figures stop being countable)",
        "precise comparison of close values",
        "the thing counted has no natural pictogram"
      ],
      "fields": [
        {
          "name": "category",
          "type": "category",
          "description": "the row (a Nobel Prize in the example), 2 to 8 rows"
        },
        {
          "name": "women",
          "type": "number",
          "description": "the coloured part of the row's count (prizes to women in the example); its name is hints.sides[0]",
          "unit": "prizes",
          "format": "count"
        },
        {
          "name": "men",
          "type": "number",
          "description": "the rest of the row's count (prizes to men in the example); its name is hints.sides[1]",
          "unit": "prizes",
          "format": "count"
        },
        {
          "name": "through",
          "type": "year",
          "description": "the last year counted, shown in the tooltip (optional)",
          "optional": true
        }
      ],
      "tags": [
        "isotype",
        "pictogram",
        "neurath",
        "icons",
        "nobel",
        "science",
        "gender",
        "history",
        "count"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone marks are too small to see or tap (checked by eye)",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/isotype",
      "markdown": "/charts/isotype.md",
      "manifest": "/charts/isotype.json"
    },
    {
      "id": "kingdom-map",
      "name": "Kingdom map",
      "family": "parts",
      "tier": "pro",
      "summary": "Use a kingdom map to turn shares of one whole into territories on an invented continent, so the biggest share reads as the biggest realm.",
      "useWhen": [
        "shares of one whole, 3 to 7 parts",
        "a playful, memorable view for an explainer or a poster",
        "the ranking matters more than exact values"
      ],
      "avoidWhen": [
        "readers must compare close shares exactly (use sorted bars)",
        "more than seven parts",
        "the parts do not add up to one whole"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year of the shares"
        },
        {
          "name": "sources[].source",
          "type": "category",
          "description": "the electricity source; becomes a territory"
        },
        {
          "name": "sources[].share",
          "type": "number",
          "description": "share of world electricity generation, %; sets the territory's area",
          "unit": "%",
          "format": "percent"
        }
      ],
      "tags": [
        "fantasy map",
        "voronoi",
        "power diagram",
        "territories",
        "shares",
        "energy",
        "electricity",
        "playful"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/kingdom-map",
      "markdown": "/charts/kingdom-map.md",
      "manifest": "/charts/kingdom-map.json"
    },
    {
      "id": "magnet-clusters",
      "name": "Magnet clusters",
      "family": "parts",
      "tier": "pro",
      "summary": "Use magnet clusters to sort items into groups you can see: each item is a dot pulled to its group's magnet, and switching what a dot weighs re-sorts the story.",
      "useWhen": [
        "sorting 30 to 300 items into 2 to 6 groups",
        "the count of items and their total size tell different stories",
        "a lively alternative to a grouped bar"
      ],
      "avoidWhen": [
        "the exact size of each cluster matters (use bars)",
        "items belong to more than one group",
        "more than six groups"
      ],
      "fields": [
        {
          "name": "groups",
          "type": "category",
          "description": "World Bank income groups, poorest first"
        },
        {
          "name": "countries[][0]",
          "type": "place",
          "description": "country"
        },
        {
          "name": "countries[][1]",
          "type": "id",
          "description": "index into groups"
        },
        {
          "name": "countries[][2]",
          "type": "number",
          "description": "population",
          "unit": "people",
          "format": "count"
        },
        {
          "name": "year",
          "type": "year",
          "description": "population year"
        }
      ],
      "tags": [
        "force",
        "clusters",
        "groups",
        "beeswarm",
        "income",
        "population",
        "economics"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/magnet-clusters",
      "markdown": "/charts/magnet-clusters.md",
      "manifest": "/charts/magnet-clusters.json"
    },
    {
      "id": "marimekko",
      "name": "Marimekko",
      "family": "parts",
      "tier": "pro",
      "summary": "Use a marimekko to show two shares at once: each column's width is its share of the total, and its stack is its own mix.",
      "useWhen": [
        "parts split two ways (who and what)",
        "the groups differ a lot in size and the mix inside them matters",
        "2 to 8 columns and up to six parts"
      ],
      "avoidWhen": [
        "many tiny columns (they become slivers)",
        "readers need exact values (area is hard to compare)",
        "the groups are about the same size (use a 100% stacked bar)",
        "more than six parts (the tail folds into Other)"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year of the figures, named in each block's note"
        },
        {
          "name": "continents[].continent",
          "type": "category",
          "description": "the column's name (a continent); 2 to 8 columns"
        },
        {
          "name": "continents[].Coal",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "one block per number key in every column, in the data's order; up to 6 parts (more fold into Other), any names. Here: electricity from coal, TWh",
          "unit": "TWh",
          "format": "count"
        },
        {
          "name": "continents[].Gas",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "electricity from gas, TWh",
          "unit": "TWh",
          "format": "count"
        },
        {
          "name": "continents[].Hydro",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "electricity from hydropower, TWh",
          "unit": "TWh",
          "format": "count"
        },
        {
          "name": "continents[].Nuclear",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "electricity from nuclear, TWh",
          "unit": "TWh",
          "format": "count"
        },
        {
          "name": "continents[].Wind and solar",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "electricity from wind and solar, TWh",
          "unit": "TWh",
          "format": "count"
        },
        {
          "name": "continents[].Other",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "oil, bioenergy and other renewables, TWh",
          "unit": "TWh",
          "format": "count"
        }
      ],
      "tags": [
        "marimekko",
        "mosaic",
        "mekko",
        "variable width",
        "part to whole",
        "energy",
        "electricity",
        "coal",
        "renewables"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/marimekko",
      "markdown": "/charts/marimekko.md",
      "manifest": "/charts/marimekko.json"
    },
    {
      "id": "nested-squares",
      "name": "Nested squares",
      "family": "parts",
      "tier": "pro",
      "summary": "Use nested squares when each part is a slice of the one around it: a chain of ever-smaller wholes, zoomed one step at a time.",
      "useWhen": [
        "a chain of wholes, each a part of the last (a funnel of scale)",
        "shares span many orders of magnitude",
        "zooming in tells the story better than one view"
      ],
      "avoidWhen": [
        "the parts are siblings, not nested (use a treemap or bars)",
        "readers need every level in one static view",
        "the chain has more than about six steps"
      ],
      "fields": [
        {
          "name": "level",
          "type": "category",
          "description": "the whole at this step"
        },
        {
          "name": "km3",
          "type": "number",
          "description": "water volume, cubic kilometres",
          "unit": "km³",
          "format": "count"
        },
        {
          "name": "otherKm3",
          "type": "number",
          "description": "the volume in this square that is not in the next one",
          "unit": "km³",
          "format": "count"
        },
        {
          "name": "otherNote",
          "type": "text",
          "description": "what that remainder is"
        }
      ],
      "tags": [
        "nested squares",
        "zoom",
        "scale",
        "orders of magnitude",
        "part to whole",
        "water",
        "earth science",
        "rivers"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/nested-squares",
      "markdown": "/charts/nested-squares.md",
      "manifest": "/charts/nested-squares.json"
    },
    {
      "id": "parliament",
      "name": "Parliament",
      "family": "parts",
      "tier": "pro",
      "summary": "Use a parliament chart to show seats in a chamber: one dot per seat in a hemicycle, coloured by party, with the majority line marked.",
      "useWhen": [
        "seats in an elected body",
        "whether a party or coalition passes the majority line is the point",
        "a few hundred units that people recognise as a chamber"
      ],
      "avoidWhen": [
        "the parts are not seats (use a waffle or bars)",
        "dozens of parties (fold into Others)",
        "the total is small (fewer than about 30 seats)"
      ],
      "fields": [
        {
          "name": "party",
          "type": "category",
          "description": "the party, with small parties folded into Others"
        },
        {
          "name": "seats",
          "type": "number",
          "description": "seats won",
          "unit": "seats",
          "format": "count"
        },
        {
          "name": "votes",
          "type": "number",
          "description": "votes won",
          "unit": "votes",
          "format": "count"
        },
        {
          "name": "members",
          "type": "text",
          "description": "who is inside Others"
        },
        {
          "name": "votesCast",
          "type": "number",
          "description": "all votes cast, for vote shares",
          "unit": "votes",
          "format": "count"
        }
      ],
      "tags": [
        "parliament",
        "hemicycle",
        "election",
        "seats",
        "politics",
        "uk",
        "majority",
        "part to whole"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/parliament",
      "markdown": "/charts/parliament.md",
      "manifest": "/charts/parliament.json"
    },
    {
      "id": "physics-drop",
      "name": "Physics drop",
      "family": "parts",
      "tier": "pro",
      "summary": "Use a physics drop to count things into groups: one ball per item falls into its group's bin, so the piles are the totals and every ball can be read.",
      "useWhen": [
        "counting individual items into 2 to 8 groups",
        "each item is worth reading on its own (a name, a date)",
        "the size of the piles and one highlighted kind tell the story"
      ],
      "avoidWhen": [
        "more than about 1,500 items (aggregate first)",
        "you need exact comparisons of close totals (use bars)",
        "the items have no natural groups",
        "more than 8 groups (from the 8th on they share one Other bin)"
      ],
      "fields": [
        {
          "name": "categories",
          "type": "category",
          "description": "the groups, one bin each in this order (2 to 8; the example: the six Nobel Prize categories)"
        },
        {
          "name": "laureates[0]",
          "type": "text",
          "description": "the item's name (the example: a laureate)"
        },
        {
          "name": "laureates[1]",
          "type": "year",
          "description": "its year; balls drop and Play steps in year order"
        },
        {
          "name": "laureates[2]",
          "type": "id",
          "description": "index into categories"
        },
        {
          "name": "laureates[3]",
          "type": "category",
          "description": "its colour group code; names and colours from hints.groups (the example: w woman, m man, o organisation, men in the resting colour); without the hint the codes are the legend"
        }
      ],
      "tags": [
        "physics",
        "Matter.js",
        "unit chart",
        "counts",
        "groups",
        "Nobel Prize",
        "gender",
        "history"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/physics-drop",
      "markdown": "/charts/physics-drop.md",
      "manifest": "/charts/physics-drop.json"
    },
    {
      "id": "pile-up",
      "name": "Pile-up",
      "family": "parts",
      "tier": "pro",
      "summary": "Use a pile-up to make one group's dominance physical: blocks fall into a pile per group and settle, so one heap towering over the rest tells the story before any number is read.",
      "useWhen": [
        "one or two groups dwarf the rest",
        "counts of whole things (launches, goals, cars) in 3 to 6 groups",
        "a playful opener for an explainer"
      ],
      "avoidWhen": [
        "the groups are close in size (use bars)",
        "values are not counts of things",
        "more than six groups"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year shown"
        },
        {
          "name": "world",
          "type": "number",
          "description": "objects launched worldwide that year",
          "unit": "objects",
          "format": "count"
        },
        {
          "name": "groups[].name",
          "type": "place",
          "description": "launching country, or everyone else"
        },
        {
          "name": "groups[].objects",
          "type": "number",
          "description": "objects launched",
          "unit": "objects",
          "format": "count"
        },
        {
          "name": "past[].year",
          "type": "year",
          "description": "earlier years"
        },
        {
          "name": "past[].world",
          "type": "number",
          "description": "objects launched worldwide",
          "unit": "objects",
          "format": "count"
        }
      ],
      "tags": [
        "physics",
        "Matter.js",
        "unit chart",
        "pile",
        "space",
        "satellites",
        "dominance"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone marks are too small to see or tap (checked by eye)",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/pile-up",
      "markdown": "/charts/pile-up.md",
      "manifest": "/charts/pile-up.json"
    },
    {
      "id": "progress-ring",
      "name": "Progress ring",
      "family": "parts",
      "tier": "free",
      "summary": "Use a progress ring to show one share of one whole, big and at a glance, with the number in the centre.",
      "useWhen": [
        "one share is the whole story (a KPI, a goal, a completion)",
        "you have room for one big number",
        "readers will compare it with a past value or a target"
      ],
      "avoidWhen": [
        "several parts (use a donut or a bar)",
        "comparing many rings side by side (use bars)",
        "the share can exceed 100%"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year"
        },
        {
          "name": "share",
          "type": "number",
          "description": "people using the internet, % of population",
          "unit": "%",
          "format": "percent",
          "percentOnly": true
        }
      ],
      "tags": [
        "progress",
        "ring",
        "radial",
        "kpi",
        "single share",
        "internet",
        "technology",
        "gauge"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "9:16",
      "page": "/charts/progress-ring",
      "markdown": "/charts/progress-ring.md",
      "manifest": "/charts/progress-ring.json"
    },
    {
      "id": "receipt",
      "name": "Receipt",
      "family": "parts",
      "tier": "pro",
      "summary": "Use a receipt to itemise a total line by line, the way a till does: every part listed with its amount, adding up to the bill.",
      "useWhen": [
        "a total that people pay or owe, split into named items",
        "exact amounts matter as much as the ranking",
        "5 to 15 items, a playful explainer register"
      ],
      "avoidWhen": [
        "shares across several wholes",
        "values that don't add to a total",
        "many tiny items (fold them into one line)"
      ],
      "fields": [
        {
          "name": "sector",
          "type": "category",
          "description": "the line item"
        },
        {
          "name": "tonnes",
          "type": "number",
          "description": "emissions, tonnes of CO₂ equivalent",
          "unit": "tonnes",
          "format": "count"
        },
        {
          "name": "year",
          "type": "year",
          "description": "the year measured"
        }
      ],
      "tags": [
        "receipt",
        "itemised",
        "bill",
        "list",
        "part to whole",
        "climate",
        "emissions",
        "greenhouse gas",
        "playful"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/receipt",
      "markdown": "/charts/receipt.md",
      "manifest": "/charts/receipt.json"
    },
    {
      "id": "reveal-wipe",
      "name": "Reveal wipe",
      "family": "parts",
      "tier": "pro",
      "summary": "Use a reveal wipe to hold back one answer behind a curtain, so readers pause and guess before the real value appears.",
      "useWhen": [
        "the answer is a single surprising share or number",
        "you present live and want a beat of suspense",
        "a social clip needs a reveal moment"
      ],
      "avoidWhen": [
        "readers need the answer at a glance (reports, dashboards)",
        "nothing about the value is surprising",
        "the chart will be printed"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year of the estimate"
        },
        {
          "name": "fates[].fate",
          "type": "category",
          "description": "what happened to the waste"
        },
        {
          "name": "fates[].tonnes",
          "type": "number",
          "description": "tonnes of plastic waste",
          "unit": "tonnes",
          "format": "count"
        }
      ],
      "tags": [
        "reveal",
        "wipe",
        "curtain",
        "suspense",
        "share",
        "plastic",
        "recycling",
        "waste"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone the chart isn't the main thing on screen (checked by eye)",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/reveal-wipe",
      "markdown": "/charts/reveal-wipe.md",
      "manifest": "/charts/reveal-wipe.json"
    },
    {
      "id": "sand-jar",
      "name": "Sand jar",
      "family": "parts",
      "tier": "pro",
      "summary": "Use sand jars to show shares or levels that fill up over time: each jar fills with grains to its value, and stepping through years pours more in.",
      "useWhen": [
        "a few items each fill towards a shared ceiling (a share, a quota, a target)",
        "growth over a handful of years is the story",
        "a tactile, friendly view for a general audience"
      ],
      "avoidWhen": [
        "values can be negative",
        "more than about 10 items",
        "readers need to compare close values exactly (use bars)"
      ],
      "fields": [
        {
          "name": "years",
          "type": "year",
          "description": "the years, in order"
        },
        {
          "name": "places[].place",
          "type": "place",
          "description": "the item, one jar each (2 to 10); the one named in hints.highlight is set apart"
        },
        {
          "name": "places[].shares",
          "type": "number",
          "description": "solar share of electricity, %, one per year",
          "unit": "%",
          "format": "percent"
        }
      ],
      "tags": [
        "fill",
        "level",
        "share",
        "playful",
        "solar",
        "renewables",
        "energy",
        "climate"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/sand-jar",
      "markdown": "/charts/sand-jar.md",
      "manifest": "/charts/sand-jar.json"
    },
    {
      "id": "share-or-count",
      "name": "Share or count",
      "family": "parts",
      "tier": "pro",
      "summary": "Use a share-or-count switch when the same parts tell two stories: raw counts show the scale, % of total shows who dominates.",
      "useWhen": [
        "totals differ a lot between groups or years, so counts hide the mix",
        "readers ask both 'how many' and 'what share'",
        "2 to 10 parts"
      ],
      "avoidWhen": [
        "only one of the two questions matters (show just that)",
        "the parts don't add to a total",
        "many parts or years (use small multiples)"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the launch year"
        },
        {
          "name": "parts[].country",
          "type": "category",
          "description": "the launching country, or everyone else"
        },
        {
          "name": "parts[].objects",
          "type": "number",
          "sign": "non-negative",
          "description": "objects launched into space (satellites, probes, crewed spacecraft)",
          "unit": "objects",
          "format": "count"
        }
      ],
      "tags": [
        "share",
        "count",
        "percent of total",
        "toggle",
        "bars",
        "space",
        "satellites",
        "technology"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/share-or-count",
      "markdown": "/charts/share-or-count.md",
      "manifest": "/charts/share-or-count.json"
    },
    {
      "id": "spine-plot",
      "name": "Spine plot",
      "family": "parts",
      "tier": "pro",
      "summary": "Use a spine plot to show two-way shares: each group is one 100% bar, as wide as the group is big, split by the outcome.",
      "useWhen": [
        "an outcome rate compared across groups of different sizes",
        "both the rate and the group size matter",
        "2 to 8 groups, a yes/no or a few-part outcome"
      ],
      "avoidWhen": [
        "the groups are about the same size (use a 100% stacked bar)",
        "readers need the counts more than the rates",
        "many outcome categories"
      ],
      "fields": [
        {
          "name": "class",
          "type": "category",
          "description": "the column, 2 to 8 of them in the data's order (1st, 2nd, 3rd or crew in the example; long names in hints.groupNames)"
        },
        {
          "name": "sex",
          "type": "category",
          "description": "an optional second grouping, a filter button each (Female or Male in the example; names in hints.sexNames)",
          "optional": true
        },
        {
          "name": "survived",
          "type": "number",
          "description": "the coloured outcome's count (people who survived in the example); its name is hints.outcomes[0]",
          "unit": "people",
          "format": "count"
        },
        {
          "name": "died",
          "type": "number",
          "description": "the other outcome's count (people who died in the example); its name is hints.outcomes[1]",
          "unit": "people",
          "format": "count"
        }
      ],
      "tags": [
        "spine plot",
        "mosaic",
        "two-way",
        "rates",
        "history",
        "titanic",
        "survival",
        "part to whole"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/spine-plot",
      "markdown": "/charts/spine-plot.md",
      "manifest": "/charts/spine-plot.json"
    },
    {
      "id": "stacked-100",
      "name": "100% stacked bar",
      "family": "parts",
      "tier": "free",
      "summary": "Use a 100% stacked bar to split one total into a few shares, read left to right like a ruler.",
      "useWhen": [
        "one total splits into 2 to 6 parts",
        "the parts are read as shares of the whole",
        "you want a compact strip that fits a sentence"
      ],
      "avoidWhen": [
        "you compare shares across many groups (use stacked bars)",
        "more than six parts",
        "readers need the absolute amounts more than the shares"
      ],
      "fields": [
        {
          "name": "fate",
          "type": "category",
          "description": "what happened to the plastic"
        },
        {
          "name": "tonnes",
          "type": "number",
          "description": "plastic waste, tonnes",
          "unit": "tonnes",
          "format": "count"
        },
        {
          "name": "year",
          "type": "year",
          "description": "the year measured"
        }
      ],
      "tags": [
        "part to whole",
        "share",
        "percentage",
        "plastic",
        "waste",
        "recycling",
        "environment"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone the chart isn't the main thing on screen (checked by eye)",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/stacked-100",
      "markdown": "/charts/stacked-100.md",
      "manifest": "/charts/stacked-100.json"
    },
    {
      "id": "stacked-bars",
      "name": "Stacked bars",
      "family": "parts",
      "tier": "free",
      "summary": "Use stacked bars to compare totals across items and see what each total is made of, with a switch to compare the mix instead.",
      "useWhen": [
        "a few items (5 to 15) each split into the same 2 to 5 parts",
        "both the totals and the mix matter",
        "readers can turn parts off to compare just one"
      ],
      "avoidWhen": [
        "more than five parts (the middle segments are hard to compare)",
        "only the mix matters (use a 100% bar or a marimekko)",
        "the parts don't add to a meaningful total",
        "values below zero (bars stack from zero)"
      ],
      "fields": [
        {
          "name": "code",
          "type": "id",
          "description": "a short unique code for the row (IOC country code)"
        },
        {
          "name": "country",
          "type": "category",
          "description": "the bar's name (the nation)"
        },
        {
          "name": "gold",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "one stacked part per number key, in the data's order; 2 to 5 parts (more fold into Other), any names. Here: gold medals",
          "unit": "medals",
          "format": "count"
        },
        {
          "name": "silver",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "silver medals",
          "unit": "medals",
          "format": "count"
        },
        {
          "name": "bronze",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "bronze medals",
          "unit": "medals",
          "format": "count"
        }
      ],
      "tags": [
        "stacked bar",
        "part to whole",
        "olympics",
        "sport",
        "medals",
        "legend toggle",
        "percent"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/stacked-bars",
      "markdown": "/charts/stacked-bars.md",
      "manifest": "/charts/stacked-bars.json"
    },
    {
      "id": "treemap",
      "name": "Treemap",
      "family": "parts",
      "tier": "free",
      "summary": "Use a treemap to show many parts of one total at once: each rectangle's area is its value, shaded by group.",
      "useWhen": [
        "many parts (10 to 100) of one total",
        "a few giants and a long tail is the story",
        "a group (like continent) helps read the parts"
      ],
      "avoidWhen": [
        "readers must compare similar sizes exactly (use sorted bars)",
        "the values can be negative",
        "fewer than about six parts (use a bar or a donut)"
      ],
      "fields": [
        {
          "name": "country",
          "type": "place",
          "description": "the country, or the rest of a continent folded together"
        },
        {
          "name": "continent",
          "type": "category",
          "description": "the group that sets the shade"
        },
        {
          "name": "tonnes",
          "type": "number",
          "description": "CO₂ emitted, tonnes",
          "unit": "tonnes",
          "format": "count"
        },
        {
          "name": "world",
          "type": "number",
          "description": "the world total the shares are of",
          "unit": "tonnes",
          "format": "count"
        },
        {
          "name": "count",
          "type": "number",
          "description": "how many countries a folded tile holds",
          "unit": "countries",
          "format": "count",
          "fixed": true
        }
      ],
      "tags": [
        "part to whole",
        "treemap",
        "area",
        "carbon",
        "co2",
        "climate",
        "emissions",
        "countries"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/treemap",
      "markdown": "/charts/treemap.md",
      "manifest": "/charts/treemap.json"
    },
    {
      "id": "unit-dots",
      "name": "One dot per item",
      "family": "parts",
      "tier": "pro",
      "summary": "Use one dot per item when the whole is a countable set: every dot is a real thing, and regrouping them shows the shares.",
      "useWhen": [
        "the whole is a set of 20 to 500 real items",
        "you want readers to feel the count, not just the share",
        "the same items can be grouped more than one way: the hint views ([{ name, field, cuts?, labels?, unit? }]; cuts only while the field keeps that unit), else one view per number, date or category field"
      ],
      "avoidWhen": [
        "thousands of items (bin them)",
        "the items have no identity worth hovering",
        "exact shares matter more than the count"
      ],
      "fields": [
        {
          "name": "place",
          "type": "place",
          "description": "each dot's label (where the earthquake struck)"
        },
        {
          "name": "mag",
          "type": "number",
          "description": "the value that sizes each dot (magnitude); also the largest dot's ring",
          "unit": "magnitude",
          "format": "decimal"
        },
        {
          "name": "depth",
          "type": "number",
          "description": "optional: a number to group by (depth of the source, km)",
          "unit": "km",
          "format": "count",
          "optional": true
        },
        {
          "name": "date",
          "type": "date",
          "description": "optional: a date to group by (the day it struck, UTC): quarters within one year, else years",
          "optional": true
        },
        {
          "name": "tsunami",
          "type": "number",
          "description": "optional: 1 when a tsunami alert flag was set (the hint flags words it in the tooltip)",
          "unit": "flag (0 or 1)",
          "format": "count",
          "fixed": true,
          "optional": true
        }
      ],
      "tags": [
        "unit chart",
        "dot plot",
        "count",
        "force layout",
        "regroup",
        "earthquakes",
        "science",
        "part to whole"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/unit-dots",
      "markdown": "/charts/unit-dots.md",
      "manifest": "/charts/unit-dots.json"
    },
    {
      "id": "voronoi-treemap",
      "name": "Voronoi treemap",
      "family": "parts",
      "tier": "pro",
      "summary": "Use a Voronoi treemap to show nested shares as organic cells inside a circle: each cell's area is its value, grouped by colour.",
      "useWhen": [
        "a playful, organic picture of shares with one level of grouping",
        "10 to 40 parts",
        "a cover image or explainer where the shape should feel alive"
      ],
      "avoidWhen": [
        "readers must compare similar areas exactly (use bars)",
        "more than two levels of nesting",
        "the layout must be identical across updates (cells move when values change)"
      ],
      "fields": [
        {
          "name": "food",
          "type": "category",
          "description": "the food"
        },
        {
          "name": "group",
          "type": "category",
          "description": "its food group"
        },
        {
          "name": "kcal",
          "type": "number",
          "description": "calories available per person per day",
          "unit": "kcal per person per day",
          "format": "count"
        },
        {
          "name": "year",
          "type": "year",
          "description": "the year measured"
        }
      ],
      "tags": [
        "voronoi treemap",
        "voronoi",
        "power diagram",
        "organic",
        "part to whole",
        "food",
        "calories",
        "diet",
        "nested"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/voronoi-treemap",
      "markdown": "/charts/voronoi-treemap.md",
      "manifest": "/charts/voronoi-treemap.json"
    },
    {
      "id": "waffle",
      "name": "Waffle",
      "family": "parts",
      "tier": "free",
      "summary": "Use a waffle to show shares as countable squares: 100 squares, each one per cent of the whole.",
      "useWhen": [
        "a few shares of one whole (2 to 6)",
        "readers think in 'out of 100' more easily than in angles",
        "a friendly, countable picture of a percentage"
      ],
      "avoidWhen": [
        "shares below about half a per cent matter (they vanish or round up)",
        "more than six parts",
        "you compare several wholes (use stacked bars)"
      ],
      "fields": [
        {
          "name": "continent",
          "type": "category",
          "description": "the part"
        },
        {
          "name": "people",
          "type": "number",
          "description": "population, people",
          "unit": "people",
          "format": "count"
        },
        {
          "name": "year",
          "type": "year",
          "description": "the year measured"
        }
      ],
      "tags": [
        "part to whole",
        "waffle",
        "square pie",
        "out of 100",
        "population",
        "continents",
        "share"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/waffle",
      "markdown": "/charts/waffle.md",
      "manifest": "/charts/waffle.json"
    },
    {
      "id": "bubble",
      "name": "Bubble",
      "family": "relationships",
      "tier": "free",
      "summary": "Use a bubble chart when a scatter needs a third measure, shown as each dot's area, usually how big or how many.",
      "useWhen": [
        "each item has two measures plus a size worth seeing",
        "the big items should dominate the eye on purpose",
        "20 to 200 items"
      ],
      "avoidWhen": [
        "readers must compare the sizes exactly (use bars)",
        "the third measure is not a size (use colour or small multiples)",
        "thousands of items would bury each other",
        "more than six colour groups (the rest share one grey \"other\")"
      ],
      "fields": [
        {
          "name": "country",
          "type": "category",
          "description": "the item"
        },
        {
          "name": "continent",
          "type": "category",
          "description": "colour group: any labels; up to six get their own colour, the rest share one grey \"other\""
        },
        {
          "name": "fertility",
          "type": "number",
          "description": "children per woman (total fertility rate)",
          "unit": "births per woman",
          "format": "decimal"
        },
        {
          "name": "lifeExp",
          "type": "number",
          "description": "life expectancy at birth, years",
          "unit": "years",
          "format": "decimal"
        },
        {
          "name": "population",
          "type": "number",
          "sign": "non-negative",
          "description": "people; sets the bubble's area",
          "unit": "people",
          "format": "count"
        }
      ],
      "tags": [
        "bubble",
        "gapminder",
        "three measures",
        "population",
        "health",
        "fertility",
        "life expectancy"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/bubble",
      "markdown": "/charts/bubble.md",
      "manifest": "/charts/bubble.json"
    },
    {
      "id": "chernoff-faces",
      "name": "Chernoff faces",
      "family": "relationships",
      "tier": "pro",
      "summary": "Use Chernoff faces to show three or four measures per item as features of a face, for a quick, human read of which items are alike and which stand out; fun, not exact.",
      "useWhen": [
        "3 or 4 measures per item for 6 to 20 items",
        "spotting similar and odd items matters more than exact values",
        "a playful hook before a proper chart"
      ],
      "avoidWhen": [
        "readers need any value exactly",
        "some features are seen as more important than others (a smile outweighs a face width)",
        "the topic is too serious for cartoon faces",
        "more than three measures (only three become features)"
      ],
      "fields": [
        {
          "name": "country",
          "type": "place",
          "description": "the item, one face each; its first three number columns (or hints.roles) are the smile, eyes and face width"
        },
        {
          "name": "happiness",
          "series": true,
          "type": "number",
          "description": "average life evaluation, 0 to 10 (Cantril ladder)",
          "unit": "points (0–10)",
          "format": "decimal"
        },
        {
          "name": "happinessYear",
          "series": true,
          "type": "year",
          "description": "optional: year of the happiness score (hints.yearOf pairs a measure with its year column)"
        },
        {
          "name": "lifeExpectancy",
          "series": true,
          "type": "number",
          "description": "life expectancy at birth, years",
          "unit": "years",
          "format": "decimal"
        },
        {
          "name": "lifeYear",
          "series": true,
          "type": "year",
          "description": "optional: year of the life expectancy"
        },
        {
          "name": "gdpPerCapita",
          "series": true,
          "type": "number",
          "description": "GDP per person, international $ at 2021 prices (PPP)",
          "unit": "USD",
          "format": "currency"
        },
        {
          "name": "gdpYear",
          "series": true,
          "type": "year",
          "description": "optional: year of GDP per person"
        }
      ],
      "tags": [
        "Chernoff faces",
        "glyphs",
        "multivariate",
        "happiness",
        "wellbeing",
        "economics",
        "health"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/chernoff-faces",
      "markdown": "/charts/chernoff-faces.md",
      "manifest": "/charts/chernoff-faces.json"
    },
    {
      "id": "connected-scatter",
      "name": "Connected scatter",
      "family": "relationships",
      "tier": "pro",
      "summary": "Use a connected scatter to trace how two measures moved together over time, one point per year joined in order.",
      "useWhen": [
        "two measures change over the same years and their joint path is the story",
        "the path loops, stalls or turns back",
        "10 to 80 time points"
      ],
      "avoidWhen": [
        "readers are new to charts and need time on the x axis (use two lines)",
        "the path crosses itself so often it tangles",
        "only one measure changes over time"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the step; points are joined in this order"
        },
        {
          "name": "ppm",
          "type": "number",
          "description": "annual mean CO2 at Mauna Loa, parts per million",
          "unit": "ppm",
          "format": "decimal"
        },
        {
          "name": "anomaly",
          "type": "number",
          "description": "global mean near-surface temperature vs 1861–1890, °C",
          "unit": "°C",
          "format": "decimal"
        }
      ],
      "tags": [
        "connected scatter",
        "path",
        "two measures over time",
        "climate",
        "co2",
        "temperature",
        "global warming"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone marks are too small to see or tap (checked by eye)",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/connected-scatter",
      "markdown": "/charts/connected-scatter.md",
      "manifest": "/charts/connected-scatter.json"
    },
    {
      "id": "constellations",
      "name": "Constellations",
      "family": "relationships",
      "tier": "pro",
      "summary": "Use constellations to show items as stars joined by their relationships: dot size carries a value, the lines carry who connects to whom.",
      "useWhen": [
        "a small network where each node also has a value",
        "the groups (figures) matter as much as the links",
        "a night-sky metaphor suits the story"
      ],
      "avoidWhen": [
        "the positions carry no meaning and many links cross",
        "more than about 100 nodes",
        "the link weights matter (use a force network or chord)"
      ],
      "fields": [
        {
          "name": "stars[].hip",
          "type": "id",
          "description": "Hipparcos catalogue number"
        },
        {
          "name": "stars[].con",
          "type": "category",
          "description": "the constellation"
        },
        {
          "name": "stars[].name",
          "type": "text",
          "description": "the star's proper name, if it has one"
        },
        {
          "name": "stars[].bayer",
          "type": "text",
          "description": "the Bayer letter (α, β, …)"
        },
        {
          "name": "stars[].ra",
          "type": "number",
          "description": "right ascension, degrees",
          "unit": "°",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "stars[].dec",
          "type": "number",
          "description": "declination, degrees",
          "unit": "°",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "stars[].mag",
          "type": "number",
          "description": "apparent visual magnitude; lower is brighter; sets the dot's size",
          "unit": "magnitude",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "stars[].bv",
          "type": "number",
          "description": "B−V colour index",
          "unit": "B−V index",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "lines[].con",
          "type": "category",
          "description": "the constellation a line belongs to"
        },
        {
          "name": "lines[].stars",
          "type": "id",
          "description": "the Hipparcos numbers the line joins, in order"
        }
      ],
      "tags": [
        "stars",
        "constellations",
        "night sky",
        "network",
        "astronomy",
        "space",
        "playful"
      ],
      "mobile": "works",
      "mobileNote": "Reads on a 390px phone as drawn",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/constellations",
      "markdown": "/charts/constellations.md",
      "manifest": "/charts/constellations.json"
    },
    {
      "id": "correlation-heatmap",
      "name": "Correlation heatmap",
      "family": "relationships",
      "tier": "free",
      "summary": "Use a correlation heatmap to scan how every pair in a set of measures moves together, then open the pairs that matter.",
      "useWhen": [
        "you have 4 to 15 numeric measures for the same items",
        "you want to find which pairs are linked before you chart them",
        "an overview for analysts, followed by a closer look"
      ],
      "avoidWhen": [
        "you need to show the shape of one relationship (use a scatter)",
        "the measures are on very few items (r is unstable below about 20)",
        "readers may read correlation as cause",
        "more than 15 measures (only the first 15 are drawn)"
      ],
      "fields": [
        {
          "name": "country",
          "type": "category",
          "description": "the item, one row each; every other number column is a measure"
        },
        {
          "name": "lifeExp",
          "series": true,
          "type": "number",
          "description": "life expectancy at birth, years",
          "unit": "years",
          "format": "decimal"
        },
        {
          "name": "infantMort",
          "series": true,
          "type": "number",
          "description": "infant deaths per 1,000 live births",
          "unit": "per 1,000 births",
          "format": "decimal"
        },
        {
          "name": "fertility",
          "series": true,
          "type": "number",
          "description": "births per woman",
          "unit": "births per woman",
          "format": "decimal"
        },
        {
          "name": "gdp",
          "series": true,
          "type": "number",
          "description": "GDP per person, PPP, constant 2021 international $",
          "unit": "USD",
          "format": "currency"
        },
        {
          "name": "internet",
          "series": true,
          "type": "number",
          "description": "share of people using the internet, %",
          "unit": "%",
          "format": "percent"
        },
        {
          "name": "electricity",
          "series": true,
          "type": "number",
          "description": "share of people with electricity, %",
          "unit": "%",
          "format": "percent"
        },
        {
          "name": "urban",
          "series": true,
          "type": "number",
          "description": "share of people living in urban areas, %",
          "unit": "%",
          "format": "percent"
        },
        {
          "name": "forest",
          "series": true,
          "type": "number",
          "description": "forest area as a share of land, %",
          "unit": "%",
          "format": "percent"
        }
      ],
      "tags": [
        "correlation matrix",
        "heatmap",
        "many measures",
        "spearman",
        "development",
        "world bank"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/correlation-heatmap",
      "markdown": "/charts/correlation-heatmap.md",
      "manifest": "/charts/correlation-heatmap.json"
    },
    {
      "id": "euler",
      "name": "Proportional Euler",
      "family": "relationships",
      "tier": "pro",
      "summary": "Use a proportional Euler diagram to show two or three sets whose circles are sized to their members and overlap only where members are shared.",
      "useWhen": [
        "two or three sets, where containment and overlap are the story",
        "the sizes of the sets and overlaps should be felt, not read",
        "members can be shown as dots or listed on hover"
      ],
      "avoidWhen": [
        "four or more sets (use an UpSet plot)",
        "exact overlap counts matter more than the picture (use a table or bars)",
        "the overlaps cannot be drawn with circles without distortion"
      ],
      "fields": [
        {
          "name": "sets",
          "type": "category",
          "description": "the 2 or 3 sets, in colour order (4 or more: use upset-plot)"
        },
        {
          "name": "countries",
          "type": "text",
          "description": "one row per member with the sets it belongs to (country: its name, in: its sets); whether a set sits inside, overlaps or stays apart from another comes from these"
        }
      ],
      "tags": [
        "euler",
        "venn",
        "set overlap",
        "membership",
        "europe",
        "eu",
        "nato",
        "geopolitics"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/euler",
      "markdown": "/charts/euler.md",
      "manifest": "/charts/euler.json"
    },
    {
      "id": "glyph-creatures",
      "name": "Glyph creatures",
      "family": "relationships",
      "tier": "pro",
      "summary": "Use glyph creatures to show several measures per item at once: each item becomes a small creature whose body parts are its values, so outliers jump out as odd-looking animals.",
      "useWhen": [
        "3 to 5 measures per item, for 4 to 16 items",
        "a memorable, friendly overview for a young audience",
        "spotting the odd one out matters more than exact values"
      ],
      "avoidWhen": [
        "readers need to compare one measure precisely (use bars)",
        "many items (glyphs get hard to scan)",
        "the mapping of parts to measures would feel arbitrary or silly for the topic"
      ],
      "fields": [
        {
          "name": "body",
          "type": "category",
          "description": "the name under each creature"
        },
        {
          "name": "diameterKm",
          "type": "number",
          "description": "diameter, km (body size: the first number, or hints.roles.body)",
          "unit": "km",
          "format": "count"
        },
        {
          "name": "moons",
          "type": "number",
          "description": "number of known moons (one hair each: the second number, or hints.roles.hairs)",
          "unit": "moons",
          "format": "count"
        },
        {
          "name": "dayHours",
          "type": "number",
          "description": "length of a solar day, hours (leg length: the third number, or hints.roles.legs)",
          "unit": "hours",
          "format": "decimal"
        },
        {
          "name": "meanTempC",
          "type": "number",
          "description": "mean temperature, °C (in the tooltip: the fourth number, or hints.roles.extra)",
          "unit": "°C",
          "format": "decimal"
        },
        {
          "name": "distanceFromSunMillionKm",
          "type": "number",
          "description": "mean distance from the Sun, million km",
          "unit": "million km",
          "format": "decimal"
        },
        {
          "name": "group",
          "type": "category",
          "description": "optional: the group that colours a creature (else hints.groupOf by name; else one colour)",
          "optional": true
        },
        {
          "name": "rings",
          "type": "category",
          "description": "whether it has a ring system (a halo: the first yes/no field, or hints.roles.halo)"
        }
      ],
      "tags": [
        "glyphs",
        "multivariate",
        "data art",
        "space",
        "planets",
        "playful",
        "isotype"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/glyph-creatures",
      "markdown": "/charts/glyph-creatures.md",
      "manifest": "/charts/glyph-creatures.json"
    },
    {
      "id": "hexbin",
      "name": "Hexbin",
      "family": "relationships",
      "tier": "free",
      "summary": "Use a hexbin when thousands of points pile on top of each other: count them into hexagons and show each count as size and depth of colour.",
      "useWhen": [
        "thousands of points overlap so a plain scatter turns into a blob",
        "where things cluster matters more than any single point",
        "points on a map or on two numeric axes"
      ],
      "avoidWhen": [
        "fewer than a few hundred points (show them all)",
        "single points matter, such as the one record-breaker (annotate it as here, or use dots)",
        "the bins would cut across a meaningful border"
      ],
      "fields": [
        {
          "name": "quakes",
          "type": "text",
          "description": "one row per point: [longitude, latitude, value, time bin], the bin counted from `from` in hints.bin units (months in the example: 0 = Dec 2025); Play steps through the bins. Words from hints: noun/nouns, valueWord, valuePrefix, maxWord"
        },
        {
          "name": "biggest",
          "type": "text",
          "description": "up to five points to ring and name, with place, value (mag), date and position (the five strongest quakes in the example)"
        },
        {
          "name": "from",
          "type": "date",
          "description": "start of the window (YYYY-MM-DD); time bin 0 starts here"
        },
        {
          "name": "to",
          "type": "date",
          "description": "end of the window (YYYY-MM-DD); the bins run to here"
        }
      ],
      "tags": [
        "hexbin",
        "binning",
        "density",
        "many points",
        "earthquakes",
        "map",
        "ring of fire",
        "geology"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/hexbin",
      "markdown": "/charts/hexbin.md",
      "manifest": "/charts/hexbin.json"
    },
    {
      "id": "labelled-scatter",
      "name": "Labelled scatter",
      "family": "relationships",
      "tier": "pro",
      "summary": "Use a labelled scatter when there are few enough items (up to about 40) that every point deserves its name on the chart.",
      "useWhen": [
        "10 to 40 items that readers will look for by name",
        "two measures per item in the same unit",
        "the names are the point, not just the pattern"
      ],
      "avoidWhen": [
        "hundreds of items (label a few, or use search and hover)",
        "points sit so close that labels need long leader lines",
        "names are long (use codes and a key)"
      ],
      "fields": [
        {
          "name": "country",
          "type": "category",
          "description": "the item and its label"
        },
        {
          "name": "men",
          "type": "number",
          "description": "mean height of 18-year-old men, cm",
          "unit": "cm",
          "format": "decimal"
        },
        {
          "name": "women",
          "type": "number",
          "description": "mean height of 18-year-old women, cm",
          "unit": "cm",
          "format": "decimal"
        },
        {
          "name": "year",
          "type": "year",
          "description": "birth year of the cohort (optional; shown in the tooltip)",
          "optional": true
        }
      ],
      "tags": [
        "labelled scatter",
        "label placement",
        "annotation",
        "collision avoidance",
        "height",
        "people",
        "health"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/labelled-scatter",
      "markdown": "/charts/labelled-scatter.md",
      "manifest": "/charts/labelled-scatter.json"
    },
    {
      "id": "legend-filter-scatter",
      "name": "Filter chips",
      "family": "relationships",
      "tier": "pro",
      "summary": "Use filter chips on a scatter when several groups overlap: each chip is both the legend and a switch that takes its group in or out.",
      "useWhen": [
        "2 to 6 groups share one scatter and hide each other",
        "readers want to compare one group with another, or see one alone",
        "the legend would otherwise sit far from the data"
      ],
      "avoidWhen": [
        "more than six groups (fold the rest into Other, or use small multiples)",
        "one group is the whole story (just highlight it)",
        "readers will print or screenshot the chart"
      ],
      "fields": [
        {
          "name": "methods",
          "type": "category",
          "description": "the groups, in colour order (any names; past six share the resting colour)"
        },
        {
          "name": "cols",
          "type": "text",
          "description": "optional: the row columns' names; the x and y names title the axes when hints.xTitle and yTitle are absent",
          "optional": true
        },
        {
          "name": "rows",
          "type": "text",
          "description": "one point per row: [name, group index, x value (log scale, above zero), y value (log scale, above zero), optional year]; in the example a planet: orbital period in days, mass in Earth masses, discovery year"
        }
      ],
      "tags": [
        "filter",
        "legend",
        "chips",
        "toggle",
        "groups",
        "space",
        "exoplanets",
        "astronomy"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone marks are too small to see or tap (checked by eye)",
      "ratios": [
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/legend-filter-scatter",
      "markdown": "/charts/legend-filter-scatter.md",
      "manifest": "/charts/legend-filter-scatter.json"
    },
    {
      "id": "orbit-system",
      "name": "Orbit system",
      "family": "relationships",
      "tier": "pro",
      "summary": "Use an orbit system to show items with two measures at once: distance from the centre is one value, the size of each planet is another, and speed can carry a third.",
      "useWhen": [
        "a few items that share a centre, each with a distance and a size",
        "the order outward from the centre is the story",
        "motion can show a third measure, such as speed"
      ],
      "avoidWhen": [
        "more than about 10 items",
        "the distances span many orders of magnitude (use a log scale or a zoom ladder)",
        "readers need exact comparisons of size"
      ],
      "fields": [
        {
          "name": "planet",
          "type": "category",
          "description": "the planet's letter, b to h"
        },
        {
          "name": "au",
          "type": "number",
          "sign": "non-negative",
          "description": "orbit's semi-major axis, astronomical units; sets the ring",
          "unit": "AU",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "radius",
          "type": "number",
          "sign": "non-negative",
          "description": "planet radius, Earth radii; sets the dot",
          "unit": "Earth radii",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "days",
          "type": "number",
          "sign": "non-negative",
          "description": "orbital period, Earth days; sets the speed",
          "unit": "days",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "insolation",
          "type": "number",
          "sign": "non-negative",
          "description": "starlight received, relative to Earth; sets the colour",
          "unit": "× Earth",
          "format": "decimal",
          "fixed": true
        }
      ],
      "tags": [
        "orbits",
        "planets",
        "solar system",
        "exoplanets",
        "radial",
        "two values",
        "space",
        "astronomy"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/orbit-system",
      "markdown": "/charts/orbit-system.md",
      "manifest": "/charts/orbit-system.json"
    },
    {
      "id": "parallel-coordinates",
      "name": "Parallel coordinates",
      "family": "relationships",
      "tier": "free",
      "summary": "Use parallel coordinates to compare many measures per item at once: each item is a line crossing one vertical axis per measure, and you can brush axes to filter.",
      "useWhen": [
        "5 to 12 measures per item and you want profiles, not single pairs",
        "you want readers to filter by ranges (brushing)",
        "a few to a few hundred items"
      ],
      "avoidWhen": [
        "readers need exact values (use a table)",
        "the order of the axes would change the story and you cannot justify one",
        "thousands of items with no brushing (lines turn to mud)",
        "more than 12 measures (only the first 12 are drawn) or more than six groups (the rest share one grey)"
      ],
      "fields": [
        {
          "name": "body",
          "type": "category",
          "description": "the item, one line each (a planet in the example); every number column is an axis (2 to 12)"
        },
        {
          "name": "group",
          "type": "category",
          "description": "optional: the item's group, for colour and the legend (else hints.groupOf names it)"
        },
        {
          "name": "distance",
          "series": true,
          "type": "number",
          "description": "mean distance from the Sun, million km",
          "unit": "million km",
          "format": "decimal"
        },
        {
          "name": "diameter",
          "series": true,
          "type": "number",
          "description": "equatorial diameter, km",
          "unit": "km",
          "format": "count"
        },
        {
          "name": "mass",
          "series": true,
          "type": "number",
          "description": "mass, 10^24 kg",
          "unit": "× 10²⁴ kg",
          "format": "decimal"
        },
        {
          "name": "density",
          "series": true,
          "type": "number",
          "description": "mean density, kg/m3",
          "unit": "kg/m³",
          "format": "count"
        },
        {
          "name": "gravity",
          "series": true,
          "type": "number",
          "description": "surface gravity, m/s2",
          "unit": "m/s²",
          "format": "decimal"
        },
        {
          "name": "dayHours",
          "series": true,
          "type": "number",
          "description": "length of a day (sunrise to sunrise), hours",
          "unit": "hours",
          "format": "decimal"
        },
        {
          "name": "yearDays",
          "series": true,
          "type": "number",
          "description": "orbital period, Earth days",
          "unit": "days",
          "format": "decimal"
        },
        {
          "name": "temp",
          "series": true,
          "type": "number",
          "description": "mean temperature, °C",
          "unit": "°C",
          "format": "decimal"
        },
        {
          "name": "moons",
          "series": true,
          "type": "number",
          "description": "number of known moons",
          "unit": "moons",
          "format": "count"
        }
      ],
      "tags": [
        "parallel coordinates",
        "multivariate",
        "profiles",
        "brushing",
        "space",
        "planets",
        "solar system"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone marks are too small to see or tap (checked by eye)",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/parallel-coordinates",
      "markdown": "/charts/parallel-coordinates.md",
      "manifest": "/charts/parallel-coordinates.json"
    },
    {
      "id": "quadrant",
      "name": "Quadrant",
      "family": "relationships",
      "tier": "pro",
      "summary": "Use a quadrant chart to sort items into four named groups by two measures, each split at a meaningful line.",
      "useWhen": [
        "two measures each have a natural threshold (a target, a median, 50%)",
        "readers need a verdict per item, such as which corner it sits in",
        "10 to 200 items"
      ],
      "avoidWhen": [
        "the thresholds are arbitrary and would mislead",
        "the gradient matters more than the groups (use a plain scatter)",
        "items sit on the lines, so the corner is a coin toss"
      ],
      "fields": [
        {
          "name": "country",
          "type": "category",
          "description": "the item"
        },
        {
          "name": "kwh",
          "type": "number",
          "description": "electricity generated per person, kWh a year",
          "unit": "kWh",
          "format": "count"
        },
        {
          "name": "lowCarbon",
          "type": "number",
          "description": "share of electricity from nuclear and renewables, %",
          "unit": "%",
          "format": "percent"
        }
      ],
      "tags": [
        "quadrant",
        "2x2",
        "four groups",
        "threshold",
        "energy",
        "electricity",
        "clean power"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/quadrant",
      "markdown": "/charts/quadrant.md",
      "manifest": "/charts/quadrant.json"
    },
    {
      "id": "radar",
      "name": "Radar",
      "family": "relationships",
      "tier": "pro",
      "summary": "Use a radar chart to compare the shape of a few items' profiles across 5 to 8 measures on the same scale.",
      "useWhen": [
        "3 to 6 items, each with 5 to 8 measures in the same unit",
        "the overall shape (spiky, balanced, lopsided) is the point",
        "a familiar, playful look matters more than precision"
      ],
      "avoidWhen": [
        "readers must compare values exactly (use grouped bars)",
        "the measures have different units or scales",
        "more than six items (the shapes pile up; past six they share one grey)",
        "more than 8 measures (only the first 8 are drawn)"
      ],
      "fields": [
        {
          "name": "country",
          "type": "category",
          "description": "the item; the row named in hints.reference, if present, is drawn dashed as a yardstick; every number column but year is a spoke (5 to 8, one unit)"
        },
        {
          "name": "year",
          "type": "year",
          "description": "the year of the data"
        },
        {
          "name": "coal",
          "series": true,
          "type": "number",
          "description": "share of electricity from coal, %",
          "unit": "%",
          "format": "percent"
        },
        {
          "name": "gas",
          "series": true,
          "type": "number",
          "description": "share from gas, %",
          "unit": "%",
          "format": "percent"
        },
        {
          "name": "oil",
          "series": true,
          "type": "number",
          "description": "share from oil, %",
          "unit": "%",
          "format": "percent"
        },
        {
          "name": "nuclear",
          "series": true,
          "type": "number",
          "description": "share from nuclear, %",
          "unit": "%",
          "format": "percent"
        },
        {
          "name": "hydro",
          "series": true,
          "type": "number",
          "description": "share from hydropower, %",
          "unit": "%",
          "format": "percent"
        },
        {
          "name": "wind",
          "series": true,
          "type": "number",
          "description": "share from wind, %",
          "unit": "%",
          "format": "percent"
        },
        {
          "name": "solar",
          "series": true,
          "type": "number",
          "description": "share from solar, %",
          "unit": "%",
          "format": "percent"
        }
      ],
      "tags": [
        "radar",
        "spider",
        "star chart",
        "profile",
        "energy",
        "electricity mix",
        "renewables"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "9:16",
      "page": "/charts/radar",
      "markdown": "/charts/radar.md",
      "manifest": "/charts/radar.json"
    },
    {
      "id": "scatter",
      "name": "Scatter",
      "family": "relationships",
      "tier": "free",
      "summary": "Use a scatter to show how two measures relate across many items, and to spot the ones that break the pattern.",
      "useWhen": [
        "two numeric measures per item and you want to see if they move together",
        "there are 20 to a few thousand items",
        "the outliers matter as much as the trend"
      ],
      "avoidWhen": [
        "one of the measures is a category (use bars or a strip)",
        "only a handful of items (use a labelled scatter or a dot plot)",
        "the items are points in time (use a connected scatter or a line)",
        "more than six colour groups (the rest share one grey \"other\")"
      ],
      "fields": [
        {
          "name": "country",
          "type": "category",
          "description": "the item"
        },
        {
          "name": "continent",
          "type": "category",
          "description": "colour group: any labels; up to six get their own colour, the rest share one grey \"other\""
        },
        {
          "name": "gdp",
          "type": "number",
          "sign": "positive",
          "description": "GDP per person, international $ at 2021 prices (PPP)",
          "unit": "USD",
          "format": "currency"
        },
        {
          "name": "co2",
          "type": "number",
          "sign": "positive",
          "description": "fossil and industry CO2 emissions per person, tonnes",
          "unit": "tonnes",
          "format": "count"
        }
      ],
      "tags": [
        "scatter",
        "correlation",
        "two measures",
        "outliers",
        "log scale",
        "climate",
        "emissions"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/scatter",
      "markdown": "/charts/scatter.md",
      "manifest": "/charts/scatter.json"
    },
    {
      "id": "scatter-matrix",
      "name": "Scatter matrix",
      "family": "relationships",
      "tier": "free",
      "summary": "Use a scatter matrix to see the shape of every pairwise relationship in a handful of measures at once, and follow one item through all of them.",
      "useWhen": [
        "3 to 6 measures and you want every pair's shape, not just one number",
        "relationships may be curved, clustered or capped",
        "you want to follow one item across all pairs"
      ],
      "avoidWhen": [
        "more than about 6 measures (only the first 6 are drawn; use a correlation heatmap first)",
        "readers need one clear message (pick the one scatter that carries it)",
        "small screens with thousands of items"
      ],
      "fields": [
        {
          "name": "country",
          "type": "category",
          "description": "the item, one row each; every other number column is a measure (2 to 6)"
        },
        {
          "name": "gdp",
          "series": true,
          "type": "number",
          "description": "GDP per person, PPP, constant 2021 international $",
          "unit": "USD",
          "format": "currency"
        },
        {
          "name": "electricity",
          "series": true,
          "type": "number",
          "description": "share of people with electricity, %",
          "unit": "%",
          "format": "percent"
        },
        {
          "name": "internet",
          "series": true,
          "type": "number",
          "description": "share of people using the internet, %",
          "unit": "%",
          "format": "percent"
        },
        {
          "name": "lifeExp",
          "series": true,
          "type": "number",
          "description": "life expectancy at birth, years",
          "unit": "years",
          "format": "decimal"
        },
        {
          "name": "fertility",
          "series": true,
          "type": "number",
          "description": "births per woman",
          "unit": "births per woman",
          "format": "decimal"
        }
      ],
      "tags": [
        "splom",
        "scatter plot matrix",
        "pairs plot",
        "many measures",
        "linked highlighting",
        "development",
        "electricity"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "9:16",
      "page": "/charts/scatter-matrix",
      "markdown": "/charts/scatter-matrix.md",
      "manifest": "/charts/scatter-matrix.json"
    },
    {
      "id": "trend-scatter",
      "name": "Scatter with a trend",
      "family": "relationships",
      "tier": "pro",
      "summary": "Use a scatter with a fitted line when you want to state how strongly two measures move together, and show who sits far from the trend.",
      "useWhen": [
        "you want to state the strength of a relationship with a number",
        "the gaps to the trend (residuals) are interesting",
        "30 to a few thousand items"
      ],
      "avoidWhen": [
        "the relationship is clearly curved or in clusters (a straight line misleads)",
        "a few extreme points drive the fit",
        "readers may read the line as cause and effect"
      ],
      "fields": [
        {
          "name": "country",
          "type": "category",
          "description": "the item"
        },
        {
          "name": "continent",
          "type": "category",
          "description": "a group (kept with the data; not drawn)"
        },
        {
          "name": "gdp",
          "type": "number",
          "description": "GDP per person, international $ at 2021 prices (PPP)",
          "unit": "USD",
          "format": "currency"
        },
        {
          "name": "meat",
          "type": "number",
          "description": "meat available for eating per person, kg a year",
          "unit": "kg",
          "format": "decimal"
        }
      ],
      "tags": [
        "trend line",
        "regression",
        "correlation",
        "r value",
        "residuals",
        "food",
        "meat",
        "income"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/trend-scatter",
      "markdown": "/charts/trend-scatter.md",
      "manifest": "/charts/trend-scatter.json"
    },
    {
      "id": "upset-plot",
      "name": "UpSet plot",
      "family": "relationships",
      "tier": "pro",
      "summary": "Use an UpSet plot to count every overlap between more than three sets, as bars over a dot matrix, where a Venn diagram would tangle.",
      "useWhen": [
        "4 to 10 sets whose overlaps you want to count",
        "the biggest and the rarest combinations both matter",
        "a Venn or Euler diagram would need more than three circles"
      ],
      "avoidWhen": [
        "two or three sets (an Euler diagram reads faster)",
        "the audience has never seen one and has no time to learn it",
        "you need the members, not the counts"
      ],
      "fields": [
        {
          "name": "total",
          "type": "number",
          "sign": "non-negative",
          "description": "confirmed planets in the archive",
          "unit": "planets",
          "format": "count"
        },
        {
          "name": "sets",
          "type": "text",
          "description": "each set with its size (name, size); the six largest get rows, the rest fold into one row named by hints.other"
        },
        {
          "name": "combos",
          "type": "text",
          "description": "each exact combination of sets with its count (sets, count)"
        }
      ],
      "tags": [
        "upset",
        "set overlaps",
        "intersections",
        "venn alternative",
        "space",
        "exoplanets",
        "astronomy"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "9:16",
      "page": "/charts/upset-plot",
      "markdown": "/charts/upset-plot.md",
      "manifest": "/charts/upset-plot.json"
    },
    {
      "id": "counter-ticker",
      "name": "Counter ticker",
      "family": "scale",
      "tier": "pro",
      "summary": "Use a counter ticker to turn a yearly total into a rate people can feel, counting up live at its real speed per second.",
      "useWhen": [
        "a yearly or daily total is too big to feel",
        "the rate itself is the story (per second, per minute)",
        "a page or a talk needs a live, ambient element"
      ],
      "avoidWhen": [
        "the rate is uneven and the average would mislead",
        "readers need the totals, not the speed",
        "the page is a still image or printed"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "optional": true,
          "description": "optional: the year the rates come from"
        },
        {
          "name": "births",
          "type": "number",
          "description": "what comes in over the year (babies born in the world in the example); the first counter, named hints.in",
          "unit": "people",
          "format": "count"
        },
        {
          "name": "deaths",
          "type": "number",
          "description": "what goes out over the year (deaths in the world in the example); the second counter, named hints.out, and the third is in minus out, named hints.net",
          "unit": "people",
          "format": "count"
        },
        {
          "name": "history",
          "type": "number",
          "optional": true,
          "description": "optional: the same two totals in earlier years (rows of year and the two keys), for the small chart (hints.history titles it, hints.names labels its lines)",
          "unit": "people",
          "format": "count"
        }
      ],
      "tags": [
        "live counter",
        "per second",
        "rate",
        "ticker",
        "population",
        "births",
        "deaths"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/counter-ticker",
      "markdown": "/charts/counter-ticker.md",
      "manifest": "/charts/counter-ticker.json"
    },
    {
      "id": "everyday-equivalents",
      "name": "Everyday equivalents",
      "family": "scale",
      "tier": "pro",
      "summary": "Use everyday equivalents to restate one abstract number as familiar things, so a reader can feel how much it is.",
      "useWhen": [
        "one number in a unit people cannot picture (tonnes, joules, litres)",
        "trusted conversion factors exist for familiar things",
        "a reader needs several ways in to the same quantity"
      ],
      "avoidWhen": [
        "the factors are not from one trusted source",
        "you compare different quantities (use bars)",
        "the equivalents would mislead (say so when they are averages for one country)"
      ],
      "fields": [
        {
          "name": "thing",
          "type": "category",
          "description": "the everyday activity"
        },
        {
          "name": "unit",
          "type": "category",
          "description": "what is counted (plural); charges, miles, pounds, gallons, trees, barrels and home-years have their own pictogram, any other unit a plain counter (or map it with hints.icons)"
        },
        {
          "name": "tonnesEach",
          "type": "number",
          "description": "tonnes of CO₂ (or CO₂-equivalent) per unit, from the EPA",
          "unit": "tonnes CO₂",
          "format": "decimal"
        },
        {
          "name": "perTonne",
          "type": "number",
          "description": "units per tonne of CO₂ (1 ÷ tonnesEach)",
          "unit": "per tonne",
          "format": "decimal"
        }
      ],
      "tags": [
        "equivalents",
        "restating numbers",
        "isotype",
        "co2",
        "carbon",
        "climate",
        "energy",
        "explainer"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/everyday-equivalents",
      "markdown": "/charts/everyday-equivalents.md",
      "manifest": "/charts/everyday-equivalents.json"
    },
    {
      "id": "explorable",
      "name": "Explorable",
      "family": "scale",
      "tier": "pro",
      "summary": "Use an explorable when the reader should own one input: drag a number in a sentence and the chart recomputes from real data.",
      "useWhen": [
        "one assumption drives the result and readers want to test it",
        "the data is fixed but the question is 'what if'",
        "you want people to build intuition by playing"
      ],
      "avoidWhen": [
        "the input has no sensible range",
        "the model is too simple and the result would mislead",
        "readers need a single answer, not a tool"
      ],
      "fields": [
        {
          "name": "name",
          "type": "category",
          "description": "the planet, or the Moon"
        },
        {
          "name": "fromSun",
          "type": "number",
          "description": "mean distance from the Sun, million km (for the Moon: from Earth)",
          "unit": "million km",
          "format": "decimal"
        }
      ],
      "tags": [
        "explorable",
        "what if",
        "reactive document",
        "bret victor",
        "space",
        "planets",
        "distance",
        "speed"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/explorable",
      "markdown": "/charts/explorable.md",
      "manifest": "/charts/explorable.json"
    },
    {
      "id": "how-many-fit",
      "name": "How many fit",
      "family": "scale",
      "tier": "pro",
      "summary": "Use a how-many-fit chart to make a ratio of sizes countable: pour the smaller thing into the bigger one and count them as they land.",
      "useWhen": [
        "a ratio between two sizes that is hard to feel as a number",
        "the count is between about 10 and a few thousand (or can be grouped)",
        "a step-by-step story from small to huge"
      ],
      "avoidWhen": [
        "the shapes would not really pack (say so in a note)",
        "the ratio is under about 5 (side-by-side silhouettes are clearer)",
        "you compare many items at once"
      ],
      "fields": [
        {
          "name": "small",
          "type": "category",
          "description": "the smaller body"
        },
        {
          "name": "big",
          "type": "category",
          "description": "the larger body"
        },
        {
          "name": "smallKm",
          "type": "number",
          "description": "the smaller body's diameter, km",
          "unit": "km",
          "format": "count"
        },
        {
          "name": "bigKm",
          "type": "number",
          "description": "the larger body's diameter, km (null for the Sun, which uses the volume ratio)",
          "unit": "km",
          "format": "count"
        },
        {
          "name": "count",
          "type": "number",
          "description": "how many of the smaller fit in the larger, by volume",
          "unit": "fit",
          "format": "count"
        }
      ],
      "tags": [
        "how many fit",
        "ratio",
        "counting",
        "volume",
        "planets",
        "space",
        "scale",
        "unit chart"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/how-many-fit",
      "markdown": "/charts/how-many-fit.md",
      "manifest": "/charts/how-many-fit.json"
    },
    {
      "id": "log-bars",
      "name": "Log bars",
      "family": "scale",
      "tier": "free",
      "summary": "Use log bars to compare values that span many orders of magnitude, where each step on the axis multiplies by ten.",
      "useWhen": [
        "values from tiny to huge (more than 100× apart)",
        "growth by multiples, not amounts",
        "readers can learn that each tick is ×10 or ×1,000"
      ],
      "avoidWhen": [
        "values within one order of magnitude (use ordinary bars)",
        "zero or negative values",
        "an audience unfamiliar with log scales and no time to explain"
      ],
      "fields": [
        {
          "name": "system",
          "type": "category",
          "description": "the item on each bar"
        },
        {
          "name": "date",
          "type": "date",
          "description": "the date or year; sets the colour era (hints.eras when all fall inside the data, else about three even steps) when there is no group"
        },
        {
          "name": "flop",
          "type": "number",
          "description": "training compute, FLOP",
          "unit": "FLOP",
          "format": "compact"
        },
        {
          "name": "group",
          "type": "category",
          "description": "optional colour group, in the data's order (up to six; the rest are 'other')",
          "optional": true
        }
      ],
      "tags": [
        "log scale",
        "orders of magnitude",
        "AI",
        "machine learning",
        "compute",
        "technology",
        "bars"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/log-bars",
      "markdown": "/charts/log-bars.md",
      "manifest": "/charts/log-bars.json"
    },
    {
      "id": "magnitude-dots",
      "name": "Magnitude dots",
      "family": "scale",
      "tier": "pro",
      "summary": "Use magnitude dots to show totals as dots that each stand for a fixed amount, so millions become countable.",
      "useWhen": [
        "big totals that are hard to imagine",
        "a few groups to compare",
        "growth over a few years, added dot by dot"
      ],
      "avoidWhen": [
        "values below one unit (they round to nothing)",
        "many groups",
        "exact values matter (use bars)"
      ],
      "fields": [
        {
          "name": "years",
          "type": "year",
          "description": "years available"
        },
        {
          "name": "rows.year",
          "type": "year",
          "description": "the year"
        },
        {
          "name": "rows.China",
          "series": true,
          "type": "number",
          "description": "electric cars on the road in China",
          "unit": "cars",
          "format": "count"
        },
        {
          "name": "rows.Europe",
          "series": true,
          "type": "number",
          "description": "in Europe",
          "unit": "cars",
          "format": "count"
        },
        {
          "name": "rows.United States",
          "series": true,
          "type": "number",
          "description": "in the United States",
          "unit": "cars",
          "format": "count"
        },
        {
          "name": "rows.Rest of the world",
          "series": true,
          "type": "number",
          "description": "the world total minus the three",
          "unit": "cars",
          "format": "count"
        },
        {
          "name": "rows.world",
          "type": "number",
          "description": "world total",
          "unit": "cars",
          "format": "count"
        }
      ],
      "tags": [
        "unit dots",
        "magnitude",
        "electric cars",
        "EV",
        "transport",
        "climate",
        "countable"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/magnitude-dots",
      "markdown": "/charts/magnitude-dots.md",
      "manifest": "/charts/magnitude-dots.json"
    },
    {
      "id": "nested-circles",
      "name": "Nested circles",
      "family": "scale",
      "tier": "free",
      "summary": "Use nested circles to compare sizes that differ hugely: draw each as a circle standing on the same floor, small inside big, so the eye reads the steps down.",
      "useWhen": [
        "3 to 8 sizes that span a few orders of magnitude",
        "each smaller thing is part of, or compared with, the bigger one",
        "a single striking 'all of it vs this bit' picture"
      ],
      "avoidWhen": [
        "the sizes are close (use bars)",
        "readers must read exact values from the picture",
        "the parts do not relate to the whole"
      ],
      "fields": [
        {
          "name": "level",
          "type": "category",
          "description": "the store of water"
        },
        {
          "name": "km3",
          "type": "number",
          "sign": "non-negative",
          "description": "volume, cubic kilometres; sets the ball's size",
          "unit": "km³",
          "format": "count"
        },
        {
          "name": "note",
          "type": "text",
          "description": "how a total was made, where it is a sum"
        }
      ],
      "tags": [
        "nested circles",
        "proportional",
        "size",
        "water",
        "earth",
        "climate",
        "nature",
        "scale"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/nested-circles",
      "markdown": "/charts/nested-circles.md",
      "manifest": "/charts/nested-circles.json"
    },
    {
      "id": "proportional-circles",
      "name": "Proportional circles",
      "family": "scale",
      "tier": "free",
      "summary": "Use proportional circles to compare sizes as nested discs standing on one point, so each smaller value sits inside the larger.",
      "useWhen": [
        "sizes spanning one or two orders of magnitude",
        "a 'how many fit inside' comparison",
        "3 to 12 items"
      ],
      "avoidWhen": [
        "values span many orders of magnitude (use log bars)",
        "readers must compare close values (use bars)",
        "negative values"
      ],
      "fields": [
        {
          "name": "body",
          "type": "category",
          "description": "planet, moon or dwarf planet"
        },
        {
          "name": "km",
          "sign": "non-negative",
          "type": "number",
          "description": "equatorial diameter, km",
          "unit": "km",
          "format": "count"
        },
        {
          "name": "mass",
          "sign": "non-negative",
          "type": "number",
          "description": "mass, 10^24 kg",
          "unit": "× 10²⁴ kg",
          "format": "decimal"
        }
      ],
      "tags": [
        "proportional circles",
        "nested circles",
        "planets",
        "space",
        "solar system",
        "size",
        "scale"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone marks are too small to see or tap (checked by eye)",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/proportional-circles",
      "markdown": "/charts/proportional-circles.md",
      "manifest": "/charts/proportional-circles.json"
    },
    {
      "id": "proportional-squares",
      "name": "Proportional squares",
      "family": "scale",
      "tier": "free",
      "summary": "Use proportional squares to compare amounts as squares sharing one corner, so each area can be seen inside the next.",
      "useWhen": [
        "a few amounts of very different size",
        "parts that readers should see nested inside the biggest",
        "squares fit the layout better than circles"
      ],
      "avoidWhen": [
        "close values (use bars)",
        "more than about 10 items (past 12 the smallest fold into Other)",
        "parts must sum visibly to a whole (use a treemap or waffle)"
      ],
      "fields": [
        {
          "name": "source",
          "type": "category",
          "description": "the item each square stands for"
        },
        {
          "name": "twh",
          "sign": "non-negative",
          "type": "number",
          "description": "primary energy, TWh",
          "unit": "TWh",
          "format": "count"
        },
        {
          "name": "group",
          "type": "category",
          "description": "optional: the group that colours a square (else hints.groupOf by name; the first group heads the headline and is drawn light)",
          "optional": true
        }
      ],
      "tags": [
        "proportional squares",
        "area",
        "energy",
        "fossil fuels",
        "renewables",
        "climate",
        "scale"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/proportional-squares",
      "markdown": "/charts/proportional-squares.md",
      "manifest": "/charts/proportional-squares.json"
    },
    {
      "id": "scale-journey",
      "name": "Scale journey",
      "family": "scale",
      "tier": "pro",
      "summary": "Use a scale journey to compare values across many orders of magnitude: the stops sit on a log line, and a slider zooms a plain linear view from one stop to the next.",
      "useWhen": [
        "values span three or more orders of magnitude",
        "readers should feel how a log scale compresses size",
        "a guided journey from small to huge (or back)"
      ],
      "avoidWhen": [
        "the values are all of similar size (use bars)",
        "you need many items at once (use a log-scale dot plot)",
        "the reader cannot interact (show two fixed zooms instead)"
      ],
      "fields": [
        {
          "name": "place",
          "type": "place",
          "description": "the country, or the world"
        },
        {
          "name": "code",
          "type": "id",
          "description": "World Bank code (ISO alpha-3, WLD for the world)"
        },
        {
          "name": "year",
          "type": "year",
          "description": "the year of the estimate"
        },
        {
          "name": "people",
          "type": "number",
          "description": "total population",
          "unit": "people",
          "format": "count"
        }
      ],
      "tags": [
        "log scale",
        "orders of magnitude",
        "zoom",
        "slider",
        "population",
        "countries",
        "scale"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/scale-journey",
      "markdown": "/charts/scale-journey.md",
      "manifest": "/charts/scale-journey.json"
    },
    {
      "id": "scroll-length",
      "name": "Scroll-length scale",
      "family": "scale",
      "tier": "pro",
      "summary": "Use a scroll-length scale when the distance itself is the story: the page is drawn to scale and the reader has to scroll the whole way.",
      "useWhen": [
        "one long distance or quantity that dwarfs its parts",
        "emptiness or gaps are the point",
        "the reader should feel the size through effort"
      ],
      "avoidWhen": [
        "readers need to compare values at a glance",
        "the page will be printed or seen as a still",
        "the range is small enough for one screen"
      ],
      "fields": [
        {
          "name": "body",
          "type": "category",
          "description": "the Sun, a planet, or Pluto"
        },
        {
          "name": "millionKm",
          "type": "number",
          "description": "mean distance from the Sun, million km; sets how far down it sits",
          "unit": "million km",
          "format": "decimal"
        },
        {
          "name": "diameterKm",
          "type": "number",
          "description": "diameter, km; sets its true size in pixels",
          "unit": "km",
          "format": "count"
        }
      ],
      "tags": [
        "scroll",
        "scrollytelling",
        "true scale",
        "distance",
        "solar system",
        "planets",
        "space",
        "emptiness"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone marks are too small to see or tap (checked by eye)",
      "ratios": [
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/scroll-length",
      "markdown": "/charts/scroll-length.md",
      "manifest": "/charts/scroll-length.json"
    },
    {
      "id": "size-silhouettes",
      "name": "Size silhouettes",
      "family": "scale",
      "tier": "pro",
      "summary": "Use size silhouettes to compare physical sizes directly: draw each object to the same scale, side by side on one ground line.",
      "useWhen": [
        "physical objects whose size people can picture",
        "2 to 10 items where the shape helps recognition; the outline is the hint shape: tower (setbacks, a spire, floor lines), box or column",
        "the gap between the biggest and the rest is the story"
      ],
      "avoidWhen": [
        "the quantities are not physical sizes",
        "exact differences of a few per cent matter (use a dot plot)",
        "the real shapes matter more than the heights (use photos or real outlines)"
      ],
      "fields": [
        {
          "name": "rank",
          "type": "number",
          "description": "optional: rank by height (the rows' order is used)",
          "unit": "rank",
          "format": "count",
          "fixed": true,
          "optional": true
        },
        {
          "name": "building",
          "type": "category",
          "description": "each object's label (the building)"
        },
        {
          "name": "metres",
          "type": "number",
          "sign": "non-negative",
          "description": "architectural height, metres; sets the outline's height",
          "unit": "m",
          "format": "count"
        },
        {
          "name": "floors",
          "type": "number",
          "description": "optional: floors above ground; draws a faint line every fifth floor",
          "unit": "floors",
          "format": "count",
          "optional": true
        },
        {
          "name": "city",
          "type": "place",
          "description": "optional: a note under the label (the city)",
          "optional": true
        },
        {
          "name": "country",
          "type": "place",
          "description": "optional: shown in the tooltip (the country)",
          "optional": true
        },
        {
          "name": "year",
          "type": "year",
          "description": "optional: a year under the label (the year completed; the hint yearWord goes before it in the tooltip)",
          "optional": true
        }
      ],
      "tags": [
        "silhouettes",
        "to scale",
        "size comparison",
        "buildings",
        "skyscrapers",
        "cities",
        "architecture"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/size-silhouettes",
      "markdown": "/charts/size-silhouettes.md",
      "manifest": "/charts/size-silhouettes.json"
    },
    {
      "id": "unit-cubes",
      "name": "Unit cubes",
      "family": "scale",
      "tier": "pro",
      "summary": "Use unit cubes to make a large count tangible: stack one small cube per fixed number of things, so the total becomes a pile you can see.",
      "useWhen": [
        "a large count (hundreds to tens of thousands) split into up to six groups",
        "the size of the pile matters more than exact values",
        "an explainer that builds a total up piece by piece"
      ],
      "avoidWhen": [
        "exact values must be read (use bars with labels)",
        "the groups are nearly equal",
        "the unit would be fractional for most groups"
      ],
      "fields": [
        {
          "name": "method",
          "type": "category",
          "description": "how the planets were discovered (small methods folded into Other)"
        },
        {
          "name": "planets",
          "type": "number",
          "description": "confirmed planets found that way",
          "unit": "planets",
          "format": "count"
        }
      ],
      "tags": [
        "unit chart",
        "isotype",
        "cubes",
        "counting",
        "big numbers",
        "exoplanets",
        "space",
        "astronomy"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/unit-cubes",
      "markdown": "/charts/unit-cubes.md",
      "manifest": "/charts/unit-cubes.json"
    },
    {
      "id": "zoom-ladder",
      "name": "Zoom ladder",
      "family": "scale",
      "tier": "pro",
      "summary": "Use a zoom ladder, after Powers of Ten, to walk a reader across many orders of magnitude one familiar thing at a time, each about ten times bigger than the last.",
      "useWhen": [
        "sizes or distances that span many orders of magnitude",
        "readers need familiar stepping stones to feel the jumps",
        "an explainer that zooms in or out"
      ],
      "avoidWhen": [
        "the values sit within one or two orders of magnitude (use bars)",
        "readers must compare many values at once (use a log axis)",
        "there are no familiar things to anchor each step"
      ],
      "fields": [
        {
          "name": "thing",
          "type": "category",
          "description": "what is measured"
        },
        {
          "name": "metres",
          "type": "number",
          "description": "its length, height, width or distance, metres",
          "unit": "m",
          "format": "count"
        },
        {
          "name": "asListed",
          "type": "text",
          "description": "the value as the source lists it, with its SI prefix"
        },
        {
          "name": "description",
          "type": "text",
          "description": "the source's description, shortened"
        }
      ],
      "tags": [
        "powers of ten",
        "orders of magnitude",
        "zoom",
        "log scale",
        "size",
        "distance",
        "space",
        "science"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone the chart isn't the main thing on screen (checked by eye)",
      "ratios": [
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/zoom-ladder",
      "markdown": "/charts/zoom-ladder.md",
      "manifest": "/charts/zoom-ladder.json"
    },
    {
      "id": "beeswarm",
      "name": "Beeswarm",
      "family": "spread",
      "tier": "pro",
      "summary": "Use a beeswarm to show every item of a distribution as its own dot along one value axis, packed so none overlap.",
      "useWhen": [
        "30 to 300 items on one measure, where each item matters",
        "you want the shape of the distribution and the names behind it",
        "a colour can carry one grouping of up to six groups"
      ],
      "avoidWhen": [
        "thousands of items (use a histogram or density)",
        "exact comparison of two items (use bars)",
        "the items have no identity worth hovering",
        "more than six colour groups (the rest share one grey \"other\")"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year shown"
        },
        {
          "name": "rows[].country",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "rows[].continent",
          "type": "category",
          "description": "its group, sets the colour: any labels; up to six get their own colour, the rest share one grey \"other\""
        },
        {
          "name": "rows[].tonnes",
          "type": "number",
          "sign": "positive",
          "description": "CO₂ emissions per person, tonnes",
          "unit": "tonnes",
          "format": "count"
        }
      ],
      "tags": [
        "distribution",
        "swarm",
        "dots",
        "climate",
        "emissions",
        "carbon",
        "countries"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone marks are too small to see or tap (checked by eye)",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "9:16",
      "page": "/charts/beeswarm",
      "markdown": "/charts/beeswarm.md",
      "manifest": "/charts/beeswarm.json"
    },
    {
      "id": "box-plot",
      "name": "Box plot",
      "family": "spread",
      "tier": "free",
      "summary": "Use a box plot to compare the middle, the spread and the outliers of several groups at once.",
      "useWhen": [
        "comparing 3 to 12 groups of numbers",
        "the middle and the spread matter more than the exact shape",
        "outliers should stand out"
      ],
      "avoidWhen": [
        "a general audience new to quartiles (use a strip plot)",
        "the distribution has two peaks (a box hides them; use a violin)",
        "a group has fewer than about 8 values",
        "more than 12 groups (the smallest fold into Other)"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year shown"
        },
        {
          "name": "rows[].country",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "rows[].continent",
          "type": "category",
          "description": "the group: any labels, one box each; 3 to 12 groups, the smallest fold into Other past 12"
        },
        {
          "name": "rows[].share",
          "type": "number",
          "description": "share of people online, %",
          "unit": "%",
          "format": "percent"
        }
      ],
      "tags": [
        "quartiles",
        "outliers",
        "groups",
        "internet",
        "technology",
        "comparison",
        "spread"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/box-plot",
      "markdown": "/charts/box-plot.md",
      "manifest": "/charts/box-plot.json"
    },
    {
      "id": "density",
      "name": "Density curve",
      "family": "spread",
      "tier": "free",
      "summary": "Use a density curve to show the smooth shape of a distribution, with a marker readers can drag to ask 'how many are below this?'.",
      "useWhen": [
        "one or two distributions with dozens of values or more",
        "the overall shape (peaks, skew, shift) is the story",
        "readers want to test a threshold"
      ],
      "avoidWhen": [
        "fewer than about 30 values (the smoothing invents shape; use a strip plot)",
        "readers need exact counts (use a histogram)",
        "values have hard limits the curve would cross"
      ],
      "fields": [
        {
          "name": "years",
          "type": "year",
          "description": "the two years compared"
        },
        {
          "name": "rows[].year",
          "type": "year",
          "description": "the year of the value"
        },
        {
          "name": "rows[].country",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "rows[].years",
          "type": "number",
          "description": "life expectancy at birth, years",
          "unit": "years",
          "format": "decimal"
        }
      ],
      "tags": [
        "distribution",
        "KDE",
        "smooth",
        "life expectancy",
        "health",
        "threshold",
        "slider"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/density",
      "markdown": "/charts/density.md",
      "manifest": "/charts/density.json"
    },
    {
      "id": "dice-odds",
      "name": "Dice odds",
      "family": "spread",
      "tier": "pro",
      "summary": "Use dice odds to set real outcomes beside the odds of pure chance, and let readers roll their own to feel how close luck gets.",
      "useWhen": [
        "comparing what happened with what chance predicts",
        "teaching probability with something hands-on",
        "a distribution of counts (0, 1, 2 …)"
      ],
      "avoidWhen": [
        "there is no clear model of chance to compare against",
        "the outcomes aren't counts",
        "readers need a formal test (show the statistics)"
      ],
      "fields": [
        {
          "name": "dice",
          "type": "number",
          "description": "dice per throw (12)",
          "unit": "dice",
          "format": "count",
          "fixed": true
        },
        {
          "name": "throws",
          "type": "number",
          "description": "total throws (26,306)",
          "unit": "throws",
          "format": "count"
        },
        {
          "name": "counts[].fives",
          "type": "number",
          "description": "dice showing a 5 or a 6 in a throw; the last row is 10 or more",
          "unit": "dice showing 5 or 6",
          "format": "count",
          "fixed": true
        },
        {
          "name": "counts[].throws",
          "type": "number",
          "description": "how many throws had that count",
          "unit": "throws",
          "format": "count"
        }
      ],
      "tags": [
        "probability",
        "binomial",
        "chance",
        "experiment",
        "dice",
        "history of science",
        "interactive"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/dice-odds",
      "markdown": "/charts/dice-odds.md",
      "manifest": "/charts/dice-odds.json"
    },
    {
      "id": "dot-histogram",
      "name": "Dot histogram",
      "family": "spread",
      "tier": "pro",
      "summary": "Use a dot histogram (Wilkinson dot plot) to show a distribution where every item is a countable dot stacked into its bin.",
      "useWhen": [
        "50 to 300 items, where each one is a person or thing worth hovering",
        "the shape of the distribution and the count both matter",
        "a colour can split the items into up to six groups"
      ],
      "avoidWhen": [
        "thousands of items (use a histogram)",
        "values need precise positions (dots snap to bins)",
        "groups should be compared side by side (use a strip plot)",
        "more than six eras (later ones join the sixth)"
      ],
      "fields": [
        {
          "name": "name",
          "type": "text",
          "description": "the item (a person or thing)"
        },
        {
          "name": "year",
          "type": "year",
          "description": "the year, which sets the era colour (hints.eras when all fall inside the data, else about three even steps)"
        },
        {
          "name": "age",
          "type": "number",
          "description": "award year minus birth year",
          "unit": "years",
          "format": "count"
        }
      ],
      "tags": [
        "distribution",
        "dot plot",
        "Wilkinson",
        "Nobel",
        "physics",
        "age",
        "science"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/dot-histogram",
      "markdown": "/charts/dot-histogram.md",
      "manifest": "/charts/dot-histogram.json"
    },
    {
      "id": "ecdf",
      "name": "Cumulative distribution",
      "family": "spread",
      "tier": "pro",
      "summary": "Use a cumulative distribution (ECDF) to show the share of items at or below every value, and to compare whole distributions without choosing bins.",
      "useWhen": [
        "comparing two to four whole distributions",
        "readers ask 'what share is below X?'",
        "you want every item in, with no binning choices"
      ],
      "avoidWhen": [
        "the audience expects a histogram's bumps (an ECDF hides peaks in its slope)",
        "more than about four distributions",
        "only the median matters (use a dot plot)"
      ],
      "fields": [
        {
          "name": "years",
          "type": "year",
          "description": "the years compared"
        },
        {
          "name": "rows[].year",
          "type": "year",
          "description": "the year of the value"
        },
        {
          "name": "rows[].country",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "rows[].share",
          "type": "number",
          "description": "share of people using the internet, %",
          "unit": "%",
          "format": "percent"
        }
      ],
      "tags": [
        "cumulative",
        "ECDF",
        "percentiles",
        "internet",
        "technology",
        "distribution",
        "change"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/ecdf",
      "markdown": "/charts/ecdf.md",
      "manifest": "/charts/ecdf.json"
    },
    {
      "id": "error-bars",
      "name": "Error bars",
      "family": "spread",
      "tier": "free",
      "summary": "Use error bars to show estimates with their uncertainty, so readers can see which differences are real and which are noise.",
      "useWhen": [
        "each estimate comes with an interval (a margin of error, a standard deviation, a range)",
        "the question is whether estimates differ beyond their uncertainty",
        "up to about 50 estimates"
      ],
      "avoidWhen": [
        "the interval has no stated meaning (say what the bar is)",
        "readers will treat the bar ends as hard limits (consider a gradient interval)",
        "the estimates are a time series (use a band)"
      ],
      "fields": [
        {
          "name": "date",
          "type": "date",
          "description": "publication date"
        },
        {
          "name": "value",
          "type": "number",
          "description": "the measured Hubble constant, km/s/Mpc",
          "unit": "km/s/Mpc",
          "format": "decimal"
        },
        {
          "name": "lo",
          "type": "number",
          "description": "value minus its reported uncertainty",
          "unit": "km/s/Mpc",
          "format": "decimal"
        },
        {
          "name": "hi",
          "type": "number",
          "description": "value plus its reported uncertainty",
          "unit": "km/s/Mpc",
          "format": "decimal"
        },
        {
          "name": "observer",
          "type": "text",
          "description": "the team or instrument; up to two rows named in hints.references get shaded reference bands"
        },
        {
          "name": "group",
          "type": "category",
          "description": "the kind of method, sets the colour (up to 6 coloured, the rest grey; hints.groups sets the order)"
        }
      ],
      "tags": [
        "uncertainty",
        "confidence interval",
        "estimates",
        "space",
        "cosmology",
        "Hubble tension",
        "science"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/error-bars",
      "markdown": "/charts/error-bars.md",
      "manifest": "/charts/error-bars.json"
    },
    {
      "id": "fan-chart",
      "name": "Fan chart",
      "family": "spread",
      "tier": "pro",
      "summary": "Use a fan chart to show a forecast whose uncertainty widens with time: a central line inside nested bands.",
      "useWhen": [
        "a forecast or projection with ranges",
        "uncertainty grows with time and that is part of the message",
        "one series, perhaps with history before it"
      ],
      "avoidWhen": [
        "several forecasts at once (the bands pile up)",
        "the range has no stated probability",
        "readers need one exact number (give the median and say so)"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year"
        },
        {
          "name": "median",
          "type": "number",
          "description": "the estimate, then the medium-variant projection, billions",
          "unit": "billion people",
          "format": "decimal"
        },
        {
          "name": "lo80",
          "type": "number",
          "description": "lower bound of the 80% prediction interval, billions (projections only)",
          "unit": "billion people",
          "format": "decimal"
        },
        {
          "name": "hi80",
          "type": "number",
          "description": "upper bound of the 80% prediction interval, billions",
          "unit": "billion people",
          "format": "decimal"
        },
        {
          "name": "lo95",
          "type": "number",
          "description": "lower bound of the 95% prediction interval, billions",
          "unit": "billion people",
          "format": "decimal"
        },
        {
          "name": "hi95",
          "type": "number",
          "description": "upper bound of the 95% prediction interval, billions",
          "unit": "billion people",
          "format": "decimal"
        }
      ],
      "tags": [
        "forecast",
        "projection",
        "uncertainty",
        "bands",
        "population",
        "prediction interval"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/fan-chart",
      "markdown": "/charts/fan-chart.md",
      "manifest": "/charts/fan-chart.json"
    },
    {
      "id": "galton-board",
      "name": "Galton board",
      "family": "spread",
      "tier": "pro",
      "summary": "Use a Galton board to build a histogram one item at a time: each ball bounces down the pegs into its bin, so the shape of the distribution grows in front of the reader.",
      "useWhen": [
        "showing how one measure is spread across 50 to 500 items",
        "explaining what a distribution is to a general audience",
        "each item is worth naming on hover"
      ],
      "avoidWhen": [
        "you need the exact shape of a smooth distribution (use a density or histogram)",
        "more than about 500 items",
        "readers might take the bouncing for real chance: the balls are steered to their true bins"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year of the estimates"
        },
        {
          "name": "countries[].country",
          "type": "place",
          "description": "country or territory"
        },
        {
          "name": "countries[].value",
          "type": "number",
          "description": "life expectancy at birth, years",
          "unit": "years",
          "format": "decimal"
        }
      ],
      "tags": [
        "Galton board",
        "bean machine",
        "histogram",
        "distribution",
        "life expectancy",
        "health"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "9:16",
      "page": "/charts/galton-board",
      "markdown": "/charts/galton-board.md",
      "manifest": "/charts/galton-board.json"
    },
    {
      "id": "gradient-interval",
      "name": "Gradient interval",
      "family": "spread",
      "tier": "pro",
      "summary": "Use a gradient interval to show uncertainty as a band that fades towards its edges, dark where the true value most likely lies.",
      "useWhen": [
        "an estimate with an uncertainty range that changes over time or across items",
        "you want readers to see that values near the middle are likelier than the edges",
        "a single interval would look like a hard boundary"
      ],
      "avoidWhen": [
        "the range has no probability behind it (min and max only)",
        "several overlapping series (bands blur together)",
        "readers must read the exact bounds (use error bars)"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year"
        },
        {
          "name": "anomaly",
          "type": "number",
          "description": "best estimate, °C above the 1861–1890 average",
          "unit": "°C",
          "format": "decimal"
        },
        {
          "name": "lower",
          "type": "number",
          "description": "lower bound of the 95% range, °C",
          "unit": "°C",
          "format": "decimal"
        },
        {
          "name": "upper",
          "type": "number",
          "description": "upper bound of the 95% range, °C",
          "unit": "°C",
          "format": "decimal"
        }
      ],
      "tags": [
        "uncertainty",
        "confidence band",
        "climate",
        "temperature",
        "warming",
        "fading band"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/gradient-interval",
      "markdown": "/charts/gradient-interval.md",
      "manifest": "/charts/gradient-interval.json"
    },
    {
      "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.",
      "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"
        }
      ],
      "tags": [
        "distribution",
        "bins",
        "earthquakes",
        "median",
        "skew",
        "frequency"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/histogram",
      "markdown": "/charts/histogram.md",
      "manifest": "/charts/histogram.json"
    },
    {
      "id": "hypothetical-outcomes",
      "name": "Hypothetical outcomes",
      "family": "spread",
      "tier": "pro",
      "summary": "Use hypothetical outcome plots to show uncertainty as a run of possible worlds: each frame is one draw, and the odds emerge as you watch.",
      "useWhen": [
        "the audience should feel how often an outcome happens, not read a probability",
        "comparing two or three uncertain quantities that are drawn together",
        "a screen where motion is welcome"
      ],
      "avoidWhen": [
        "print or a static image (use quantile dots or a gradient interval)",
        "readers need exact intervals",
        "more than about four quantities at once (past six, only the first six lanes are drawn)"
      ],
      "fields": [
        {
          "name": "city",
          "type": "place",
          "description": "the city; one lane each, in the data's order (up to six); the counter compares meta.hints.pair, else the first two"
        },
        {
          "name": "date",
          "type": "date",
          "description": "the day (July in the example); only days with a value for every city are drawn"
        },
        {
          "name": "tmax",
          "type": "number",
          "description": "the day's maximum temperature, °C",
          "unit": "°C",
          "format": "decimal"
        }
      ],
      "tags": [
        "uncertainty",
        "HOPs",
        "animation",
        "weather",
        "temperature",
        "cities",
        "probability"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/hypothetical-outcomes",
      "markdown": "/charts/hypothetical-outcomes.md",
      "manifest": "/charts/hypothetical-outcomes.json"
    },
    {
      "id": "normal-qq",
      "name": "Normal Q–Q plot",
      "family": "spread",
      "tier": "free",
      "summary": "Use a normal Q–Q plot to compare ordered observations with normal quantiles and reveal skew or unusual tails.",
      "useWhen": [
        "checking the shape of one numeric sample against a normal distribution",
        "looking for skew, heavy tails or unusual observations",
        "you have at least two observations, ideally 10 to 200"
      ],
      "avoidWhen": [
        "you need a formal normality test or a confidence band",
        "comparing two empirical samples (use a two-sample Q–Q plot)",
        "you need frequencies in bins (use a histogram)"
      ],
      "fields": [
        {
          "name": "label",
          "type": "category",
          "description": "the observation name, shown on hover or tap"
        },
        {
          "name": "value",
          "type": "number",
          "sign": "any",
          "description": "the observed measurement; signed values are supported",
          "unit": "km",
          "format": "decimal"
        }
      ],
      "tags": [
        "normal",
        "Q–Q",
        "quantile",
        "probability plot",
        "distribution",
        "skew",
        "tails"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "1:1",
        "4:5",
        "9:16"
      ],
      "bestRatio": "4:5",
      "page": "/charts/normal-qq",
      "markdown": "/charts/normal-qq.md",
      "manifest": "/charts/normal-qq.json"
    },
    {
      "id": "percentile-strip",
      "name": "Percentile strip",
      "family": "spread",
      "tier": "pro",
      "summary": "Use a percentile strip to show where particular items fall within a whole distribution: one tick per item over shaded percentile bands.",
      "useWhen": [
        "placing a few named items within a large group ('where do we rank?')",
        "the scale is skewed and percentiles are clearer than values",
        "one measure, 50 to 500 items"
      ],
      "avoidWhen": [
        "comparing distributions of several groups (use box plots)",
        "the gaps between items matter more than their rank",
        "readers would mistake a country's average for every person's"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year shown"
        },
        {
          "name": "rows[].country",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "rows[].code",
          "type": "id",
          "description": "a short code for the item (ISO 3166 alpha-3 for countries); callouts and short names may use it"
        },
        {
          "name": "rows[].gdp",
          "type": "number",
          "sign": "positive",
          "description": "GDP per person, PPP, current international $",
          "unit": "USD",
          "format": "currency"
        }
      ],
      "tags": [
        "percentiles",
        "rank",
        "income",
        "GDP",
        "inequality",
        "economy",
        "distribution"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone the chart isn't the main thing on screen (checked by eye)",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/percentile-strip",
      "markdown": "/charts/percentile-strip.md",
      "manifest": "/charts/percentile-strip.json"
    },
    {
      "id": "quantile-dots",
      "name": "Quantile dots",
      "family": "spread",
      "tier": "pro",
      "summary": "Use quantile dots to turn a distribution into odds people can count: 20 dots, each standing for 5% of outcomes.",
      "useWhen": [
        "telling people the odds of a wait, a delay or a forecast",
        "the audience is not used to probability curves",
        "one distribution, with a decision threshold to try"
      ],
      "avoidWhen": [
        "comparing several distributions (use box plots or ridgelines)",
        "the exact tail matters (20 dots round it to 5%)",
        "fewer than about 40 observations behind the quantiles"
      ],
      "fields": [
        {
          "name": "from",
          "type": "date",
          "description": "first day of the period"
        },
        {
          "name": "to",
          "type": "date",
          "description": "last day of the period"
        },
        {
          "name": "quakes",
          "type": "number",
          "description": "earthquakes in the period",
          "unit": "earthquakes",
          "format": "count"
        },
        {
          "name": "gapsHours",
          "type": "number",
          "description": "hours between consecutive quakes",
          "unit": "hours",
          "format": "decimal"
        }
      ],
      "tags": [
        "uncertainty",
        "odds",
        "probability",
        "frequency framing",
        "earthquakes",
        "waiting time"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/quantile-dots",
      "markdown": "/charts/quantile-dots.md",
      "manifest": "/charts/quantile-dots.json"
    },
    {
      "id": "raincloud",
      "name": "Raincloud",
      "family": "spread",
      "tier": "pro",
      "summary": "Use a raincloud to show a distribution three ways at once: a half-violin cloud for the shape, a box for the summary and raw dots as rain.",
      "useWhen": [
        "comparing 2 to 8 groups where the shape, the summary and the raw values all matter",
        "groups have 10 to 200 values",
        "an audience that might distrust a summary alone"
      ],
      "avoidWhen": [
        "thousands of values per group (the rain becomes fog)",
        "small screens with many groups",
        "readers only need the medians (use a dot plot)",
        "more than 8 groups (the smallest fold into Other)"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year shown"
        },
        {
          "name": "rows[].country",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "rows[].continent",
          "type": "category",
          "description": "the group: any labels, one row each; 2 to 8 groups, the smallest fold into Other past 8"
        },
        {
          "name": "rows[].years",
          "type": "number",
          "description": "life expectancy at birth, years",
          "unit": "years",
          "format": "decimal"
        }
      ],
      "tags": [
        "distribution",
        "raincloud",
        "violin",
        "box plot",
        "raw data",
        "life expectancy",
        "health"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/raincloud",
      "markdown": "/charts/raincloud.md",
      "manifest": "/charts/raincloud.json"
    },
    {
      "id": "ridgeline",
      "name": "Ridgeline",
      "family": "spread",
      "tier": "pro",
      "summary": "Use a ridgeline to show how a distribution shifts across many ordered groups: stacked densities that overlap like mountain ridges.",
      "useWhen": [
        "one measure across 6 to 30 ordered groups (decades, months, ages)",
        "the shift of the whole shape is the story",
        "exact values matter less than the drift"
      ],
      "avoidWhen": [
        "groups are unordered categories (use a violin)",
        "fewer than about 4 groups (use overlaid densities)",
        "readers need to read exact values",
        "more than about 30 groups (the chart grows tall)"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year; grouped into hints.bin-wide bins (decades by default) unless hints.groupBy names another ordered field"
        },
        {
          "name": "month",
          "type": "number",
          "description": "the month, 1 to 12 (a group of its own with hints.groupBy = month)",
          "unit": "month",
          "format": "count",
          "fixed": true
        },
        {
          "name": "anomaly",
          "type": "number",
          "description": "difference from the 1951–1980 average for that month, °C",
          "unit": "°C",
          "format": "decimal"
        }
      ],
      "tags": [
        "distribution",
        "density",
        "climate",
        "temperature",
        "warming",
        "decades",
        "joyplot"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/ridgeline",
      "markdown": "/charts/ridgeline.md",
      "manifest": "/charts/ridgeline.json"
    },
    {
      "id": "strip-plot",
      "name": "Strip plot",
      "family": "spread",
      "tier": "free",
      "summary": "Use a strip plot to show every value in a few groups as jittered dots, with each group's median marked.",
      "useWhen": [
        "2 to 8 groups with 10 to 100 values each",
        "you want every item visible, not a summary",
        "a general audience (easier than a box plot)"
      ],
      "avoidWhen": [
        "hundreds of values per group (use a violin or box plot)",
        "the vertical jitter could be read as data",
        "only the averages matter (use bars)",
        "more than 8 groups (the smallest fold into Other)"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year shown"
        },
        {
          "name": "rows[].country",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "rows[].continent",
          "type": "category",
          "description": "the group: any labels, one row each; 2 to 8 groups, the smallest fold into Other past 8"
        },
        {
          "name": "rows[].share",
          "type": "number",
          "description": "share of electricity from renewables, %",
          "unit": "%",
          "format": "percent"
        }
      ],
      "tags": [
        "jitter",
        "dots",
        "groups",
        "energy",
        "renewables",
        "electricity",
        "median"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/strip-plot",
      "markdown": "/charts/strip-plot.md",
      "manifest": "/charts/strip-plot.json"
    },
    {
      "id": "violin",
      "name": "Violin",
      "family": "spread",
      "tier": "free",
      "summary": "Use a violin to compare the full shape of several distributions: each is a mirrored density, wide where values crowd.",
      "useWhen": [
        "comparing the shape of 2 to 8 groups with dozens of values or more",
        "groups may have two peaks or long tails a box plot would hide",
        "the audience can read a smoothed shape"
      ],
      "avoidWhen": [
        "groups with fewer than about 20 values (use a strip plot)",
        "readers need exact quartiles (use a box plot)",
        "one group only (use a histogram or density)",
        "more than 8 groups (the smallest fold into Other)"
      ],
      "fields": [
        {
          "name": "name",
          "type": "text",
          "description": "the laureate"
        },
        {
          "name": "category",
          "type": "category",
          "description": "the group (here the prize): any labels, one violin each; 2 to 8 groups, the smallest fold into Other past 8"
        },
        {
          "name": "year",
          "type": "year",
          "description": "the award year"
        },
        {
          "name": "age",
          "type": "number",
          "description": "award year minus birth year",
          "unit": "years",
          "format": "count"
        }
      ],
      "tags": [
        "distribution",
        "density",
        "groups",
        "Nobel",
        "age",
        "science",
        "history"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/violin",
      "markdown": "/charts/violin.md",
      "manifest": "/charts/violin.json"
    },
    {
      "id": "where-do-you-sit",
      "name": "Where do you sit?",
      "family": "spread",
      "tier": "pro",
      "summary": "Use a where-do-you-sit chart to let readers place themselves among real values with a slider, so a distribution becomes personal.",
      "useWhen": [
        "readers can estimate their own value in the same unit",
        "the spread is wide and surprising",
        "you want a distribution to feel personal"
      ],
      "avoidWhen": [
        "readers cannot know their own value",
        "the measure is sensitive (income, health) and placing people could shame them",
        "fewer than about 20 values"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year of the supply figures"
        },
        {
          "name": "countries[].country",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "countries[].kg",
          "type": "number",
          "description": "meat supplied for food per person per year, kg",
          "unit": "kg",
          "format": "decimal"
        }
      ],
      "tags": [
        "you are here",
        "personal",
        "slider",
        "distribution",
        "beeswarm",
        "food",
        "meat"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone marks are too small to see or tap (checked by eye)",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/where-do-you-sit",
      "markdown": "/charts/where-do-you-sit.md",
      "manifest": "/charts/where-do-you-sit.json"
    },
    {
      "id": "diff-view",
      "name": "Diff view",
      "family": "text",
      "tier": "pro",
      "summary": "Use a diff view to show how a text changed between two versions: what was kept, cut and added, word by word.",
      "useWhen": [
        "two versions of the same text are compared",
        "where the changes fall matters as much as how many",
        "the text is short enough to read in full (up to a few pages)"
      ],
      "avoidWhen": [
        "the texts are different works (use word frequencies)",
        "only the size of change matters (use a single number or bar)",
        "the text is very long (summarise changes by section)"
      ],
      "fields": [
        {
          "name": "before.name, after.name",
          "type": "category",
          "description": "the two versions"
        },
        {
          "name": "before.note, after.note",
          "type": "text",
          "description": "what each version is"
        },
        {
          "name": "before.text, after.text",
          "type": "text",
          "description": "the full text of each version"
        }
      ],
      "tags": [
        "text",
        "diff",
        "revision",
        "editing",
        "history",
        "speech",
        "Lincoln",
        "before and after"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone the chart isn't the main thing on screen (checked by eye)",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/diff-view",
      "markdown": "/charts/diff-view.md",
      "manifest": "/charts/diff-view.json"
    },
    {
      "id": "highlighted-text",
      "name": "Highlighted text",
      "family": "text",
      "tier": "pro",
      "summary": "Use highlighted text to show a passage in full with words or phrases marked by category, so readers see both the pattern and the words themselves.",
      "useWhen": [
        "the passage is short enough to read whole (up to about 500 words)",
        "the categories are a lens on the text, such as themes, speakers or parts of speech",
        "readers should check the evidence in context"
      ],
      "avoidWhen": [
        "the text is long (use counts or a sentiment strip)",
        "categories overlap heavily",
        "more than six categories"
      ],
      "fields": [
        {
          "name": "text",
          "type": "text",
          "description": "the passage"
        },
        {
          "name": "categories[].name",
          "type": "category",
          "description": "a group, in ink order"
        },
        {
          "name": "categories[].words",
          "type": "text",
          "description": "the words that belong to it"
        },
        {
          "name": "categories[].note",
          "type": "text",
          "description": "what the group means"
        }
      ],
      "tags": [
        "text",
        "highlight",
        "annotation",
        "speech",
        "rhetoric",
        "Lincoln",
        "history",
        "close reading"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone the chart isn't the main thing on screen (checked by eye)",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/highlighted-text",
      "markdown": "/charts/highlighted-text.md",
      "manifest": "/charts/highlighted-text.json"
    },
    {
      "id": "kwic",
      "name": "Key word in context",
      "family": "text",
      "tier": "pro",
      "summary": "Use a key-word-in-context view (a concordance) to line up every use of a word with the words around it, so patterns in how it is used jump out.",
      "useWhen": [
        "you want to see how a word is used, not only how often",
        "comparing a few related words in one text",
        "close reading needs the evidence beside the count"
      ],
      "avoidWhen": [
        "the word appears thousands of times (sample it or use collocation counts)",
        "only frequency matters (use bars)",
        "the reader cannot see the text (provide counts and a summary instead)"
      ],
      "fields": [
        {
          "name": "words",
          "type": "category",
          "description": "the key words, in ink order"
        },
        {
          "name": "hits.<word>[].at",
          "type": "category",
          "description": "the letter or chapter it appears in"
        },
        {
          "name": "hits.<word>[].pos",
          "type": "number",
          "description": "how far through the book, 0 to 1",
          "unit": "of the book",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "hits.<word>[].left",
          "type": "text",
          "description": "the words before"
        },
        {
          "name": "hits.<word>[].word",
          "type": "text",
          "description": "the word as written"
        },
        {
          "name": "hits.<word>[].right",
          "type": "text",
          "description": "the words after"
        }
      ],
      "tags": [
        "concordance",
        "KWIC",
        "text",
        "close reading",
        "literature",
        "Frankenstein",
        "words",
        "corpus"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone marks are too small to see or tap (checked by eye)",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/kwic",
      "markdown": "/charts/kwic.md",
      "manifest": "/charts/kwic.json"
    },
    {
      "id": "letter-frequency",
      "name": "Letter frequency",
      "family": "text",
      "tier": "free",
      "summary": "Use a letter-frequency chart to show how often each letter appears in a text, usually against a reference text so the differences stand out.",
      "useWhen": [
        "comparing the make-up of a text with a reference (ciphers, constrained writing, languages)",
        "there are up to about 30 symbols",
        "the shape of the whole alphabet matters"
      ],
      "avoidWhen": [
        "you care about words, not letters (use word frequency)",
        "there is no reference to compare with and the order means nothing",
        "more than 4 texts (only the first ones and the reference are drawn; the key says how many are left out)",
        "more than about 30 symbols (past 32 the least common fold into one \"…\" bar)",
        "the text is very short (shares are noisy)"
      ],
      "fields": [
        {
          "name": "books[].title",
          "type": "category",
          "description": "the text: 1 to 4 of them, side by side; the last is the reference (or the one titled hints.reference), and with one there is no comparison"
        },
        {
          "name": "books[].counts",
          "series": true,
          "type": "number",
          "description": "times each letter or symbol appears; its keys, in order, are the alphabet (a to z here, accents removed, case ignored)",
          "unit": "letters",
          "format": "count"
        },
        {
          "name": "books[].letters",
          "type": "number",
          "sign": "non-negative",
          "description": "all letters counted",
          "unit": "letters",
          "format": "count"
        },
        {
          "name": "books[].words",
          "type": "number",
          "sign": "non-negative",
          "description": "words counted",
          "unit": "words",
          "format": "count"
        }
      ],
      "tags": [
        "letters",
        "alphabet",
        "text",
        "frequency",
        "lipogram",
        "constrained writing",
        "literature",
        "cryptography"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/letter-frequency",
      "markdown": "/charts/letter-frequency.md",
      "manifest": "/charts/letter-frequency.json"
    },
    {
      "id": "quote-wall",
      "name": "Quote wall",
      "family": "text",
      "tier": "pro",
      "summary": "Use a quote wall to show many short quotes at once, each card sized by a measure and coloured by its source or theme.",
      "useWhen": [
        "the words themselves are the data (quotes, reviews, survey answers)",
        "5 to 20 short texts, each with one number and one category",
        "a playful page that invites reading"
      ],
      "avoidWhen": [
        "exact comparison of the numbers (use bars)",
        "dozens of quotes (use a searchable table)",
        "quotes longer than two or three sentences"
      ],
      "fields": [
        {
          "name": "id",
          "type": "id",
          "description": "an id for each text"
        },
        {
          "name": "title",
          "type": "text",
          "description": "where the text is from (book, product, respondent)"
        },
        {
          "name": "author",
          "type": "text",
          "description": "who wrote or said it (\"Surname, First\" is shown as First Surname)"
        },
        {
          "name": "authorBorn",
          "type": "year",
          "description": "a year that sets the colour era (hints.eras when all fall inside the data, else about three even steps) when there is no group"
        },
        {
          "name": "downloads",
          "type": "number",
          "description": "downloads in the last 30 days, sets the type size",
          "unit": "downloads",
          "format": "count"
        },
        {
          "name": "line",
          "type": "text",
          "description": "the quote itself (long ones cut with …)"
        },
        {
          "name": "group",
          "type": "category",
          "description": "optional colour group, in the data's order (up to six; the rest are 'other')",
          "optional": true
        }
      ],
      "tags": [
        "text",
        "quotes",
        "books",
        "literature",
        "first lines",
        "reading",
        "masonry"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/quote-wall",
      "markdown": "/charts/quote-wall.md",
      "manifest": "/charts/quote-wall.json"
    },
    {
      "id": "sentence-lengths",
      "name": "Sentence lengths",
      "family": "text",
      "tier": "free",
      "summary": "Use a sentence-length chart to show the rhythm of a text: every sentence as a bar, in reading order, as tall as its word count.",
      "useWhen": [
        "the rhythm or pacing of a text is the story",
        "you want to find unusually long or short sentences in context",
        "comparing chapters, speeches or authors by style"
      ],
      "avoidWhen": [
        "only the average matters (use a single number or a histogram)",
        "the text has no clear sentence boundaries (verse, transcripts)",
        "the text is very long (sample a chapter or bin the sentences)"
      ],
      "fields": [
        {
          "name": "chapters",
          "type": "category",
          "description": "the chapter titles, in order; numbered with Roman numerals, and named in tooltips with hints.part, else \"Part\""
        },
        {
          "name": "columns",
          "type": "text",
          "description": "the order of values in each sentence row"
        },
        {
          "name": "sentences[][0] chapter",
          "type": "id",
          "description": "the chapter it is in (0 is the first)"
        },
        {
          "name": "sentences[][1] words",
          "type": "number",
          "description": "its length in words",
          "unit": "words",
          "format": "count"
        },
        {
          "name": "sentences[][2] text",
          "type": "text",
          "description": "its opening words"
        }
      ],
      "tags": [
        "text",
        "sentences",
        "rhythm",
        "style",
        "Dickens",
        "literature",
        "reading",
        "pacing"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone marks are too small to see or tap (checked by eye)",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/sentence-lengths",
      "markdown": "/charts/sentence-lengths.md",
      "manifest": "/charts/sentence-lengths.json"
    },
    {
      "id": "sentiment-strip",
      "name": "Sentiment strip",
      "family": "text",
      "tier": "pro",
      "summary": "Use a sentiment strip to show how the mood of a text moves from start to end: every sentence as a thin bar, coloured by its sentiment score.",
      "useWhen": [
        "you want the arc of a long text: a novel, a speech, a transcript",
        "where the mood shifts matters more than any one sentence",
        "the text has parts (chapters, acts) to compare"
      ],
      "avoidWhen": [
        "precise sentiment matters (word lists miss irony and negation)",
        "the text is a few sentences (show the text itself)",
        "the language is not covered by the word list"
      ],
      "fields": [
        {
          "name": "staves",
          "type": "category",
          "description": "the parts of the text, in order (staves, chapters, acts); headed with hints.part, else \"Part\", and a Roman numeral"
        },
        {
          "name": "columns",
          "type": "text",
          "description": "the order of values in each sentence row"
        },
        {
          "name": "sentences[][0] stave",
          "type": "id",
          "description": "which part the sentence is in (0 is the first)"
        },
        {
          "name": "sentences[][1] score",
          "type": "number",
          "description": "sum of AFINN scores of its words (negative is darker)",
          "unit": "AFINN score",
          "format": "decimal"
        },
        {
          "name": "sentences[][2] words",
          "type": "number",
          "description": "number of words; sets the bar's width",
          "unit": "words",
          "format": "count"
        },
        {
          "name": "sentences[][3] text",
          "type": "text",
          "description": "the sentence's opening words"
        }
      ],
      "tags": [
        "sentiment",
        "text",
        "mood",
        "novel",
        "Dickens",
        "literature",
        "story arc",
        "reading"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/sentiment-strip",
      "markdown": "/charts/sentiment-strip.md",
      "manifest": "/charts/sentiment-strip.json"
    },
    {
      "id": "text-timeline",
      "name": "Text timeline",
      "family": "text",
      "tier": "pro",
      "summary": "Use a text timeline to place words or phrases along time, so the language of each period can be read in order.",
      "useWhen": [
        "the data is short text with a date (headlines, slogans, firsts, words of the year)",
        "1 to 5 parallel sources (columns) over 5 to 30 periods",
        "the shift in themes is the story"
      ],
      "avoidWhen": [
        "the texts are longer than a few words (use a list or quote wall)",
        "irregular, dense dates (use a timeline with a time axis)",
        "a number per period matters more than the words (use a line)",
        "more than 5 sources (only the first 5 columns are drawn)"
      ],
      "fields": [
        {
          "name": "dictionary",
          "type": "category",
          "description": "the source, one column each in the data's order (the example: the dictionary that chose the word); up to 5"
        },
        {
          "name": "year",
          "type": "year",
          "description": "the year it was chosen for"
        },
        {
          "name": "phrase",
          "type": "text",
          "description": "the word or phrase; empty means none chosen that year"
        },
        {
          "name": "theme",
          "type": "category",
          "description": "optional: what the phrase is about, which colours its pill (the legend lists these in the data's order; past six they share one 'other' colour); without it the example's own word-to-theme grouping is used"
        }
      ],
      "tags": [
        "text",
        "language",
        "words",
        "timeline",
        "culture",
        "AI",
        "internet"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/text-timeline",
      "markdown": "/charts/text-timeline.md",
      "manifest": "/charts/text-timeline.json"
    },
    {
      "id": "word-frequency",
      "name": "Word frequency",
      "family": "text",
      "tier": "free",
      "summary": "Use word frequency bars to show the most used words in a text, sorted, once the common little words are removed.",
      "useWhen": [
        "a first look at what a text is about",
        "comparing a handful of chosen words on one scale",
        "up to about 30 words"
      ],
      "avoidWhen": [
        "comparing texts of different lengths (use rates per 10,000 words)",
        "meaning depends on context (use a word tree or keyword in context)",
        "word clouds are tempting: sorted bars are easier to read"
      ],
      "fields": [
        {
          "name": "totalWords",
          "type": "number",
          "sign": "non-negative",
          "description": "words in the text",
          "unit": "words",
          "format": "count"
        },
        {
          "name": "rows[].word",
          "type": "text",
          "description": "a word, lower case"
        },
        {
          "name": "rows[].count",
          "type": "number",
          "sign": "non-negative",
          "description": "times it appears",
          "unit": "times",
          "format": "count"
        },
        {
          "name": "names[].word",
          "type": "text",
          "description": "optional: a second list of chosen words, drawn on the same scale (its heading is the hint namesHead)",
          "optional": true
        },
        {
          "name": "names[].count",
          "type": "number",
          "sign": "non-negative",
          "description": "times it appears",
          "unit": "times",
          "format": "count",
          "optional": true
        }
      ],
      "tags": [
        "text",
        "words",
        "frequency",
        "books",
        "literature",
        "Frankenstein",
        "sorted bars"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/word-frequency",
      "markdown": "/charts/word-frequency.md",
      "manifest": "/charts/word-frequency.json"
    },
    {
      "id": "word-tree",
      "name": "Word tree",
      "family": "text",
      "tier": "pro",
      "summary": "Use a word tree to show what follows a word in a text: branches split wherever the next words differ, sized by how often each path appears.",
      "useWhen": [
        "exploring how a word or phrase is used across a text",
        "repeated phrasings are the story (habits of speech, slogans, formulas)",
        "one root word and a few hundred uses"
      ],
      "avoidWhen": [
        "the root is rare (a tree of single uses says little)",
        "comparing two texts (use side-by-side frequency bars)",
        "readers need exact counts for many phrases (use a table)"
      ],
      "fields": [
        {
          "name": "root",
          "type": "text",
          "description": "the root word"
        },
        {
          "name": "total",
          "type": "number",
          "description": "how often the root appears",
          "unit": "times",
          "format": "count"
        },
        {
          "name": "rows[].phrase",
          "type": "text",
          "description": "up to three words that followed the root, within a clause"
        },
        {
          "name": "rows[].count",
          "type": "number",
          "description": "how often that exact continuation appears",
          "unit": "times",
          "format": "count"
        }
      ],
      "tags": [
        "text",
        "language",
        "phrases",
        "concordance",
        "books",
        "literature",
        "Alice in Wonderland"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/word-tree",
      "markdown": "/charts/word-tree.md",
      "manifest": "/charts/word-tree.json"
    },
    {
      "id": "annotated-line",
      "name": "Annotated line",
      "family": "time",
      "tier": "pro",
      "summary": "Use an annotated line to tell a story along a trend: a few callouts mark the moments that explain its shape.",
      "useWhen": [
        "one series with a few moments that explain it",
        "a general audience needs the story, not just the shape",
        "the callouts are facts the reader can check"
      ],
      "avoidWhen": [
        "many series (callouts get lost)",
        "more than about six callouts",
        "the explanations are guesses"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year"
        },
        {
          "name": "anomaly",
          "type": "number",
          "description": "global mean temperature difference from 1951 to 1980, °C",
          "unit": "°C",
          "format": "decimal"
        }
      ],
      "tags": [
        "annotation",
        "callouts",
        "storytelling",
        "climate",
        "temperature",
        "warming"
      ],
      "mobile": "desktop",
      "mobileNote": "9 labels overlap on a phone",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/annotated-line",
      "markdown": "/charts/annotated-line.md",
      "manifest": "/charts/annotated-line.json"
    },
    {
      "id": "annotated-steps",
      "name": "Annotated steps",
      "family": "time",
      "tier": "pro",
      "summary": "Use annotated steps when the captions lead: each caption slides a highlight to the stretch of data it talks about.",
      "useWhen": [
        "a single long series has several chapters",
        "the captions carry the argument and the chart is the evidence",
        "a slide or a thread walks through the same chart several times"
      ],
      "avoidWhen": [
        "readers want to explore any year themselves (use a hover line chart)",
        "there is one point to make (use a callout)",
        "the chapters need different charts (use scrollytelling)"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year"
        },
        {
          "name": "cost",
          "type": "number",
          "sign": "positive",
          "description": "module price, US dollars per watt, 2024 prices",
          "unit": "USD per watt",
          "format": "decimal"
        }
      ],
      "tags": [
        "annotation",
        "captions",
        "steps",
        "highlight",
        "learning curve",
        "solar",
        "energy",
        "prices"
      ],
      "mobile": "desktop",
      "mobileNote": "1 label overlap on a phone",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/annotated-steps",
      "markdown": "/charts/annotated-steps.md",
      "manifest": "/charts/annotated-steps.json"
    },
    {
      "id": "area",
      "name": "Area",
      "family": "time",
      "tier": "free",
      "summary": "Use an area chart to show how one total grows or shrinks over time, when the amount under the line matters.",
      "useWhen": [
        "one series measured as an amount (not a rate)",
        "the size and the acceleration both matter",
        "the axis can start at zero"
      ],
      "avoidWhen": [
        "several series overlap (use lines, or a stacked area if they add up)",
        "values go below zero",
        "the baseline can't be zero"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year"
        },
        {
          "name": "gw",
          "type": "number",
          "sign": "non-negative",
          "description": "cumulative installed solar capacity, gigawatts",
          "unit": "GW",
          "format": "count"
        }
      ],
      "tags": [
        "area",
        "growth",
        "single series",
        "energy",
        "solar",
        "climate"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "16:9",
      "page": "/charts/area",
      "markdown": "/charts/area.md",
      "manifest": "/charts/area.json"
    },
    {
      "id": "bar-race",
      "name": "Bar race",
      "family": "time",
      "tier": "pro",
      "summary": "Use a bar race to show a ranking re-forming year by year, when the drama of overtaking is the point.",
      "useWhen": [
        "a ranking changes over many time steps",
        "an audience will watch it play, like a video",
        "the leader changing is the story"
      ],
      "avoidWhen": [
        "readers need to compare trends precisely (use lines)",
        "the ranking barely changes",
        "it will be read as a still image only"
      ],
      "fields": [
        {
          "name": "years",
          "type": "year",
          "description": "the time steps"
        },
        {
          "name": "countries[].name",
          "type": "category",
          "description": "every item that was ever in the top ten (2 or more; the top ten of each year are drawn)"
        },
        {
          "name": "countries[].mt",
          "type": "number",
          "sign": "non-negative",
          "description": "CO₂ emissions, million tonnes, one per year (the value each bar shows)",
          "unit": "million tonnes",
          "format": "count"
        }
      ],
      "tags": [
        "bar race",
        "racing bars",
        "ranking over time",
        "climate",
        "emissions",
        "CO2"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/bar-race",
      "markdown": "/charts/bar-race.md",
      "manifest": "/charts/bar-race.json"
    },
    {
      "id": "before-after-slider",
      "name": "Before and after slider",
      "family": "time",
      "tier": "pro",
      "summary": "Use a before-and-after slider to lay two states of the same picture on top of each other and let readers drag between them.",
      "useWhen": [
        "the same map, photo or chart exists in two states",
        "the change is visible in shape or colour, not only a number",
        "readers want to scrub back and forth themselves"
      ],
      "avoidWhen": [
        "there are more than two states (use a year slider)",
        "the change is small and needs exact values (use a dumbbell)",
        "the two states use different scales"
      ],
      "fields": [
        {
          "name": "before",
          "type": "year",
          "description": "the earlier year"
        },
        {
          "name": "after",
          "type": "year",
          "description": "the later year"
        },
        {
          "name": "world",
          "type": "number",
          "description": "world share online in each year, %",
          "unit": "%",
          "format": "percent"
        },
        {
          "name": "countries[].id",
          "type": "id",
          "description": "ISO 3166 numeric code, matches the map"
        },
        {
          "name": "countries[].name",
          "type": "place",
          "description": "the country"
        },
        {
          "name": "countries[].before",
          "type": "number",
          "description": "share online in the earlier year, %",
          "unit": "%",
          "format": "percent"
        },
        {
          "name": "countries[].after",
          "type": "number",
          "description": "share online in the later year, %",
          "unit": "%",
          "format": "percent"
        }
      ],
      "tags": [
        "before and after",
        "swipe",
        "compare",
        "slider",
        "map",
        "internet",
        "technology"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/before-after-slider",
      "markdown": "/charts/before-after-slider.md",
      "manifest": "/charts/before-after-slider.json"
    },
    {
      "id": "brush-zoom",
      "name": "Drag to zoom",
      "family": "time",
      "tier": "pro",
      "summary": "Use drag to zoom when a long, dense series hides detail: a small context strip shows everything, and the window you drag sets the main view.",
      "useWhen": [
        "thousands of points over a long time",
        "readers need both the big picture and the detail of any stretch",
        "seasons or events are too small to see at full length"
      ],
      "avoidWhen": [
        "the series is short enough to show whole",
        "a printed or static view",
        "the reader shouldn't have to explore to see the point"
      ],
      "fields": [
        {
          "name": "start",
          "type": "date",
          "description": "when the points start, at any grain: a year, month, day (as in the example) or ISO date-time; points count steps from here"
        },
        {
          "name": "record.low.extent",
          "optional": true,
          "type": "number",
          "description": "optional: the record low (with record.low.date) from fuller data than the points, marked and offered as a preset; without it the lowest point is marked",
          "unit": "million km²",
          "format": "decimal"
        },
        {
          "name": "record.high.extent",
          "optional": true,
          "type": "number",
          "description": "optional: the record high, which only widens the value axis",
          "unit": "million km²",
          "format": "decimal"
        },
        {
          "name": "points[][0]",
          "type": "number",
          "description": "steps since start: days in the example, or the unit in hints.step (second, minute, hour, day, week, month, year)",
          "unit": "days",
          "format": "count",
          "fixed": true
        },
        {
          "name": "points[][1]",
          "type": "number",
          "description": "pairs of [steps since start, value] (sea ice extent in million km², every other day, in the example)",
          "unit": "million km²",
          "format": "decimal"
        }
      ],
      "tags": [
        "zoom",
        "brush",
        "focus and context",
        "climate",
        "Arctic",
        "sea ice",
        "daily"
      ],
      "mobile": "desktop",
      "mobileNote": "6 labels overlap on a phone",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/brush-zoom",
      "markdown": "/charts/brush-zoom.md",
      "manifest": "/charts/brush-zoom.json"
    },
    {
      "id": "bump-chart",
      "name": "Bump chart",
      "family": "time",
      "tier": "pro",
      "summary": "Use a bump chart to show how ranks change over time, when who overtakes whom matters more than by how much.",
      "useWhen": [
        "the order matters more than the gaps",
        "5 to 12 items over several time points",
        "overtakings are the story"
      ],
      "avoidWhen": [
        "the size of the gaps matters (use lines on a value axis)",
        "many ties",
        "items enter and leave the set often"
      ],
      "fields": [
        {
          "name": "years",
          "type": "year",
          "description": "the time points"
        },
        {
          "name": "countries[].name",
          "type": "category",
          "description": "the item being ranked (5 to 12)"
        },
        {
          "name": "countries[].gdp",
          "type": "number",
          "description": "GDP in current US dollars, billions, one per year; the rank is computed from it",
          "unit": "billion USD",
          "format": "count"
        }
      ],
      "tags": [
        "bump",
        "rank",
        "ranking over time",
        "economy",
        "GDP",
        "overtake"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/bump-chart",
      "markdown": "/charts/bump-chart.md",
      "manifest": "/charts/bump-chart.json"
    },
    {
      "id": "calendar-quilt",
      "name": "Calendar quilt",
      "family": "time",
      "tier": "free",
      "summary": "Use a calendar quilt to show one value per day laid out like a calendar, so weeks, months and unusual days stand out.",
      "useWhen": [
        "one value per day for months or a year",
        "weekdays, months or single days may stand out",
        "readers think in calendar dates"
      ],
      "avoidWhen": [
        "you need the trend more than the days (use a line)",
        "fewer than a few weeks of data",
        "more than three years of days (only the latest 36 months show)",
        "exact values matter (shade is approximate)"
      ],
      "fields": [
        {
          "name": "date",
          "type": "date",
          "description": "the day (YYYY-MM-DD, UTC); any range of days, laid out month by month under each year (up to 36 months; longer data shows the latest 36). Missing days stay blank"
        },
        {
          "name": "count",
          "type": "number",
          "sign": "non-negative",
          "description": "the day's value, which sets its shade (earthquakes of magnitude 4.5 or more in the example)",
          "unit": "earthquakes",
          "format": "count"
        },
        {
          "name": "maxMag",
          "optional": true,
          "type": "number",
          "description": "optional: the day's top value, shown in its tooltip after hints.maxWord (the strongest magnitude that day in the example)",
          "unit": "magnitude",
          "format": "decimal"
        },
        {
          "name": "place",
          "optional": true,
          "type": "place",
          "description": "optional: what or where the top value was, shown in the tooltip and under the busiest day (where the strongest quake struck in the example)"
        }
      ],
      "tags": [
        "calendar",
        "heatmap",
        "daily",
        "quilt",
        "earthquakes",
        "science"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/calendar-quilt",
      "markdown": "/charts/calendar-quilt.md",
      "manifest": "/charts/calendar-quilt.json"
    },
    {
      "id": "callout",
      "name": "Callout",
      "family": "time",
      "tier": "pro",
      "summary": "Use a callout to point straight at the one value that matters, with an arrow and a sentence, so nobody misses it.",
      "useWhen": [
        "one value is the story: a record, a peak, a break",
        "readers will glance for a second (social posts, slides)",
        "the chart is dense and the eye needs a place to land"
      ],
      "avoidWhen": [
        "several points matter equally (use story steps)",
        "the striking point is obvious without help",
        "the note would cover data"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year"
        },
        {
          "name": "anomaly",
          "type": "number",
          "description": "global mean temperature minus the 1951 to 1980 mean, °C",
          "unit": "°C",
          "format": "decimal"
        }
      ],
      "tags": [
        "annotation",
        "arrow",
        "highlight",
        "record",
        "climate",
        "temperature",
        "warming"
      ],
      "mobile": "desktop",
      "mobileNote": "1 label overlap on a phone",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/callout",
      "markdown": "/charts/callout.md",
      "manifest": "/charts/callout.json"
    },
    {
      "id": "contour-lines",
      "name": "Contour lines",
      "family": "time",
      "tier": "pro",
      "summary": "Use contour lines (stacked ridgelines) to show the same yearly shape repeated many times, like a record sleeve, so both the cycle and its drift show at once.",
      "useWhen": [
        "one repeating cycle (a day, a year) measured over many periods",
        "both the shape of the cycle and its long drift matter",
        "an arresting cover image that still carries true values"
      ],
      "avoidWhen": [
        "you have only a few periods (use small multiples)",
        "readers need exact values month by month",
        "periods overlap so much the lines become a solid mass"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "calendar year (complete years only)"
        },
        {
          "name": "ppm",
          "type": "number",
          "description": "one value per period of the cycle, in order, ppm (twelve monthly means, January to December, in the example; any count works, named by hints.periods, else month initials for twelve, else 1 to N)",
          "unit": "ppm",
          "format": "decimal"
        }
      ],
      "tags": [
        "ridgeline",
        "joy plot",
        "data art",
        "CO2",
        "climate",
        "seasonal cycle",
        "Keeling curve"
      ],
      "mobile": "desktop",
      "mobileNote": "1 label overlap on a phone",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/contour-lines",
      "markdown": "/charts/contour-lines.md",
      "manifest": "/charts/contour-lines.json"
    },
    {
      "id": "cycle-plot",
      "name": "Cycle plot",
      "family": "time",
      "tier": "pro",
      "summary": "Use a cycle plot to separate a seasonal pattern from the long trend: one small line per month (or weekday) across the years, side by side.",
      "useWhen": [
        "data has a seasonal cycle and a trend",
        "readers ask which part of the year changed most",
        "several years of monthly (or weekday) data"
      ],
      "avoidWhen": [
        "only one or two years of data (use a line)",
        "there is no seasonal pattern",
        "the audience needs a single headline trend"
      ],
      "fields": [
        {
          "name": "[month][].year",
          "type": "year",
          "description": "one list per period of the cycle, in order (twelve months, January first, in the example), or an object keyed by period name; the year. Periods are named by their keys, else hints.periods, else month names for twelve, else 1 to N"
        },
        {
          "name": "[month][].extent",
          "type": "number",
          "description": "the value for that period and year (monthly mean Arctic sea ice extent, million km², in the example)",
          "unit": "million km²",
          "format": "decimal"
        }
      ],
      "tags": [
        "cycle plot",
        "seasonal",
        "month plot",
        "climate",
        "Arctic",
        "sea ice"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "16:9",
      "page": "/charts/cycle-plot",
      "markdown": "/charts/cycle-plot.md",
      "manifest": "/charts/cycle-plot.json"
    },
    {
      "id": "data-quilt",
      "name": "Data quilt",
      "family": "time",
      "tier": "pro",
      "summary": "Use a data quilt to lay out a long monthly or daily record as a patterned cloth, one patch per period, so cycles show up as a rhythm in the weave.",
      "useWhen": [
        "a long regular record (months, days) with a cycle in it",
        "a decorative but honest view for a cover or a poster",
        "decades line up naturally into rows"
      ],
      "avoidWhen": [
        "readers need to compare exact values",
        "the series has no rhythm or pattern to find",
        "fewer than about 10 periods"
      ],
      "fields": [
        {
          "name": "years[].year",
          "type": "year",
          "description": "calendar year"
        },
        {
          "name": "years[].months",
          "type": "number",
          "sign": "non-negative",
          "description": "one value per period of the year, in order, one stitch each (twelve monthly mean total sunspot numbers, January to December, in the example; any count works, named by hints.periods, else month names for twelve, else 1 to N)",
          "unit": "sunspots",
          "format": "decimal"
        }
      ],
      "tags": [
        "textile",
        "quilt",
        "calendar",
        "heatmap",
        "data art",
        "space",
        "Sun",
        "cycles"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/data-quilt",
      "markdown": "/charts/data-quilt.md",
      "manifest": "/charts/data-quilt.json"
    },
    {
      "id": "data-weave",
      "name": "Data weave",
      "family": "time",
      "tier": "pro",
      "summary": "Use a data weave to turn a grid of values into cloth: one thread per row and per column, with each crossing going over or under by a rule on the data.",
      "useWhen": [
        "a year-by-month (or row-by-column) grid with a yes/no rule worth seeing",
        "the texture changing over time is the story",
        "a striking, printable image for a cover or a post"
      ],
      "avoidWhen": [
        "readers need to read exact values (use a heatmap with labels)",
        "the rule for over and under would be arbitrary",
        "more than about 120 threads either way"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year (one upright thread)"
        },
        {
          "name": "months",
          "type": "number",
          "description": "one value per period, in order, one weft thread each (the 12 monthly anomalies, January to December, °C against 1951 to 1980, in the example; any count works, named by hints.periods, else month names for twelve, else 1 to N)",
          "unit": "°C",
          "format": "decimal"
        }
      ],
      "tags": [
        "weave",
        "textile",
        "data art",
        "warming stripes",
        "climate",
        "temperature",
        "generative"
      ],
      "mobile": "desktop",
      "mobileNote": "11 labels are cut off at the drawing's edge",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/data-weave",
      "markdown": "/charts/data-weave.md",
      "manifest": "/charts/data-weave.json"
    },
    {
      "id": "event-timeline",
      "name": "Event timeline",
      "family": "time",
      "tier": "pro",
      "summary": "Use an event timeline to place dated events on one line, so clusters, gaps and order are clear and every event keeps its label.",
      "useWhen": [
        "a handful to a few dozen dated events",
        "clusters and quiet gaps are part of the story",
        "each event needs its own label"
      ],
      "avoidWhen": [
        "events have durations (use time ranges)",
        "hundreds of events (use a histogram or a calendar)",
        "the values matter more than the dates"
      ],
      "fields": [
        {
          "name": "date",
          "type": "date",
          "description": "when the event happened: a year, month, day (the day of the earthquake in the example) or an ISO date-time, UTC unless it says otherwise; the axis and the longest-gap note pick years, days or hours from the span"
        },
        {
          "name": "mag",
          "type": "number",
          "description": "the value that sizes each dot (moment magnitude in the example)",
          "unit": "magnitude",
          "format": "decimal"
        },
        {
          "name": "place",
          "type": "place",
          "description": "the label next to each event (the USGS name for the location in the example)"
        },
        {
          "name": "lat",
          "type": "number",
          "description": "latitude of the epicentre",
          "unit": "°",
          "format": "decimal",
          "fixed": true
        },
        {
          "name": "lon",
          "type": "number",
          "description": "longitude of the epicentre",
          "unit": "°",
          "format": "decimal",
          "fixed": true
        }
      ],
      "tags": [
        "timeline",
        "events",
        "dates",
        "history",
        "earthquakes",
        "science"
      ],
      "mobile": "desktop",
      "mobileNote": "1 label overlap on a phone",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/event-timeline",
      "markdown": "/charts/event-timeline.md",
      "manifest": "/charts/event-timeline.json"
    },
    {
      "id": "game-board",
      "name": "Game board",
      "family": "time",
      "tier": "pro",
      "summary": "Use a game board to show a value that jumps up and down over time: the squares are the scale, ladders are big jumps up and snakes are big falls.",
      "useWhen": [
        "one measure on a bounded scale that jumps both ways",
        "the big jumps are the story",
        "a playful board-game frame suits the audience"
      ],
      "avoidWhen": [
        "the series changes smoothly (use a line)",
        "many small moves matter as much as the big ones",
        "you compare several series"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year the clock was set"
        },
        {
          "name": "seconds",
          "type": "number",
          "description": "time to midnight, seconds; sets the square",
          "unit": "seconds",
          "format": "count"
        },
        {
          "name": "reason",
          "type": "text",
          "description": "the Bulletin's stated reason, shortened"
        }
      ],
      "tags": [
        "snakes and ladders",
        "board game",
        "jumps",
        "time series",
        "doomsday clock",
        "history",
        "playful"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/game-board",
      "markdown": "/charts/game-board.md",
      "manifest": "/charts/game-board.json"
    },
    {
      "id": "gantt",
      "name": "Time ranges",
      "family": "time",
      "tier": "free",
      "summary": "Use time ranges (a Gantt chart) to show when each item started and ended, so lengths, overlaps and gaps are visible at once.",
      "useWhen": [
        "each item has a start and an end",
        "durations, overlaps or gaps between items matter",
        "up to about 30 items"
      ],
      "avoidWhen": [
        "items are single moments (use an event timeline)",
        "more than six kinds of item (the rest share one colour)",
        "hundreds of items (aggregate them)",
        "only the totals matter (use bars)"
      ],
      "fields": [
        {
          "name": "episodes[].type",
          "type": "category",
          "description": "the kind of item, which sets its colour (El Niño or La Niña in the example); kinds in order of first appearance, up to six, the rest share one 'other' colour. meta.hints.<kind> adds a word to its key"
        },
        {
          "name": "episodes[].start",
          "type": "date",
          "description": "when the item starts: a year, a month (YYYY-MM, as in the example: the centre month of the first season), a day or an ISO date-time"
        },
        {
          "name": "episodes[].end",
          "type": "date",
          "description": "when the item ends, at any grain: a year, month or day counts through its end; a date-time is the exact end"
        },
        {
          "name": "episodes[].seasons",
          "type": "number",
          "description": "a count shown for each item (overlapping three-month seasons in the example)",
          "unit": "seasons",
          "format": "count"
        },
        {
          "name": "episodes[].peak",
          "type": "number",
          "description": "the item's peak value, which sets its shade (the strongest Oceanic Niño Index value, °C, in the example); a + sign shows only when values run both sides of zero",
          "unit": "°C",
          "format": "decimal"
        },
        {
          "name": "episodes[].ongoing",
          "type": "category",
          "description": "true when the episode was still running in the latest data"
        },
        {
          "name": "last",
          "type": "date",
          "description": "the latest date in the data, at any grain (the end of the timeline); without it the latest end is used"
        }
      ],
      "tags": [
        "gantt",
        "time ranges",
        "durations",
        "climate",
        "El Niño",
        "ocean"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/gantt",
      "markdown": "/charts/gantt.md",
      "manifest": "/charts/gantt.json"
    },
    {
      "id": "guess-reveal",
      "name": "Guess, then reveal",
      "family": "time",
      "tier": "pro",
      "summary": "Use a guess-then-reveal chart when the real trend will surprise people: they draw what they expect, then see the truth beside it.",
      "useWhen": [
        "readers hold a belief about a trend that the data overturns",
        "the story is a turning point after a known start",
        "you want people to commit before they look"
      ],
      "avoidWhen": [
        "the trend is obvious or flat",
        "readers need the answer immediately (a callout is faster)",
        "the series is noisy, so a guess cannot be judged fairly"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year"
        },
        {
          "name": "solar",
          "type": "number",
          "description": "solar's share of all electricity generated, %",
          "unit": "%",
          "format": "percent"
        }
      ],
      "tags": [
        "you draw it",
        "guess",
        "reveal",
        "prediction",
        "interactive",
        "solar",
        "energy"
      ],
      "mobile": "works",
      "mobileNote": "Reads on a 390px phone as drawn",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/guess-reveal",
      "markdown": "/charts/guess-reveal.md",
      "manifest": "/charts/guess-reveal.json"
    },
    {
      "id": "highlight-line",
      "name": "One line in focus",
      "family": "time",
      "tier": "pro",
      "summary": "Use one line in focus to tell one series' story against the crowd: the hero in ink, every other series in grey.",
      "useWhen": [
        "one series is the story and the rest are context",
        "many series would tangle if all were coloured",
        "readers may want to switch the focus"
      ],
      "avoidWhen": [
        "every series matters equally (use small multiples)",
        "only two or three series (colour them all)",
        "the grey context would hide the point"
      ],
      "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": "births per woman, one per year",
          "unit": "births per woman",
          "format": "decimal"
        }
      ],
      "tags": [
        "highlight",
        "focus",
        "one line",
        "spaghetti",
        "population",
        "births",
        "demography"
      ],
      "mobile": "desktop",
      "mobileNote": "3 labels overlap on a phone",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/highlight-line",
      "markdown": "/charts/highlight-line.md",
      "manifest": "/charts/highlight-line.json"
    },
    {
      "id": "horizon",
      "name": "Horizon chart",
      "family": "time",
      "tier": "pro",
      "summary": "Use a horizon chart to fit many time series into little height: each area is cut into bands and folded, so darker means further from zero.",
      "useWhen": [
        "many series (6 to 50) share one unit and one time axis",
        "vertical space is scarce",
        "where and when values run high matters more than exact numbers"
      ],
      "avoidWhen": [
        "the audience has never seen one and there is no time to explain",
        "exact values matter (use lines)",
        "only two or three series"
      ],
      "fields": [
        {
          "name": "years",
          "type": "year",
          "description": "the shared time axis"
        },
        {
          "name": "bands[].key",
          "type": "category",
          "description": "the latitude band, as named by NASA"
        },
        {
          "name": "bands[].name",
          "type": "category",
          "description": "a plain name for the band"
        },
        {
          "name": "bands[].values",
          "type": "number",
          "description": "temperature anomaly, °C, one per year",
          "unit": "°C",
          "format": "decimal"
        }
      ],
      "tags": [
        "horizon",
        "dense time series",
        "temperature",
        "climate",
        "Arctic",
        "warming"
      ],
      "mobile": "desktop",
      "mobileNote": "8 labels overlap on a phone",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/horizon",
      "markdown": "/charts/horizon.md",
      "manifest": "/charts/horizon.json"
    },
    {
      "id": "index-to-100",
      "name": "Index to 100",
      "family": "time",
      "tier": "pro",
      "summary": "Use an index to 100 to compare growth between series of very different sizes: each is divided by its own value in a start year.",
      "useWhen": [
        "series differ hugely in size but growth is the question",
        "the start point is a fair, meaningful moment",
        "readers will ask 'which grew fastest?'"
      ],
      "avoidWhen": [
        "the absolute sizes matter (use plain lines)",
        "the base year is unusual and would distort growth",
        "values can be zero or negative"
      ],
      "fields": [
        {
          "name": "years",
          "type": "year",
          "description": "the shared time axis"
        },
        {
          "name": "countries[].name",
          "type": "category",
          "description": "the country"
        },
        {
          "name": "countries[].gdp",
          "type": "number",
          "description": "GDP in constant 2015 US dollars, billions, one per year; the chart rebases it",
          "unit": "billion USD",
          "format": "count"
        }
      ],
      "tags": [
        "index",
        "rebased",
        "growth",
        "economy",
        "GDP",
        "log scale"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/index-to-100",
      "markdown": "/charts/index-to-100.md",
      "manifest": "/charts/index-to-100.json"
    },
    {
      "id": "line-crosshair",
      "name": "Line with crosshair",
      "family": "time",
      "tier": "free",
      "summary": "Use a line chart with a crosshair when readers need to read every series at the same moment, not just see the shapes.",
      "useWhen": [
        "2 to 6 series share one unit and one time axis",
        "readers will compare exact values at a given year",
        "the crossing points matter"
      ],
      "avoidWhen": [
        "more than about 6 series (use small multiples or one line in focus)",
        "only the overall trend matters (a plain line is enough)",
        "the series are in different units"
      ],
      "fields": [
        {
          "name": "years",
          "type": "year",
          "description": "the shared time axis"
        },
        {
          "name": "series[].name",
          "type": "category",
          "description": "the country or region"
        },
        {
          "name": "series[].values",
          "type": "number",
          "description": "subscriptions per 100 people, one per year (null where missing)",
          "unit": "per 100 people",
          "format": "decimal"
        }
      ],
      "tags": [
        "line",
        "crosshair",
        "tooltip",
        "multi-series",
        "technology",
        "phones"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/line-crosshair",
      "markdown": "/charts/line-crosshair.md",
      "manifest": "/charts/line-crosshair.json"
    },
    {
      "id": "log-line",
      "name": "Linear or log",
      "family": "time",
      "tier": "free",
      "summary": "Use a linear-or-log toggle for exponential growth: the log scale shows the steady rate, the linear scale shows the size.",
      "useWhen": [
        "values grow by a steady percentage (doubling, compounding, epidemics)",
        "values span several orders of magnitude",
        "readers may misread a log axis without the comparison"
      ],
      "avoidWhen": [
        "values include zero or negatives (no log)",
        "the range is narrow",
        "the audience needs only the absolute size (use linear alone)"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year the chip was released"
        },
        {
          "name": "transistors",
          "type": "number",
          "description": "transistors on the largest microprocessor of that year",
          "unit": "transistors",
          "format": "compact"
        }
      ],
      "tags": [
        "log scale",
        "exponential",
        "Moore's law",
        "technology",
        "chips",
        "growth"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/log-line",
      "markdown": "/charts/log-line.md",
      "manifest": "/charts/log-line.json"
    },
    {
      "id": "morph",
      "name": "Bars to dots",
      "family": "time",
      "tier": "pro",
      "summary": "Use a bars-to-dots morph when a total hides real units: the bar shows how many, the dots show who and when.",
      "useWhen": [
        "the total is small enough to show every unit (under about 300)",
        "each unit is a person or an event worth naming",
        "you want to move from how many to when or who"
      ],
      "avoidWhen": [
        "units run into thousands (dots become texture)",
        "units are not countable things (tonnes, dollars)",
        "readers only need the totals"
      ],
      "fields": [
        {
          "name": "name",
          "type": "text",
          "description": "the laureate"
        },
        {
          "name": "category",
          "type": "category",
          "description": "the prize category"
        },
        {
          "name": "year",
          "type": "year",
          "description": "the year of the award"
        }
      ],
      "tags": [
        "morph",
        "unit chart",
        "transition",
        "bars",
        "dots",
        "nobel prize",
        "women",
        "history"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9",
        "9:16"
      ],
      "bestRatio": "9:16",
      "page": "/charts/morph",
      "markdown": "/charts/morph.md",
      "manifest": "/charts/morph.json"
    },
    {
      "id": "mountain-range",
      "name": "Mountain range",
      "family": "time",
      "tier": "pro",
      "summary": "Use a mountain range to show a long series with repeating peaks: each peak becomes a summit, so the eye counts cycles and spots the tallest.",
      "useWhen": [
        "a long series that rises and falls in cycles",
        "the peaks, and the tallest peak, are the story",
        "a landscape metaphor suits an explainer"
      ],
      "avoidWhen": [
        "the series has no peaks worth naming",
        "several series must be compared (use lines)",
        "values can be negative"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year"
        },
        {
          "name": "sunspots",
          "type": "number",
          "description": "mean of that year's monthly sunspot numbers",
          "unit": "sunspots",
          "format": "decimal"
        }
      ],
      "tags": [
        "mountains",
        "skyline",
        "peaks",
        "cycles",
        "area",
        "sun",
        "space",
        "sunspots"
      ],
      "mobile": "desktop",
      "mobileNote": "1 label overlap on a phone",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/mountain-range",
      "markdown": "/charts/mountain-range.md",
      "manifest": "/charts/mountain-range.json"
    },
    {
      "id": "radial-clock",
      "name": "24-hour clock",
      "family": "time",
      "tier": "pro",
      "summary": "Use a 24-hour clock to show activity around the hours of a day, so the rhythm of night and day reads like a clock face.",
      "useWhen": [
        "activity across the 24 hours of a day (or 7 days of a week)",
        "midnight should join up with the hour before it",
        "the rhythm matters more than exact values"
      ],
      "avoidWhen": [
        "readers need exact comparisons between hours (use bars)",
        "the data has no daily cycle",
        "many series to compare (it draws the first two number keys)",
        "more than about 36 periods (wedges get thin)"
      ],
      "fields": [
        {
          "name": "hour",
          "type": "number",
          "description": "the period's place in the cycle; rows run round the clock in order, one wedge each. 24 rows numbered 0 to 23 read as hours (UTC in the example, hints.zone); other cycles are labelled from hints.periods or this value",
          "unit": "hour (UTC)",
          "format": "count",
          "fixed": true
        },
        {
          "name": "weekday",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "the first number key: the bars (average page views in that hour on Monday to Friday in the example); its name from hints.names, else the key",
          "unit": "page views",
          "format": "count"
        },
        {
          "name": "weekend",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "optional second number key: the line (average page views on Saturday and Sunday in the example)",
          "unit": "page views",
          "format": "count"
        }
      ],
      "tags": [
        "radial",
        "clock",
        "24 hours",
        "daily rhythm",
        "internet",
        "Wikipedia"
      ],
      "mobile": "desktop",
      "mobileNote": "2 labels overlap on a phone",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/radial-clock",
      "markdown": "/charts/radial-clock.md",
      "manifest": "/charts/radial-clock.json"
    },
    {
      "id": "scrolly-scene",
      "name": "Scrollytelling scene",
      "family": "time",
      "tier": "pro",
      "summary": "Use a scrollytelling scene when one chart should change step by step as the reader scrolls through short captions.",
      "useWhen": [
        "a story has four to eight beats that build on one chart",
        "the scale or framing must change mid-story",
        "readers read on phones and scroll anyway"
      ],
      "avoidWhen": [
        "readers need to compare beats side by side (use small multiples)",
        "the story fits one annotation",
        "the page is printed or exported as a still"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year"
        },
        {
          "name": "objects",
          "type": "number",
          "sign": "non-negative",
          "description": "objects launched into Earth orbit or beyond that year",
          "unit": "objects",
          "format": "count"
        }
      ],
      "tags": [
        "scrollytelling",
        "scroll",
        "scenes",
        "narrative",
        "space",
        "satellites",
        "launches"
      ],
      "mobile": "desktop",
      "mobileNote": "12 labels are cut off at the drawing's edge",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/scrolly-scene",
      "markdown": "/charts/scrolly-scene.md",
      "manifest": "/charts/scrolly-scene.json"
    },
    {
      "id": "small-multiple-lines",
      "name": "Small-multiple lines",
      "family": "time",
      "tier": "free",
      "summary": "Use small-multiple lines to compare the shape of many series, one small chart each on a shared scale.",
      "useWhen": [
        "more than about 5 series would tangle on one chart",
        "the shapes and timing matter more than exact crossings",
        "all series share one unit"
      ],
      "avoidWhen": [
        "readers must compare values at one year precisely (use a crosshair line)",
        "only two or three series",
        "series have very different scales"
      ],
      "fields": [
        {
          "name": "years",
          "type": "year",
          "description": "the shared time axis"
        },
        {
          "name": "countries[].name",
          "type": "category",
          "description": "the country"
        },
        {
          "name": "countries[].values",
          "type": "number",
          "description": "% of people using the internet, one per year (null where missing)",
          "unit": "%",
          "format": "percent"
        }
      ],
      "tags": [
        "small multiples",
        "trellis",
        "facets",
        "technology",
        "internet",
        "comparison"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "9:16",
      "page": "/charts/small-multiple-lines",
      "markdown": "/charts/small-multiple-lines.md",
      "manifest": "/charts/small-multiple-lines.json"
    },
    {
      "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.",
      "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"
        }
      ],
      "tags": [
        "sparkline",
        "inline chart",
        "word-sized",
        "text",
        "energy",
        "solar"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/sparkline-sentence",
      "markdown": "/charts/sparkline-sentence.md",
      "manifest": "/charts/sparkline-sentence.json"
    },
    {
      "id": "spiral",
      "name": "Spiral timeline",
      "family": "time",
      "tier": "pro",
      "summary": "Use a spiral timeline to wind a long monthly series into one ring per year, so the same month lines up on a spoke and a yearly cycle shows as a pattern.",
      "useWhen": [
        "a long series with a strong yearly (or daily, weekly) cycle",
        "both the cycle and the long trend matter",
        "a striking, poster-like view suits the audience"
      ],
      "avoidWhen": [
        "readers must compare exact values (use a line or a cycle plot)",
        "there is no cycle to line up",
        "the series is short"
      ],
      "fields": [
        {
          "name": "start",
          "type": "year",
          "description": "the first year"
        },
        {
          "name": "months",
          "type": "number",
          "description": "one list per year (one ring) of values per period, in order, ppm (twelve monthly means in the example; any count works, named by hints.periods, else month names for twelve, else 1 to N; null where not yet measured); the chart computes each period's distance from its centred one-cycle average",
          "unit": "ppm",
          "format": "decimal"
        }
      ],
      "tags": [
        "spiral",
        "radial",
        "seasonal",
        "cycle",
        "climate",
        "CO2",
        "Keeling curve"
      ],
      "mobile": "desktop",
      "mobileNote": "5 labels overlap on a phone",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/spiral",
      "markdown": "/charts/spiral.md",
      "manifest": "/charts/spiral.json"
    },
    {
      "id": "spirograph",
      "name": "Spirograph",
      "family": "time",
      "tier": "pro",
      "summary": "Use a spirograph to draw a cyclical series as looping petals, one loop per period, so strong and weak cycles look like different flowers.",
      "useWhen": [
        "a series repeats in cycles and the shape of each cycle matters",
        "you want a memorable, decorative view with real data in it",
        "comparing a handful of cycles at a glance"
      ],
      "avoidWhen": [
        "readers need exact values or dates",
        "the series has no natural period",
        "more than about six cycles (the flowers blur together)"
      ],
      "fields": [
        {
          "name": "cycle",
          "type": "id",
          "description": "the cycle's name or number, after hints.cycleWord (the solar cycle number in the example: \"Cycle 20\")"
        },
        {
          "name": "start",
          "type": "date",
          "description": "when the cycle began, at any grain: a year, month (YYYY-MM, the sunspot minimum in the example), day or ISO date-time; its grain is the step between values unless hints.step names one (year, month, day, hour, minute)"
        },
        {
          "name": "months",
          "type": "number",
          "sign": "non-negative",
          "description": "one value per step of the cycle, in order (the monthly mean total sunspot number in the example); the pen turns once per hints.turn steps (132 months) and loops once per hints.loop steps (12, a year)",
          "unit": "sunspots",
          "format": "decimal"
        }
      ],
      "tags": [
        "spirograph",
        "cycles",
        "data art",
        "petals",
        "sun",
        "sunspots",
        "space",
        "generative"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/spirograph",
      "markdown": "/charts/spirograph.md",
      "manifest": "/charts/spirograph.json"
    },
    {
      "id": "stacked-area",
      "name": "Stacked area",
      "family": "time",
      "tier": "free",
      "summary": "Use a stacked area to show how a total and its parts change over time, when the parts add up to the whole.",
      "useWhen": [
        "parts add up to a meaningful total",
        "both the total and the mix matter",
        "2 to 6 parts"
      ],
      "avoidWhen": [
        "readers must compare the middle bands exactly (use lines or small multiples)",
        "parts don't add up",
        "more than six parts"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year"
        },
        {
          "name": "coal",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "electricity from coal, TWh",
          "unit": "TWh",
          "format": "count"
        },
        {
          "name": "gas",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "electricity from gas, TWh",
          "unit": "TWh",
          "format": "count"
        },
        {
          "name": "nuclear",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "electricity from nuclear, TWh",
          "unit": "TWh",
          "format": "count"
        },
        {
          "name": "hydro",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "electricity from hydropower, TWh",
          "unit": "TWh",
          "format": "count"
        },
        {
          "name": "windSolar",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "electricity from wind plus solar, TWh",
          "unit": "TWh",
          "format": "count"
        },
        {
          "name": "other",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "oil, bioenergy and other renewables, TWh",
          "unit": "TWh",
          "format": "count"
        }
      ],
      "tags": [
        "stacked area",
        "parts over time",
        "legend toggle",
        "energy",
        "electricity",
        "climate"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/stacked-area",
      "markdown": "/charts/stacked-area.md",
      "manifest": "/charts/stacked-area.json"
    },
    {
      "id": "step-line",
      "name": "Step line",
      "family": "time",
      "tier": "free",
      "summary": "Use a step line for values that hold flat and then jump, such as rates, prices and rules set by decision.",
      "useWhen": [
        "the value is set by decision and holds until changed",
        "the length of each flat stretch matters",
        "a sloped line would invent values between changes"
      ],
      "avoidWhen": [
        "the value changes continuously (use a plain line)",
        "there are hundreds of tiny changes",
        "you want to compare many series"
      ],
      "fields": [
        {
          "name": "steps[].date",
          "type": "date",
          "description": "the day a new rate took effect"
        },
        {
          "name": "steps[].wage",
          "type": "number",
          "description": "the rate, US dollars per hour",
          "unit": "USD per hour",
          "format": "decimal"
        },
        {
          "name": "last",
          "type": "date",
          "description": "the last month in the source, where the line ends"
        }
      ],
      "tags": [
        "step",
        "rates",
        "prices",
        "policy",
        "wages",
        "history"
      ],
      "mobile": "desktop",
      "mobileNote": "On a phone labels are hard to read or overlap (checked by eye)",
      "ratios": [],
      "bestRatio": "9:16",
      "page": "/charts/step-line",
      "markdown": "/charts/step-line.md",
      "manifest": "/charts/step-line.json"
    },
    {
      "id": "story-steps",
      "name": "Story steps",
      "family": "time",
      "tier": "pro",
      "summary": "Use story steps to walk a reader through one chart in numbered stops, lighting one part of it at a time.",
      "useWhen": [
        "one chart carries a story with three to six beats",
        "you present the chart live or in a video and want each beat to land",
        "readers need help knowing where to look"
      ],
      "avoidWhen": [
        "the chart has one message (use a callout)",
        "readers want to explore freely rather than follow you",
        "the steps would each need a different chart (use scrollytelling)"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year the chip came out"
        },
        {
          "name": "transistors",
          "type": "number",
          "description": "transistors on the largest chip of that year",
          "unit": "transistors",
          "format": "compact"
        }
      ],
      "tags": [
        "steps",
        "guided",
        "story",
        "annotation",
        "moore's law",
        "technology",
        "log scale"
      ],
      "mobile": "desktop",
      "mobileNote": "1 label is cut off at the drawing's edge",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/story-steps",
      "markdown": "/charts/story-steps.md",
      "manifest": "/charts/story-steps.json"
    },
    {
      "id": "streamgraph",
      "name": "Streamgraph",
      "family": "time",
      "tier": "pro",
      "summary": "Use a streamgraph to show the rise and fall of several parts over a long time, when the overall shape matters more than exact values.",
      "useWhen": [
        "3 to 6 parts over many time points",
        "the eye should follow each part's swell and shrink",
        "a lively, organic view suits the audience"
      ],
      "avoidWhen": [
        "readers need exact totals (the baseline moves)",
        "values can be negative",
        "only two or three time points"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "the year"
        },
        {
          "name": "poultry",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "poultry meat, million tonnes",
          "unit": "million tonnes",
          "format": "decimal"
        },
        {
          "name": "pig",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "pig meat, million tonnes",
          "unit": "million tonnes",
          "format": "decimal"
        },
        {
          "name": "beef",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "beef and buffalo meat, million tonnes",
          "unit": "million tonnes",
          "format": "decimal"
        },
        {
          "name": "sheepGoat",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "sheep and goat meat, million tonnes",
          "unit": "million tonnes",
          "format": "decimal"
        },
        {
          "name": "other",
          "series": true,
          "type": "number",
          "sign": "non-negative",
          "description": "game, horse and camel meat, million tonnes",
          "unit": "million tonnes",
          "format": "decimal"
        }
      ],
      "tags": [
        "streamgraph",
        "stream",
        "parts over time",
        "food",
        "meat",
        "agriculture"
      ],
      "mobile": "adapts",
      "mobileNote": "Draws its own phone layout below 520px",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/streamgraph",
      "markdown": "/charts/streamgraph.md",
      "manifest": "/charts/streamgraph.json"
    },
    {
      "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.",
      "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"
        }
      ],
      "tags": [
        "time curve",
        "trajectory",
        "state space",
        "MDS",
        "energy",
        "electricity",
        "Germany"
      ],
      "mobile": "desktop",
      "mobileNote": "3 labels are cut off at the drawing's edge",
      "ratios": [
        "16:9"
      ],
      "bestRatio": "16:9",
      "page": "/charts/time-curve",
      "markdown": "/charts/time-curve.md",
      "manifest": "/charts/time-curve.json"
    },
    {
      "id": "warming-stripes",
      "name": "Warming stripes",
      "family": "time",
      "tier": "free",
      "summary": "Use warming stripes to show a long run of years as one band of colour, so a trend is felt at a glance with no axis to read.",
      "useWhen": [
        "a single series over many years where the trend is the message",
        "a poster, a cover or a talk where words should be few",
        "readers who would skip a line chart"
      ],
      "avoidWhen": [
        "readers need the values (switch on the bars, or use a line)",
        "fewer than about 30 time steps",
        "the series has no meaningful baseline"
      ],
      "fields": [
        {
          "name": "year",
          "type": "year",
          "description": "calendar year"
        },
        {
          "name": "anomaly",
          "type": "number",
          "description": "global surface temperature minus the 1951–1980 average, °C",
          "unit": "°C",
          "format": "decimal"
        }
      ],
      "tags": [
        "climate stripes",
        "data art",
        "temperature",
        "climate",
        "global warming",
        "time series"
      ],
      "mobile": "desktop",
      "mobileNote": "2 labels overlap on a phone",
      "ratios": [],
      "bestRatio": "16:9",
      "page": "/charts/warming-stripes",
      "markdown": "/charts/warming-stripes.md",
      "manifest": "/charts/warming-stripes.json"
    }
  ]
}