🌍 Public
Viewing a saved revision (read-only)
2ca7688f49f44045807892a4fbfb3732
Fork of React & D3 Starter
This scatterplot visualizes the relationship between study hours and GPA, with each data point represented as a steel-blue circle. The visualization loads a CSV file, converts the study hours and GPA columns to numeric values, and maps them to x and y coordinates using `d3.scaleLinear` functions. It relies on the D3.js library through a React component, drawing the circles directly to an SVG canvas via methods like `d3.select`, `d3.csv`, and `.append`. The x-axis spans zero to twelve hours, while the y-axis covers zero to four for GPA.
AI-generated description