Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

The Dynamic Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

083e6fa26a76489caae9fbee1b672932

The Dynamic Reusable D3 Scatter Plot

0 stars1🌍 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.