Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

NSYSU HW1

Public visualization

NSYSU HW1

0 stars0🌍 Public
Zzjinghan142857@gmail.com
Last edited Sep 14, 2024
Created on Sep 14, 2024

This interactive scatter plot displays the Iris flower dataset, allowing users to explore relationships between sepal and petal measurements across three species, each color-coded (red, green, blue). Radio buttons control the X and Y axes independently. The visualization uses D3 v4 with SVG rendering, drawing circles at fixed radius. Axis scales are computed dynamically via `d3.scaleLinear`, with tick marks generated through `d3.axisBottom` and `d3.axisLeft`. Data is loaded asynchronously from a CSV file using `d3.csv`, and the plot redraws entirely on any axis change.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed