Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

scatter plot

Public visualization

Viewing a saved revision (read-only)

cd113f324663425a8ff4a332d58aeda7

scatter plot

0 stars0🌍 Public
Nnagarjuna1968
Last edited Mar 28, 2022
Created on Mar 28, 2022

This scatter plot visualizes the Iris dataset, displaying petal width against sepal length for three species, each color-coded via `d3.scaleOrdinal`. Built with D3 v6 and SVG, the chart uses a reusable `scatterPlot` function that scales data with `d3.scaleLinear` and renders axes via `d3.axisLeft` and `d3.axisBottom`. The visualization is responsive, filling the window, and includes custom legend and axis labels.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts. Shows the Iris Dataset.