Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

HW1_311553050_Run

Public visualization

Viewing a saved revision (read-only)

44a93cee4f7a4c639c1e25aaa453d7a0

HW1_311553050_Run

0 stars1🌍 Public
YYunLing
Last edited Sep 20, 2023
Created on Sep 19, 2023

This interactive scatter plot visualizes the Iris dataset, allowing users to compare any two of the four flower measurements via dropdown menus for the x- and y-axes. The visualization is built with d3.v5, using SVG rendering and a custom scatterPlot module that employs d3.scaleLinear, d3.axisBottom, and d3.axisLeft. Data points are colored by species using d3.scaleOrdinal with a schemeCategory10 palette, and a semi-transparent color legend is rendered alongside the plot. The chart updates dynamically when the user selects different measurement columns.

AI-generated description