🌍 Public
Viewing a saved revision (read-only)
df13793b310e462887a86b58408c5ab2
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