Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published1🌍 Public
Aarchanagoli@my.unt.edu
Last edited Mar 27, 2024
Created on Mar 27, 2024

This fork of the Iris Dataset scatter plot cycles through four flower measurements every two seconds, animating which dimension appears on the x-axis while sepal length stays fixed on the y-axis. Built with D3 v6, it uses `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `selectAll` to render SVG circles and axes. The reusable chart pattern exposes setter methods like `xValue` and `radius` for configuration. Data loads from a CSV via `csv()` and is parsed to numbers; a `setInterval` triggers re-renders to switch columns.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes