Fork of ICE-7 varunscatter
✓ Published0🌍 Public
This animated scatter plot visualizes the relationship between student test scores and sleep hours, cycling through reading, writing, and sleep variables as the x-axis every two seconds. It uses d3.scaleLinear, d3.extent, d3.axisLeft, and d3.axisBottom to map the data, which is loaded via d3.csv from a remote CSV file. The SVG rendering, created with d3.select, updates circles smoothly to reflect changing data dimensions, while the y-axis remains fixed on math scores.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
MIT Licensed