Skip to main content
100%

D3 Scatter Plot

✓ Published0🌍 Public
RRaja Srinivas Nelluri
Last edited Mar 28, 2022
Created on Mar 28, 2022

This scatter plot visualizes the Iris dataset, mapping petal width and sepal length as the primary axes while encoding species by color. The visualization cycles through different column pairings every two seconds using `setInterval`, animating the axes and circle positions. Built with D3 v6, it uses `scaleLinear`, `axisLeft`, and `axisBottom` for scales and axes, alongside SVG circles and custom labels. The chart is rendered on a full-window SVG, with data loaded via `d3.csv` from a remote GitHub gist.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes