Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This fork of a reusable D3 scatter plot visualizes the Iris dataset, cycling through different feature pairings on the x-axis every two seconds. Rendered as an animated SVG, it uses `d3.csv` to load data and a custom `scatterPlot` function with `scaleLinear`, `axisLeft`, and `axisBottom` to draw points and axes. The code demonstrates a reusable chart pattern by exposing setter methods like `width` and `xValue`, allowing dynamic reconfiguration without redrawing the entire visualization.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed