Skip to main content
100%

ic7 divya scattered plot

✓ Published0🌍 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.

MIT Licensed

Similar vizzes