Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable D3 Scatter Plot

Public visualization

Fork of Reusable D3 Scatter Plot

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed