Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

d73e09386b8b4665a33b761f00560863

Fork of Fork of Reusable D3 Scatter Plot

0 stars0🌍 Public
SSheshidharreddy
Last edited Mar 28, 2022
Created on Mar 28, 2022

This interactive scatter plot visualizes the Iris dataset, cycling through different feature combinations on the x-axis every two seconds. The chart uses SVG circles colored by species (setosa, versicolor, and virginica) to reveal clustering patterns in the flower measurements. Built with D3 v6, the example demonstrates a reusable scatter plot module that separates axis rendering from data point positioning. The code imports specific D3 functions including `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to construct the visualization. The plot animates by updating the x-value mapping through a `setInterval` loop, while the y-axis remains fixed on sepal length.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.