Skip to main content
100%

310551076_HW1_Scatter Plots (Interactive Legend)

✓ Published1🌍 Public
陳陳泰元
Last edited Nov 22, 2022
Created on Oct 1, 2022

This interactive scatter plot displays the Iris dataset, allowing users to explore relationships between sepal and petal measurements across three flower species. Dropdown menus select which features appear on the x- and y-axes, and hovering over any point highlights all points of the same species while dimming others. The visualization uses D3 v7 with `scaleLinear`, `axisBottom`, and `axisLeft` for scales and axes, and updates the SVG via a `render()` function. CSV data is loaded with `d3.csv`, and species colors are mapped explicitly in the code.

AI-generated description
MIT Licensed

Similar vizzes