🌍 Public
Fork of Reusable D3 Scatter Plot
This interactive scatter plot presents the Iris Dataset, allowing viewers to explore relationships between different flower measurements. The visualization cycles through four variable pairings every two seconds, shifting the x-axis between petal width, sepal width, petal length, and sepal length while the y-axis remains sepal length. Built with D3 v3, it employs a reusable scatter plot component that uses `d3.scaleLinear` for scaling, `d3.extent` for domains, and `d3.axisLeft` and `d3.axisBottom` for axes. The SVG rendering animates data point positions using D3's selection join pattern with the `setInterval` function.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed
Comments
Sign in to join the discussion.