🌍 Public
Viewing a saved revision (read-only)
5b40dc3e607049d889b56a414d8a2ede
A6 Scatterplot D3
This scatterplot visualizes the relationship between average math and verbal SAT scores across US states in 2015, with each state represented as a circle. The color of each point encodes the state’s average math GPA using a d3.scaleThreshold with discrete color ranges, and a d3.legendColor legend clarifies the mapping. The chart is built with D3 v7, rendering SVG elements with d3.axisBottom and d3.axisLeft for the axes. Hovering reveals a tooltip with state details, while the data comes from the satscores.csv file.
AI-generated descriptionTook inspiration from my old scatterplot from A4.
Had Chatgpt help with the colorScale function and general attributes.