Skip to main content
100%

Question 2: Scatter Plot

✓ Published1🌍 Public
Sshreshnaanugu@gmail.com
Last edited Oct 19, 2025
Created on Oct 19, 2025

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
MIT Licensed

Similar vizzes