{
  "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.",
  "title": "Wheat and rice give the world twice the calories of all animal foods",
  "subtitle": "Calories available per person per day, world, by food, 2024",
  "howToRead": "The circle is a day's food for an average person; each cell's area is one food's calories, inside thick borders for its food group.",
  "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"
    }
  ],
  "interactions": [
    "hover or tap a cell to read its calories and share",
    "hover a group in the key to light it"
  ],
  "motion": "Cells bloom out of their own centres one food group at a time, then the labels settle in.",
  "sound": "A pop on hover. Quiet while it draws and between steps; mute it from its card.",
  "annotations": [
    {
      "type": "underline",
      "words": "twice the calories",
      "in": "title"
    }
  ],
  "tags": [
    "voronoi treemap",
    "voronoi",
    "power diagram",
    "organic",
    "part to whole",
    "food",
    "calories",
    "diet",
    "nested"
  ],
  "hints": {
    "groups": [
      "Grains",
      "Animal foods",
      "Plants",
      "Sugar and oils",
      "Other"
    ]
  },
  "mobile": "adapts",
  "mobileNote": "Draws its own phone layout below 520px",
  "mobileChecked": "2026-12-02",
  "ratios": [
    "16:9",
    "9:16"
  ],
  "bestRatio": "9:16",
  "source": {
    "title": "Dietary composition by country (calories per person per day)",
    "publisher": "Our World in Data (UN Food and Agriculture Organization, Food Balances)",
    "url": "https://ourworldindata.org/grapher/dietary-composition-by-country",
    "license": "CC BY 4.0",
    "retrieved": "2026-12-01"
  },
  "note": "Calories available for consumption, not eaten: food wasted at home is included. Cell areas are fitted by an iterative weighted Voronoi layout, accurate to within a few per cent.",
  "reference": {
    "title": "Computing Voronoi Treemaps",
    "author": "Arlind Nocaj and Ulrik Brandes",
    "url": "https://doi.org/10.1111/j.1467-8659.2012.03078.x"
  }
}