Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

scatter plot

Public visualization

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.

Comments

Sign in to join the discussion.

MIT Licensed