Skip to main content
100%

hw1

✓ Published0🌍 Public
Yyihsuan
Last edited Sep 18, 2023
Created on Sep 18, 2023
Forked from D3 Scatter Plot

This interactive scatterplot visualizes the Iris dataset, displaying flower measurements selected via radio buttons for both the X and Y axes. Users can switch between sepal length, sepal width, petal length, and petal width to explore relationships among the 150 samples. The code uses D3.js scaleLinear and extent functions to map data coordinates, with axes rendered using axisLeft and axisBottom. Radio button events trigger re-rendering of the SVG visualization, updating the circle positions accordingly.

AI-generated description

Shows the Iris dataset.

MIT Licensed

Similar vizzes