Skip to main content
100%

Fork of Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
NNaimisha-M
Last edited Jul 5, 2022
Created on Jul 5, 2022

This scatter plot visualizes the Iris Dataset, encoding petal length and sepal length on the x- and y-axes while coloring each circle by species (setosa, versicolor, virginica). The visualization cycles through different column pairings every two seconds, animating between sepal width, petal length, and other measurements. Built with D3 v6, the example uses `d3.csv` for data loading, `d3.scaleLinear` and `d3.axisBottom`/`d3.axisLeft` for scales and axes, and SVG circles for rendering. It also demonstrates a reusable chart pattern with a custom `scatterPlot` factory function.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes