Skip to main content
100%

Activity_7 scatter plot

✓ Published0🌍 Public
Ssreejabommineni1506@gmail.com
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Activity_7

This scatterplot uses the classic Iris dataset to display the relationship between sepal width and sepal length. It is built with D3.js v7 using an SVG rendering approach, where each flower sample is represented as a small steel-blue circle. The chart implements a reusable `Scatterplot` function that accepts accessor functions and axis labels, allowing for flexible data mapping. Data is loaded via `d3.csv` from a remote gist, and axes are generated using `d3.axisBottom` and `d3.axisLeft` with linear scales.

AI-generated description
MIT Licensed

Similar vizzes