Skip to main content
100%

Reusable Scatter plot Activity 8

✓ Published133🌍 Public
Iindushashi.g@gmail.com
Last edited Apr 4, 2024
Created on Jul 2, 2023
Forked from D3 Starter

This interactive scatter plot visualizes the Iris dataset, showing relationships between sepal and petal measurements across three species. Using D3.js with SVG rendering, the plot cycles through different measurement pairings on the axes via setInterval, updating the scatter plot dynamically. The visualization employs d3.scaleLinear, d3.extent, d3.axisLeft, d3.axisBottom, and a reusable scatterPlot function to handle axis scaling and rendering. Points are color-coded by species (setosa, versicolor, virginica) with a legend, while axis labels and a title update to reflect the current dimension selection.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes