Dinosaur D3 Scatter Plot
✓ Published2🌍 Public
This scatter plot visualizes dinosaur length against weight, with each point representing a species and hovering revealing its genus, period, diet, and measurements. Using D3 v6, the code loads JSON data from a GitHub gist via `d3.json`, parses numeric fields, scales axes with `scaleLinear`, and renders circles in an SVG. Axis labels are generated with `axisLeft` and `axisBottom`, while `d3.format` handles comma-separated weight values. The dataset originates from the Natural History Museum, London.
AI-generated descriptionA scatterplot of the length (x-axis) vs. the weight (y-axis) of dinosaurs.
Hover over each plot for further details about the dinosaur.
Uses the Dinosaur Directory Dataset, courtesy of the Natural History Museum, London (nhm.ac.uk)
MIT Licensed