Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

A6 Scatterplot D3

Public visualization

Viewing a saved revision (read-only)

8440593bad3d41d389e7c60c21356d1e

A6 Scatterplot D3

0 stars0🌍 Public
EEric Yao
Last edited Mar 20, 2024
Created on Mar 4, 2024
Forked from A5 Bubblechart 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 description

Took inspiration from my old scatterplot from A4.

Had Chatgpt help with the colorScale function and general attributes.