Skip to main content
100%

Reusable_ScatterPlot_D3_with_Symbols

✓ Published1🌍 Public
Rraturi22@gmail.com
Last edited Aug 15, 2025
Created on Aug 14, 2025

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
MIT Licensed

Similar vizzes