Q1
✓ Published0🌍 Public
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 descriptionMIT Licensed