Skip to main content
100%

Activity6_Task4_Question

✓ Published0🌍 Public
VVarshith Peddineni
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This example presents a bubble chart visualizing coffee consumption across ten countries, plotting per capita consumption on the x-axis against total consumption on the y-axis. Each circle’s radius encodes population size, with a tooltip showing the country name on hover. The visualization loads data from an inline CSV string, parsed with d3.csvParse, and renders as SVG using D3 v7 scales and selection methods. A legend identifies each country by color, and axis labels clarify the measured variables.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes