Skip to main content
100%

Fork of Reusable Scatter plot Activity 8

✓ Published0🌍 Public
Iis0253
Last edited Jul 19, 2023
Created on Jul 19, 2023

This interactive scatter plot animates the classic Iris dataset, cycling through four different x-axis attributes while keeping sepal length on the y-axis. D3 version 6.7 loads CSV data and renders SVG circles colored by species, with a custom legend and axis labels. The visualization uses `d3.scaleLinear`, `d3.extent`, `d3.axisLeft`, and `d3.axisBottom` from the reusable chart module. A `setInterval` timer triggers updates to the x-value accessor every few seconds, demonstrating how a modular scatter plot function can be reused with changing data mappings.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes