Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
RRevanthGrreddy
Last edited Jul 2, 2022
Created on Jul 2, 2022

This example demonstrates the classic Iris Dataset, plotting sepal and petal measurements as animated circles. A scatter plot visualizes the data, with the x-axis cycling through different measurement columns every two seconds. Implemented using D3 v6, the chart is built as a reusable function that leverages `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` for scales and axes. Data is loaded via `csv` and rendered as SVG circles, with transitions updating the x-value to reveal different feature relationships.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes