Fork of ICE - 7 Reusable Scatter Plot
✓ Published0🌍 Public
Ssudhamshu24
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from ICE - 7 Reusable Scatter Plot Maanas Katta
A reusable scatter plot built with D3 v6 displays Iris flower measurements, mapping petal width against sepal length and coloring each point by species (white, red, or green). The `scatterPlot` function encapsulates scales, axes, and circle rendering using `scaleLinear`, `axisBottom`, and `axisLeft`. Data loads from a CSV via `d3.csv` and parses numeric fields. The view fills the browser window with an orange background, and the script cycles through four measurement columns as the x-value, though only the initial petal-width view renders visibly.
AI-generated descriptionMIT Licensed