Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot-ICE7 from Reusable scatter plot

Public visualization

Viewing a saved revision (read-only)

a8c3f9b7850340ba83c7daabb5cbabff

Scatter Plot-ICE7 from Reusable scatter plot

0 stars0🌍 Public
Rrajasrilekkala
Last edited Mar 29, 2023
Created on Mar 27, 2023

This interactive scatter plot visualizes the Iris dataset, cycling through four flower measurements on the x-axis (petal width, sepal width, petal length, sepal length) while keeping sepal length fixed on the y-axis. It uses d3.csv for data loading, d3.scaleLinear for axes, and d3.axisLeft/axisBottom for rendering ticks. The animation, driven by setInterval, updates the scatter plot's x-value accessor. Points are colored by species (green for setosa, yellow for versicolor, red for virginica) with a custom legend. SVG rendering and an animation loop showcase the reusable scatterPlot chart function.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.