Reusable Scatter Plot- Akhil
✓ Published0🌍 Public
This reusable scatter plot visualizes the relationship between math and science scores from a school dataset. The visualization uses D3 scales and axes to map scores to positions, with circles representing individual data points. Every two seconds, the plot cycles through different subject pairs, updating the x-axis to show English or history scores while keeping science on the y-axis. Built with D3’s `scaleLinear`, `axisBottom`, and `axisLeft` APIs, the SVG chart animates transitions between datasets using JavaScript’s `setInterval` to call the custom scatter plot function.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed