Skip to main content
100%

Fork of D3 Scatter Plot using iris data set

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

This interactive scatter plot visualizes the Iris dataset, displaying measurements of petal and sepal dimensions for three flower species. Using D3’s `scaleLinear`, `scaleOrdinal`, and `axisLeft`/`axisBottom`, the chart renders SVG symbols that change shape per species while the x-axis automatically cycles through different measurement columns every 15 seconds. The reusable chart component, inspired by "Towards Reusable Charts," relies on D3’s `selectAll` and `join` for incremental updates. Data is loaded asynchronously via `csv` from a remote URL, with all elements and axes redrawn to fit the full window size.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes