🌍 Public
Viewing a saved revision (read-only)
5848d2c92a2d494b9bc4d4dfa5f87062
Activity 6 Question 4
This bubble chart visualizes the correlation between sepal length, sepal width, and petal length in the Iris dataset, with each bubble’s size encoding petal length and its color distinguishing species. The visualization uses D3 v7, scaling linear axes with `d3.scaleLinear` and `d3.axisBottom`/`d3.axisLeft` for the scatterplot, and applies `d3.scaleOrdinal` with `d3.interpolateTurbo` for species colors. Interactive tooltips appear on mouseover via event handlers, while the SVG rendering includes a legend mapping species to their assigned colors.
AI-generated description