Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published1🌍 Public
Vviswak12
Last edited Mar 30, 2023
Created on Mar 30, 2023

This visualization is an animated scatter plot of the Iris dataset, cycling through four different measurement pairs on the x-axis while the y-axis remains fixed to sepal length. It uses D3 v6 APIs including `csv`, `scaleLinear`, `axisLeft`, and `axisBottom`. The code renders circles and text via SVG and updates the plot every few seconds using `setInterval`. Colors map to iris species, and a custom legend with labeled circles is drawn outside the main plot, alongside axis titles that change depending on the current x-axis variable.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes