{
  "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.",
  "title": "D3's 30 modules rest on ten that need no other module",
  "subtitle": "Dependencies between the modules of D3 7.9.0, from each module's package.json",
  "howToRead": "Each axis holds one role (uses others, both, or only used); a curve joins a module to a module it depends on, coloured by the one that depends.",
  "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"
    }
  ],
  "interactions": [
    "hover or tap a module to read what it uses and what uses it",
    "hover a curve to read one dependency"
  ],
  "motion": "The modules pop onto their axes from the centre out, then each dependency draws itself across.",
  "sound": "A pop on hover pitched by axis. Quiet while it draws and between steps; mute it from its card.",
  "annotations": [
    {
      "type": "underline",
      "words": "ten that need no other module",
      "in": "title"
    }
  ],
  "tags": [
    "network",
    "dependencies",
    "software",
    "graph",
    "roles",
    "technology",
    "D3"
  ],
  "mobile": "desktop",
  "mobileNote": "21 labels overlap on a phone",
  "mobileChecked": "2026-12-02",
  "ratios": [],
  "bestRatio": "16:9",
  "source": {
    "title": "d3 7.9.0 and its module packages (package.json dependencies)",
    "publisher": "D3 project, via the npm registry",
    "url": "https://github.com/d3/d3",
    "license": "ISC",
    "retrieved": "2026-12-01"
  },
  "note": "Only links between D3's own modules are shown; the five stand-alone modules use none of the others and none of the others use them.",
  "reference": {
    "title": "Hive plots: rational approach to visualizing networks",
    "author": "Martin Krzywinski",
    "url": "https://hiveplot.com/"
  }
}