Skip to main content
100%

Reusable Scatter plot Activity 8

✓ Published0🌍 Public
Vvineelaramulapalli32
Last edited Jul 17, 2023
Created on Jul 17, 2023
Forked from Hello VizHub

This interactive scatter plot visualizes the Iris dataset, showing sepal and petal measurements as colored circles representing three flower species. The visualization cycles through different variable pairings on the axes using a timer, updating the chart every few seconds. Built with D3.js version 6, the code uses `csv()` to load data, `select()` and `join()` for SVG rendering, and `setInterval()` to trigger axis transitions. The reusable `scatterPlot()` function manages the chart layout, while custom legend markers and axis labels are appended dynamically.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes