Skip to main content
100%

Scatter Plot for Vegetables Price vs Weight Scatter Plot

✓ Published3🌍 Public
NNagasharan Sai Nandyala
Last edited Mar 25, 2025
Created on Mar 25, 2025

A scatter plot displays the relationship between vegetable price in USD and weight in kilograms, with each red dot representing an item from a CSV dataset loaded via `d3.csv`. The visualization uses `d3.scaleLinear` for both axes, `d3.axisBottom` and `d3.axisLeft` for ticks, and an SVG container with circles positioned via `cx` and `cy` attributes. Axis labels clarify the variables, while the chart scales from zero to the maximum observed values.

AI-generated description
MIT Licensed

Similar vizzes