Skip to main content
100%

Reusable D3 Scatterplot with Symbols

✓ Published1🌍 Public
Aajoua
Last edited Feb 8, 2023
Created on Feb 6, 2023

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

Similar vizzes