Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
KKeerthipriyaBankuru
Last edited Jul 3, 2022
Created on Jun 30, 2022

This fork of a reusable D3 scatter plot animates through four columns of a custom Iris dataset, cycling every two seconds between Height, Length, TopLeftCornerX, and TopLeftCornerY as the x-axis variable. Built with D3 v6, it uses `scaleLinear`, `axisLeft`, `axisBottom`, and data joins to render SVG circles and axes. The chart is driven by a `scatterPlot` closure that accepts configurable accessors, with `setInterval` triggering re-renders. The dataset is loaded via `csv` from a remote gist, with a full-viewport SVG and the Share Tech font.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes