🌍 Public
Viewing a saved revision (read-only)
db1d48b253ed4c66b319b04e34c693f8
Reusable D3 Scatter Plot
This example demonstrates a reusable scatter plot that visualizes the Iris Dataset, displaying measurements like petal width and sepal length as colored circles. It cycles through different column pairs every two seconds, animating the axes and points to show relationships between various flower attributes. The chart uses D3 v6 APIs including `scaleLinear`, `axisLeft`, `axisBottom`, and a custom `scatterPlot` function that follows the reusable chart pattern. Data loads via `csv` from a GitHub Gist, and the SVG rendering updates smoothly as the selected variables change.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.