🌍 Public
Viewing a saved revision (read-only)
7e42fc8c3fdf42bc800722a5c69d9821
Reusable D3 Scatterplot with Symbols
This scatterplot visualizes the Iris dataset, mapping petal width and sepal length on the x and y axes, with species represented by different symbols. Built as a reusable D3 component, the code uses `scaleLinear` for axes, `scaleOrdinal` for categorical symbol mapping, and `symbolGenerator.type` to generate SVG paths. The plot renders to SVG, with axes and data marks appended to the selection, and includes configurable margins and point size.
AI-generated description