Skip to main content
100%

Fork of Reusable Scatter plot Activity 8

✓ Published0🌍 Public
Ggolisanthoshi2000@gmail.com
Last edited Nov 7, 2024
Created on Nov 7, 2024

This reusable D3.js scatter plot displays the relationship between two quantitative variables as circles positioned by linear scales, with labeled axes and a custom margin. The chart is fully configurable through a modular API that lets users specify width, height, data, x/y value accessors, margin, and radius. It relies on `d3.scaleLinear`, `d3.extent`, `d3.axisLeft`, and `d3.axisBottom` to compute domains and render axes, while binding data to SVG circle elements. The visualization loads its dataset from an external CSV file using `d3.csv`.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes