Skip to content
Vega-Lite templates

Biology — Described Species by Group

Approximate counts of described species.

Template previewVega-Lite
Rendering…

Make it your own.

{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "description": "Described species by group (approx, thousands)",
  "data": {"values": [
    {"group":"Insects","count":1000},
    {"group":"Plants","count":390},
    {"group":"Arachnids","count":110},
    {"group":"Molluscs","count":85},
    {"group":"Fish","count":34},
    {"group":"Birds","count":11},
    {"group":"Mammals","count":6}
  ]},
  "mark": "bar",
  "encoding": {
    "y": {"field":"group","type":"nominal","sort":"-x","title":"Group"},
    "x": {"field":"count","type":"quantitative","title":"Described species (thousands)"},
    "color": {"field":"group","type":"nominal","legend":null}
  }
}