Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-7 Resusable Scatter Plot

Public visualization

Viewing a saved revision (read-only)

f036b7060a6442a8a8059bf27865a4df

ICE-7 Resusable Scatter Plot

0 stars2🌍 Public
Mmynedisanjana@gmail.com
Last edited Mar 28, 2026
Created on Mar 28, 2026

This scatter plot visualizes song performance by comparing streams against popularity, with each point colored by singer and displayed on a reusable scatter plot component built with D3 v7. The visualization uses `d3.scaleLinear` for both axes, `d3.scaleOrdinal` with `d3.schemeCategory10` for color encoding, and `d3.axisBottom`/`d3.axisLeft` for axis rendering. Data loads from an external CSV file containing song attributes, and the reusable `scatterPlot` function manages SVG rendering, including axis labels and a categorical legend. The chart is designed with margins to accommodate labels and legend placement.

AI-generated description