Fork of Reusable Canvas
✓ Published0🌍 Public
A reusable scatter plot displays the relationship between two numeric variables from a CSV file, with steel-blue semi-transparent circles plotted against labeled axes. Built with D3 v6, the example demonstrates a modular architecture where the `scatterPlot` function encapsulates the chart logic, while `branding.js` handles data loading via `d3.csv` and passes parsed values to the plot. The SVG canvas resizes to 80% of the window width, and the plot is instantiated with configurable accessors for x and y values, margins, and point radius.
AI-generated descriptionMIT Licensed