Skip to main content
100%

The Dynamic Reusable D3 Scatter Plot

✓ Published1🌍 Public
AAndre J Denais
Last edited Sep 1, 2021
Created on Aug 29, 2021

This dynamic scatter plot visualizes the Iris dataset, with points representing individual flowers. It uses a reusable D3 module with `scaleLinear`, `axisLeft`, and `axisBottom` to render axes in SVG. Every two seconds, the x-axis attribute cycles through petal width, sepal width, petal length, and sepal length, automatically updating the scales and circles. Data is loaded via `d3.csv` from a GitHub gist, and the chart animates through these four feature comparisons.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.

MIT Licensed

Similar vizzes