Skip to main content
100%

task 9 and 10

✓ Published0🌍 Public
Sskykarthik97@gmail.com
Last edited Apr 14, 2024
Created on Apr 13, 2024
Forked from Hello VizHub

This animated scatter plot displays the Iris dataset, cycling through four flower measurements on the x-axis while maintaining sepal length on the y-axis. Using D3.js, the visualization updates every few seconds via `setInterval`, re-rendering axes and circles with `scaleLinear`, `axisLeft`, and `axisBottom`. Each species is color-coded, with SVG shapes drawn from CSV data loaded via `d3.csv`. The reusable `scatterPlot` function handles the dynamic updates, while custom text elements provide labels, a legend, and a title.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes