Skip to main content
100%

ICE-7 Reusable D3 Scatter Plot

✓ Published1🌍 Public
DDan Waters
Last edited Mar 29, 2022
Created on Mar 28, 2022

A reusable scatter plot visualizes the Iris Dataset, with each point colored by species. The chart cycles through four different x-axis variables every two seconds, animating the axis transitions. Built with D3 v6, it uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render SVG circles and axes. The implementation follows a reusable chart pattern, allowing the `scatterPlot` function to accept configurable accessors for data, dimensions, margins, and fill, with CSS styling for typography.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes