ICE7-Reusable D3 Scatter Plot
✓ Published0🌍 Public
This example visualizes the Iris Dataset with a reusable D3 scatter plot, mapping petal width against sepal length and encoding species using distinct D3 symbols. Built with D3 v6, it uses `scaleLinear`, `scaleOrdinal`, `axisLeft`, `axisBottom`, and `symbol` to generate SVG marks. The chart is fully responsive, sizing to the window, and implements a reusable chart pattern with configurable accessor functions for x, y, and symbol values, plus margin and symbol size settings.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed