Skip to main content
100%

D3 Scatter Plot

✓ Published0🌍 Public
DDominik Stodolny
Last edited Feb 25, 2023
Created on Feb 21, 2023

This D3 scatter plot animates through different pairings of the Iris dataset's four measurements every two seconds. It visualizes the data points for petal length against sepal length, then cycles through petal width and sepal width as the x-axis variable, using smooth transitions between states. The visualization is built with `d3.scaleLinear` for scaling, `d3.extent` for domain calculation, and the `join` API to animate circle positions. The SVG is rendered full-screen, with axes drawn using `d3.axisLeft` and `d3.axisBottom`. The code uses a custom `scatterPlot` module to encapsulate the chart's configuration and update logic.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes