Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
JJasvitha Allamsetty
Last edited Mar 24, 2023
Created on Mar 24, 2023

This animated scatter plot cycles through the Iris dataset, visualizing sepal and petal measurements across four dimensions. It uses the D3 v6 library to render circles via SVG, with a reusable `scatterPlot()` chart factory that updates scales and axes as the x-axis variable changes every few seconds. Each flower species is color-coded—red, violet, or orange—and labels are added dynamically. The datastream comes from a CSV file parsed with `d3.csv`, while `scaleLinear`, `axisLeft`, and `axisBottom` handle the coordinate system.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes