Fork of Minimal Reusable Charts Pattern
✓ Published0🌍 Public
This fork of the Minimal Reusable Charts Pattern displays a scatter plot of the Iris Dataset, mapping sepal length to the x-axis and sepal width to the y-axis. The visualization uses D3’s `scaleLinear` and `extent` functions to compute the scales, and renders circles via SVG. It demonstrates a reusable chart module pattern, where the `scatterPlot` function exposes setters like `.data()`, `.width()`, and `.height()`. Data is loaded asynchronously from a GitHub gist using `d3.csv` and parsed with numeric coercion.
AI-generated descriptionA minimal scatter plot of the Iris Dataset using an adaptation of Towards Reusable Charts.
ISC Licensed