Skip to main content
100%

Reusable Scatter plot Activity 8

✓ Published0🌍 Public
Mmn0658
Last edited Jul 5, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

This interactive scatter plot displays the Iris dataset, showing petal width on the x-axis and sepal length on the y-axis with data points colored by species. Built with D3.js (version 6.7.0) and ES6 modules, the visualization cycles through different feature pairings every few seconds using `setInterval`. The reusable scatter plot component, defined in `scatterPlot.js`, dynamically updates its scales and axes as the data columns change. The animation includes a custom legend and axis labels generated using D3's `axisLeft` and `axisBottom` APIs, rendered as an SVG with HTML styling.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes