Skip to main content
100%

Reusable Scatter plot Activity 8

✓ Published1🌍 Public
Rrushithareddyy
Last edited Jul 14, 2023
Created on Jul 14, 2023
Forked from Transforming Data

This interactive scatter plot visualizes the Iris flower dataset, cycling through petal width, sepal width, petal length, and sepal length on the x-axis while keeping sepal length on the y-axis. Using d3.csv to load data and d3.scaleLinear with axisBottom and axisLeft for axes, the visualization updates every few seconds via setInterval, re-rendering circles with d3 transitions. Each species (setosa, versicolor, virginica) is color-coded with custom SVG circles, and a legend with colored point markers appears alongside rotating axis labels, all rendered as animated SVG in the browser.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes