🌍 Public
Viewing a saved revision (read-only)
d0adcf6f130e4533a36cf98305b7a86a
Reusable_ScatterPlot_D3_with_Symbols
This example demonstrates a reusable scatter plot that cycles through different x-axis dimensions of the Iris dataset every two seconds, using animated transitions between views. It visualizes petal width, sepal width, petal length, and sepal length against sepal length, with points rendered as distinct SVG symbols (circles, crosses, diamonds, etc.) based on species. The chart is built with D3 v7, leveraging `scaleLinear`, `scaleOrdinal`, `symbol`, `axisLeft`, `axisBottom`, and the reusable chart pattern. Data is loaded as CSV from a GitHub gist, and the SVG output updates in place via `selection.join`.
AI-generated description