ICE 7- Reusable D3 Scatter Plot
✓ Published0🌍 Public
This reusable D3 scatter plot displays the Iris Dataset, mapping petal width on the x-axis and sepal length on the y-axis as circular marks. Built as a configurable chart component, it uses the `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs from `d3` to derive scales and axes, with data loaded via `csv`. A `setInterval` timer cycles the x-axis through all four iris flower measurements every two seconds, animating the plot's layout. The visualization renders as SVG, with circles positioned through `attr` calls and axes drawn using D3's axis functions.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed