Skip to main content
100%

Fork of Reusable Canvas

✓ Published0🌍 Public
Ssrividyamadas@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from Reusable Canvas

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 description
MIT Licensed

Similar vizzes