Skip to main content
100%

Acitivity6 Q9

✓ Published0🌍 Public
YYeruva Snehith Reddy
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This bubble chart displays the correlation between grams sold, cost per gram, and total cost for various lentil types. The x-axis represents grams sold, the y-axis shows cost per gram, and the size of each circle encodes the total cost, while color distinguishes each lentil variety. Hovering over a bubble reveals a tooltip with the item’s name. The chart uses d3.csv to load data, d3.scaleLinear for axes and bubble sizing, d3.interpolateTurbo for color mapping, and SVG rendering with mouse event handlers for interactions.

AI-generated description
MIT Licensed

Similar vizzes