Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE7_Reusable_Scatter_Plot_Manisha

Public visualization

ICE7_Reusable_Scatter_Plot_Manisha

0 stars0🌍 Public
Kkonudulamanisha@gmail.com
Last edited Oct 28, 2025
Created on Oct 27, 2025

This visualization shows the relationship between gravity and average temperature for planets, with each point colored by planet category. Users can hover over a dot to view a tooltip with the planet’s name, category, and exact gravity and temperature values. The chart is built as a reusable scatter-plot factory using D3 v7, employing d3.scaleLinear, d3.extent, d3.axisBottom, d3.axisLeft, d3.schemeTableau10, and d3.least for nearest-point detection. Rendering uses SVG circles inside a joined `<g>` element, with axes and labels appended directly.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed