Fork of Reusable D3 Scatter Plot
This example displays four-dimensional Iris flower measurements as a scatter plot, mapping petal width to the x-axis and sepal length to the y-axis. It uses D3 v6’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` within a reusable chart factory pattern following Mike Bostock’s approach. Rendering is done via SVG, with data loaded from a Gist-hosted CSV. The plot measures 5 pixels per point, and the page adapts to the full window size, with circular marks colored uniformly and axes accompanied by custom fonts.