Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
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 descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed