Skip to main content
100%

Fork of Fork of Hello VizHubActivity6_Question4.9

✓ Published0🌍 Public
UUday Vandanapu
Last edited Oct 25, 2024
Created on Oct 25, 2024

This bubble chart visualizes the relationship between sales volume (x-axis), price per unit (y-axis), and revenue (bubble size and color) for 20 vegetables. Each circle represents a vegetable, with revenue encoded by both radius and a color scale using `d3.scaleOrdinal` and `d3.interpolateTurbo`. The chart includes axis labels, a revenue legend with reference circles, and interactive tooltips via `d3.select`. Data is loaded asynchronously from a CSV file using `d3.csv`, and rendered as an SVG with D3 v7.

AI-generated description

We are Displaying the bubble chart using vegetables.csv

MIT Licensed

Similar vizzes