Skip to main content
100%

Fork of Reusable D3 Scatter Plot - ICE7

✓ Published0🌍 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.

MIT Licensed

Similar vizzes