Reusable D3 Scatter Plot
✓ Published1🌍 Public
This reusable D3 scatter plot displays the Iris Dataset, showing how different flower species cluster based on their measurements. Built with D3 v7 and rendered as SVG, the visualization demonstrates a modular chart structure where axes, scales, and data encoding are parameterized for easy reuse. The example loads CSV data directly from a GitHub gist and uses d3.select, d3.csv, and d3.scaleOrdinal to map species to colors. The chart's layout applies a configurable margin system and dynamic radius calculation, making it adaptable to different datasets and display sizes.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed