🌍 Public
Viewing a saved revision (read-only)
679fdf898c144fb1b02ad3ca499eb7af
Fork of Fork of ICE - 7 Reusable Scatter Plot
This example visualizes the classic Iris dataset as a scatter plot, with three species of flowers colored red, orange, or white, mapping petal width against sepal length. Built with d3.v6, it uses d3.scaleLinear, d3.extent, and d3.axisLeft/axisBottom to generate axes and SVG circles for data points. The reusable scatterPlot function dynamically updates the x-axis value to cycle through additional iris columns, demonstrating modular chart construction. Data is loaded via d3.csv from a GitHub gist.
AI-generated description