Skip to main content
100%

ICE-7-Reusable D3 Scatter Plot

✓ Published0🌍 Public
AAli Shah Solanki
Last edited Mar 26, 2023
Created on Mar 26, 2023

This reusable D3 scatter plot visualizes the Iris Dataset, mapping petal width to the x-axis and sepal length to the y-axis, with each species distinguished by a unique shape and color. Built with the Towards Reusable Charts pattern, it uses d3.scaleLinear, d3.scaleOrdinal, and d3.symbol to render SVG paths. Every two seconds, the plot cycles the x-axis through four measurement columns, animating the data points to new positions via a join update. The example also includes axes rendered with d3.axisLeft and d3.axisBottom.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes