Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_7 scatter plot

Public visualization

Viewing a saved revision (read-only)

f38049b032104a9682e539b420ebba6d

Activity_7 scatter plot

0 stars0🌍 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