Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable D3 Scatter Plot - ICE7

Public visualization

Viewing a saved revision (read-only)

d4e84659c71f486d82aa04c6b9cb20a9

Fork of Reusable D3 Scatter Plot - ICE7

0 stars0🌍 Public
BBrian Gilmore
Last edited Mar 22, 2023
Created on Mar 22, 2023

This scatter plot visualizes the Iris dataset, plotting petal length on the x-axis against sepal length on the y-axis, with each of the three species distinguished by a unique SVG symbol. The code uses D3 v6 APIs including `scaleLinear`, `scaleOrdinal`, `symbol`, `axisLeft`, and `axisBottom`. Data is loaded asynchronously from a CSV via `d3.csv`, and the reusable `scatterPlot` module handles margin configuration and dynamic sizing to fill the browser window.

AI-generated description

A reusable scatter plot that shows the <b>Iris</b> dataset.<br> X-axis is petal length, Y-axis is sepal length.