Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Iris Sushma

Public visualization

Viewing a saved revision (read-only)

3dfa9d295fe146cb8627a05f05e2d5ea

Fork of Iris Sushma

0 stars0🌍 Public
SSushmareddy-gudipally
Last edited Mar 6, 2022
Created on Mar 6, 2022

This scatter plot visualizes the Iris dataset, mapping petal length on the x-axis and petal width on the y-axis. Each point is colored by species, with the fill color assigned via a custom function that maps the dataset’s species names to specific colors. The plot uses D3’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs to scale the data and render axes, while circles are drawn with SVG attributes in a `join` operation. The data is loaded as CSV from a GitHub gist.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.