Skip to main content
100%

Q1

✓ Published0🌍 Public
RRuthvik Bairaboina
Last edited Oct 27, 2025
Created on Oct 27, 2025
Forked from D3 Starter

This scatter plot visualizes the relationship between the mass and radius of 150 synthetic planets, with color encoding the planet type (Terrestrial, Gas Giant, Ice Giant, Dwarf). Built with D3 v7, it uses a reusable `ScatterPlot` function that employs `d3.scaleLinear` for axes and `d3.scaleOrdinal` with `d3.schemeTableau10` for coloring, while the data comes from a seeded random generator. Each dot includes a tooltip showing the planet's name, mass, radius, and type.

AI-generated description
MIT Licensed

Similar vizzes