Skip to main content
100%

Reusable Scatter plot

✓ Published1🌍 Public
SSnigdha6698
Last edited Mar 27, 2022
Created on Mar 24, 2022

This animated scatter plot visualizes the Iris dataset, showing relationships between petal and sepal measurements, with points colored by species (setosa, versicolor, virginica). The visualization cycles through different attribute pairs on the axes every two seconds, dynamically updating via a reusable chart component. Built with D3.js v6, it uses scaleLinear for axis scaling, axisLeft and axisBottom for ticks, and SVG circles for marks. The code imports scatterPlot, a custom reusable function following the Towards Reusable Charts pattern, with data loaded via d3.csv.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes