Reusable D3 Scatterplot with Symbols
✓ Published1🌍 Public
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 descriptionMIT Licensed