🌍 Public
Fork of Reusable D3 Scatter Plot
This responsive D3 scatter plot visualizes the Iris Dataset, mapping sepal measurements to x/y coordinates with a fixed radius. It demonstrates a reusable charting pattern by encapsulating scales, axes, and circles within a configurable `scatterPlot` function. The SVG rendering uses `d3.scaleLinear`, `d3.extent`, `d3.axisLeft`, and `d3.axisBottom` to generate axes, while `d3.csv` loads remote data. The plot is drawn on an `svg` element sized to the browser window, with styling applied via the Share Tech font.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed
Comments
Sign in to join the discussion.