Biology — Chart: Sizes of Cells
Biological sizes spanning many orders of magnitude (log).
Rendering…
Make it your own.
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description": "Approximate sizes (micrometres)",
"data": {"values": [
{"item": "Virus", "um": 0.1},
{"item": "Bacterium", "um": 2},
{"item": "Red blood cell", "um": 8},
{"item": "Animal cell", "um": 20},
{"item": "Plant cell", "um": 50},
{"item": "Frog egg", "um": 1000}
]},
"mark": "bar",
"encoding": {
"y": {"field": "item", "type": "nominal", "sort": "-x", "title": "Object"},
"x": {"field": "um", "type": "quantitative", "scale": {"type": "log"}, "title": "size (um, log)"},
"color": {"field": "item", "type": "nominal", "legend": null}
}
}