{
  "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.",
  "title": "Two in five mammal species are rodents, and more than one in five is a bat",
  "subtitle": "6,791 living mammal species by order and family; bars count species",
  "howToRead": "Each row is an order of mammals with its species count; click an order to open its families, indented beneath it.",
  "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"
    }
  ],
  "hints": {
    "barsShow": "living species",
    "levels": "orders; families",
    "open": 1,
    "common": "Rodentia=rodents; Chiroptera=bats; Eulipotyphla=shrews, moles, hedgehogs; Primates=primates; Artiodactyla=even-toed hoofed mammals and whales; Carnivora=carnivores; Diprotodontia=kangaroos, koalas, wombats; Didelphimorphia=opossums; Lagomorpha=rabbits, hares, pikas; Dasyuromorphia=quolls, dunnarts; Afrosoricida=tenrecs, golden moles; Cingulata=armadillos; Peramelemorphia=bandicoots; Scandentia=treeshrews; Macroscelidea=elephant shrews; Perissodactyla=horses, rhinos, tapirs; Pilosa=sloths, anteaters; Pholidota=pangolins; Paucituberculata=shrew opossums; Hyracoidea=hyraxes; Monotremata=platypus, echidnas; Sirenia=manatees, dugong; Proboscidea=elephants; Microbiotheria=monito del monte; Notoryctemorphia=marsupial moles; Dermoptera=colugos; Tubulidentata=aardvark"
  },
  "interactive": [
    "expand"
  ],
  "interactions": [
    "click an order to open or close its families",
    "hover or tap a row to read its count and share"
  ],
  "motion": "Bars grow from the left on arrival; opening an order slides its families out from under it.",
  "sound": "A pop on hover. Quiet while it draws and between steps; mute it from its card.",
  "annotations": [
    {
      "type": "underline",
      "words": "Two in five",
      "in": "title"
    }
  ],
  "tags": [
    "indented tree",
    "outline",
    "collapsible",
    "hierarchy",
    "animals",
    "mammals",
    "biodiversity"
  ],
  "mobile": "adapts",
  "mobileNote": "Draws its own phone layout below 520px",
  "mobileChecked": "2026-12-02",
  "ratios": [],
  "bestRatio": "9:16",
  "source": {
    "title": "Mammal Diversity Database (mdd.csv)",
    "publisher": "American Society of Mammalogists, Mammal Diversity Database",
    "url": "https://www.mammaldiversity.org/",
    "license": "CC BY 4.0",
    "retrieved": "2026-12-01"
  },
  "note": "Living species only. In this taxonomy whales and dolphins sit inside Artiodactyla, with hippos and other even-toed hoofed mammals. Common names for orders are added for reading."
}