🌍 Public
Viewing a saved revision (read-only)
b2fbd22f86e74c44a613fa98ef8aa9e5
ICE - 7 Reusable Scatter Plot
PPrasanth Damarla
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from ICE - 7 Reusable Scatter Plot Maanas Katta
This example displays the Iris dataset as an interactive scatter plot with colored circles representing species, where green, red, and blue distinguish Iris-setosa, Iris-versicolor, and Iris-virginica. The visualization uses a reusable D3 module that implements a custom scatter plot function, leveraging `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to map petal width and sepal length onto axes. Data is loaded asynchronously from a CSV URL via `d3.csv`, and the plot re-renders with each button cycle through different measurement combinations.
AI-generated description