Skip to main content
100%

Reusable Scatterplot with radius and animation

✓ Published1🌍 Public
BBryan Baird
Last edited Jul 2, 2023
Created on Jul 2, 2023

This interactive scatterplot visualizes the Iris dataset, letting users choose which variables map to the x-axis, y-axis, and point radius via dropdown menus. Built with D3 version 6, the reusable `scatterPlot` module uses `scaleLinear` and `scaleSqrt` for positioning and sizing, with smooth `transition()` animations on circle and axis updates. The interface is assembled from a custom `menu` component, and the SVG rendering responds instantly to any variable selection.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes