Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
Bbhanuteja1807@gmail.com
Last edited Mar 24, 2023
Created on Mar 24, 2023

This fork of a reusable D3.js scatter plot animates through different iris flower measurements, cycling the x-axis every two seconds. It displays the classic Iris dataset, plotting petal width against sepal length initially. The implementation uses a custom `scatterPlot` function leveraging D3 v6 modules like `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`. The SVG visualization updates smoothly with a `setInterval`, re-binding data attributes to reflect new columns, while all points are rendered as circles with a constant radius.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes