Skip to main content
100%

Activity10_Tutorial

✓ Published1🌍 Public
UUthkarsh Reddy Junuthula
Last edited Apr 22, 2024
Created on Apr 22, 2024
Forked from Hello VizHub

This animated scatter plot demonstrates the classic Iris flower dataset, cycling through different feature combinations on the x-axis every few seconds. Each point represents a flower sample, colored by species (setosa, versicolor, virginica) with a custom legend and axis labels. The visualization uses the D3 library (v6.7.0) with reusable chart components built through `scatterPlot()`, which leverages `scaleLinear`, `axisLeft`, `axisBottom`, and `extent` for scales and axes. Data is loaded asynchronously via `csv()` from a GitHub Gist, while `setInterval()` drives the animation, updating the x-axis mapping and redrawing circles with an SVG-based rendering approach.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes