Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of d3 scatterplot

Public visualization

Viewing a saved revision (read-only)

49957b8af33347c09497874ed1308cf6

Fork of d3 scatterplot

0 stars0🌍 Public
KKeerthipriyaBankuru
Last edited Jul 2, 2022
Created on Jul 2, 2022
Forked from d3 scatterplot

This scatterplot visualizes the Iris dataset, plotting petal length against petal width. The visualization uses the D3.js library (v6.6.1) to fetch CSV data, map it to Cartesian coordinates with `scaleLinear`, and render circles as SVG marks. Axes are drawn using `axisLeft` and `axisBottom`, with the plot filling the browser window via `window.innerWidth` and `window.innerHeight`. The implementation highlights D3's modern `join` API for efficient SVG element updates.

AI-generated description