Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

b57e7c371d4d49dab3e07297c949b9f3

Reusable D3 Scatter Plot

0 stars0🌍 Public
AArun Pratap
Last edited Jul 22, 2023
Created on Jul 22, 2023

This scatter plot demonstrates a reusable D3.js chart that visualizes the Iris dataset, mapping petal and sepal measurements on the x and y axes. The code uses d3.csv to load data, d3.scaleLinear for axes, and d3.scaleOrdinal for coloring points by species. A timer cycles through different column combinations every two seconds, producing an animated exploration of the dataset's four numeric attributes. SVG circles are rendered with interactive axes and a legend, following the design principles of Towards Reusable Charts.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.