Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vineela

Public visualization

Viewing a saved revision (read-only)

9b8dacc896994e4da4338c0301a4cc42

Fork of Vineela

0 stars0🌍 Public
VVineela Reddy
Last edited Mar 29, 2023
Created on Mar 29, 2023
Forked from Vineela

This D3.js v6 scatter plot visualizes the Iris dataset, mapping petal width and sepal length on the x and y axes while encoding species with custom symbols and colors. The implementation uses the `csv` function to load data and a reusable `scatterPlot` module built with `scaleLinear`, `scaleOrdinal`, `axisLeft`, `axisBottom`, and `symbol`. Markers are rendered as SVG paths, with fill colors determined by a switch statement that assigns red, violet, and orange to the three iris species. The plot fills the entire browser window and includes labeled axes.

AI-generated description

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