🌍 Public
Viewing a saved revision (read-only)
b7ee504567914427b2b59c668666b0e6
Question 2: Scatter Plot
A scatter plot visualizes the relationship between units sold and revenue, with each circle colored by region (North, South, East, West) and sized at 6 pixels. The chart loads CSV sales data from a GitHub gist using d3.csv, then renders interactive SVG circles with D3 v7 scaleLinear, axisBottom, and axisLeft. Hovering enlarges circles via mouseover and mouseout events, while horizontal gridlines and a legend improve readability.
AI-generated description