Skip to main content
100%

ICE-7 Resusable Scatter Plot

✓ Published2🌍 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
MIT Licensed

Similar vizzes