Skip to main content
100%

Fork of Fork of Reusable D3 Scatter Plot

✓ Published1🌍 Public
CCherukuriMilind
Last edited Jun 30, 2022
Created on Jun 30, 2022

This animated scatter plot displays the Iris Dataset, mapping measurements like leg length and shoulder length to axes while coloring each point by gender. It cycles through different column combinations every two seconds, updating the x-axis to reveal relationships between variables. Built with D3 v6, the visualization uses `scaleLinear`, `axisBottom`, and `axisLeft` to render SVG circles, with `setInterval` driving the animation. The code imports from the scatterPlot module, demonstrating a reusable chart pattern where dimensions like width, height, and data values are settable via closures.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes