Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ic7 divya scattered plot

Public visualization

Viewing a saved revision (read-only)

08b60645a79c4c31987d69255fcf25e2

ic7 divya scattered plot

0 stars0🌍 Public
Ddivyagunuguntla
Last edited Mar 29, 2022
Created on Mar 29, 2022

This interactive scatter plot visualizes the Iris dataset, showing how petal width and sepal length relate across three flower species. Built with D3.js, the visualization uses an animated SVG display that cycles through different variable pairings every two seconds, while a color-coded legend distinguishes setosa, versicolor, and virginica species. The code implements a reusable scatter plot API with `scaleLinear`, `scaleOrdinal`, and `axisLeft` functions, rendering circles with dynamic sizing based on additional sepal dimensions. Data is loaded from a CSV file hosted on GitHub Gists, and the entire visualization adapts to the browser window dimensions.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.