Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ice 7 reusable scatter plot

Public visualization

ice 7 reusable scatter plot

0 stars2🌍 Public
Uuguggila@gitam.in
Last edited Oct 27, 2025
Created on Oct 27, 2025

This reusable scatter plot shows the relationship between elevation and average temperature for mountain peaks, with points colored by continent and hover tooltips revealing additional rainfall data. Built with D3 v7, the visualization uses a custom `scatterPlot()` function with getter/setter methods that allow the chart's width, height, and other properties to be configured externally. Axes, gridlines, and a color legend are generated using `d3.axisBottom`, `d3.axisLeft`, and `d3.scaleOrdinal`, while circles are positioned with `d3.scaleLinear` scales. The SVG rendering includes an interactive `<title>` element for each point showing mountain details.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed