Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published1🌍 Public
RRupeshGandham
Last edited Jun 30, 2022
Created on Jun 30, 2022

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 description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes