Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ScatterPlot

Public visualization

ScatterPlot

0 stars1🌍 Public
AALIMINETI SPOORTHY REDDY
Last edited Oct 27, 2025
Created on Oct 27, 2025

This animated scatter plot visualizes planetary data, showing each planet’s diameter, number of moons, and orbital period as a colored, sized circle on a dark, space-themed SVG canvas. The planets continuously wander and bounce off the plot’s edges using a `d3.timer` loop that updates circle positions. Hovering reveals a tooltip with details like discovery date, while a legend groups planets by type. The code loads a CSV dataset, applies linear scales for axes and a sqrt scale for size, and uses `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed