Skip to main content
100%

Dinosaur D3 Scatter Plot

✓ Published2🌍 Public
AAdil Zeshan
Last edited May 8, 2021
Created on May 2, 2021
Forked from D3 Scatter Plot

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 description

A 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

Similar vizzes