Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Re-usable Scatter Plot

Public visualization

Viewing a saved revision (read-only)

d470b29a77f54027970971db1385aa2f

Re-usable Scatter Plot

0 stars0🌍 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