Skip to main content
100%

Activity6_Question4.9

✓ Published0🌍 Public
UUday Vandanapu
Last edited Oct 25, 2024
Created on Oct 23, 2024
Forked from Question 4 Lokesh

This bubble chart visualizes the relationship between sales volume, pricing, and revenue for 20 vegetables using a CSV dataset. The x-axis maps quantity sold in pounds, the y-axis maps price per unit in USD, and bubble size represents revenue while color distinguishes vegetable types. Interactive tooltips appear on mouseover. The visualization uses d3.csv to load data, d3.scaleLinear for axes and bubble sizing, d3.scaleOrdinal with interpolateTurbo for coloring, and SVG circles with event listeners for tooltip interactions. A legend indicates revenue bubble sizes, with all elements rendered as animated SVG.

AI-generated description

We are Displaying the bubble chart using vegetables.csv

MIT Licensed

Similar vizzes