Fork of Fork of Reusable D3 Scatter Plot
✓ Published1🌍 Public
This animated scatter plot cycles through three dimensions of the Iris Dataset—Marks, time_study, and number_courses—on the x-axis while keeping time_study on the y-axis. Built with a reusable D3 chart factory pattern, it uses `scaleLinear`, `axisLeft`, `axisBottom`, and `selection.join` to render circles in SVG. A `setInterval` updates the `xValue` accessor every five seconds, triggering a redraw via `svg.call(plot)`. The data loads from a CSV fetched with `d3.csv`, and the visualization adapts to the full browser viewport.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed