Skip to main content
100%

Fork of Reusable Scatter plot Activity 8 v

✓ Published0🌍 Public
Vvikramkotlo9@gmail.com
Last edited Apr 6, 2024
Created on Apr 6, 2024

This interactive scatter plot displays the Iris dataset, showing relationships between petal and sepal measurements with points colored by species (setosa, versicolor, virginica). The visualization cycles through different x-axis variables every few seconds, while the y-axis remains fixed on sepal length. Built with D3.js, it uses a custom reusable scatterPlot function with SVG circles, axis scales, and a legend. The code employs `scaleLinear`, `axisLeft`, `axisBottom`, and `setInterval` for the rotating axis animation, rendering data from a CSV file fetched via D3's `csv` method.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes