{
  "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.",
  "title": "The giants top almost every axis, but Earth is the densest world",
  "subtitle": "Nine measures for the eight planets and Pluto; each axis runs from the smallest value at the bottom to the largest at the top",
  "howToRead": "Each line is one world crossing nine axes; lines that stay high are big on everything, and a line that dips stands out on that measure.",
  "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"
    }
  ],
  "hints": {
    "names": {
      "distance": "From Sun",
      "diameter": "Diameter",
      "mass": "Mass",
      "density": "Density",
      "gravity": "Gravity",
      "dayHours": "Day",
      "yearDays": "Year",
      "temp": "Temp.",
      "moons": "Moons"
    },
    "groupOf": {
      "Mercury": "Rocky planets",
      "Venus": "Rocky planets",
      "Earth": "Rocky planets",
      "Mars": "Rocky planets",
      "Jupiter": "Gas giants",
      "Saturn": "Gas giants",
      "Uranus": "Ice giants",
      "Neptune": "Ice giants",
      "Pluto": "Dwarf planet"
    },
    "items": "bodies"
  },
  "interactive": [
    "filter"
  ],
  "interactions": [
    "hover or tap a line or a name to read that world",
    "drag up or down on any axis to brush a range; brush several axes to combine filters"
  ],
  "motion": "Each world's line draws itself from left to right, one after another, nearest the Sun first.",
  "sound": "A pop on hover pitched by group. Quiet while it draws and between steps; mute it from its card.",
  "annotations": [
    {
      "type": "callout",
      "at": "Earth",
      "text": "Earth, the densest world"
    },
    {
      "type": "underline",
      "words": "densest",
      "in": "title"
    }
  ],
  "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)",
  "mobileChecked": "2026-12-02",
  "ratios": [],
  "bestRatio": "9:16",
  "source": {
    "title": "Planetary Fact Sheet (metric)",
    "publisher": "NASA Goddard Space Flight Center, NSSDCA",
    "url": "https://nssdc.gsfc.nasa.gov/planetary/factsheet/",
    "license": "Public domain (US government work)",
    "retrieved": "2026-12-01"
  },
  "note": "Day is the solar day; Venus's is 2,802 hours and Mercury's 4,223 hours. Moon counts change as new ones are confirmed. Pluto is a dwarf planet, kept for comparison."
}