Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question4.9

Public visualization

Viewing a saved revision (read-only)

aa36aee0764e4a3ba06744ebe6cbe29c

Activity6_Question4.9

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