Skip to main content
100%

ICE-7: Reusable sctter plot

✓ Published0🌍 Public
BBajiSharifPatan@my.unt.edu
Last edited Mar 28, 2022
Created on Mar 27, 2022
Forked from ice - 7

A reusable scatter plot displays the Iris Dataset, with each point colored by species. It iterates through the four measured attributes every two seconds, dynamically swapping which column maps to the x-axis while the y-axis remains fixed on sepal length. Built with D3 v6, it uses `scaleLinear`, `axisLeft`, and `axisBottom` within a custom `scatterPlot` function that accepts configurable accessors, margins, and radius. Axis labels are added with SVG text elements in the Share Tech font.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes