Skip to main content
100%

Re-usable Scatter Plot

✓ Published0🌍 Public
Vvishnupriya eupuri
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from Scatter Plot

This reusable scatter plot visualizes the relationship between product quantity and price from a CSV inventory dataset. It uses D3 v6 to load the data, map the numeric fields to linear scales, and render circles with fixed radius on an SVG canvas. The code demonstrates a modular chart-building pattern with explicit margins, axis generation via `d3.axisBottom` and `d3.axisLeft`, and a consistent steelblue fill for all data points. The chart is embedded in a centered, styled layout.

AI-generated description
MIT Licensed

Similar vizzes