Skip to main content
100%

Fork of Fork of Fork of ICE 7-1 Reusable Scatter Plot

✓ Published0🌍 Public
KKarnisrikanth
Last edited Mar 25, 2023
Created on Mar 25, 2023

This example renders the classic Iris dataset as a reusable scatter plot in D3 v6. It uses d3.scaleLinear and d3.axisBottom/axisLeft to map petal width against sepal length, with d3.scaleOrdinal assigning distinct colors and SVG symbol shapes by species. The chart updates every 10 seconds, cycling through different x-axis columns via setInterval, demonstrating dynamic axis transitions. Data is loaded asynchronously from a CSV URL using d3.csv.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes