Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot

Public visualization

Viewing a saved revision (read-only)

a2ae94311d534df6af87511251eb157a

Fork of Scatter Plot

0 stars0🌍 Public
Rradhadevarapu
Last edited Mar 10, 2023
Created on Mar 10, 2023
Forked from Scatter Plot

This example plots sepal length against petal length for the Iris Dataset, with each flower represented as a circle. The visualization demonstrates a reusable scatter plot module composed with custom axis and labeling functions. It uses D3 v7 APIs including `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and data joins via `selectAll` and `join`. The code loads the CSV data with `fetch` and `csvParse`, then renders the plot across the full browser window, coloring points by species.

AI-generated description

A scatter plot of the Iris Dataset.