Skip to main content
100%

Reusable Scatter Plot- Akhil

✓ Published0🌍 Public
AAkhil Charugulla
Last edited Mar 28, 2024
Created on Mar 27, 2024

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes