🌍 Public
Viewing a saved revision (read-only)
99d1e9a31d174c5197037d9242e5972a
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