Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Acitivity6 Q9

Public visualization

Viewing a saved revision (read-only)

ff6ece2756bd468db7f3cef03609499a

Acitivity6 Q9

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