🌍 Public
Viewing a saved revision (read-only)
48f69c13b3bb4aa699b0c5a0c4cf35eb
Fork of D3 Starter - ice 7 - scatter plot
This scatter plot visualizes the relationship between study hours and exam scores for 120 students, with each point colored by category (A–D) and a legend mapping colors to these groups. The D3 v7 code loads data from a CSV file, converts the numeric columns, and uses `d3.csv`, `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.axisBottom`/`d3.axisLeft` to render the SVG chart. Axes are labeled, and the plot uses a built-in color scheme (`d3.schemeSet2`).
AI-generated description