Skip to main content
100%

Activity6-Q4

✓ Published0🌍 Public
Tthoutunikhitha@gmail.com
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Activity6-Task4

This bubble chart visualizes coffee production data from a CSV file, showing yield (kg per hectare) on the x-axis, area harvested (hectares) on the y-axis, and production volume (kg) encoded by bubble size and color. The visualization uses d3.csv for data loading, d3.scaleLinear and d3.scaleSqrt for scaling axes and bubble radii, and d3.scaleSequential with d3.interpolateTurbo for color mapping. Interactive tooltips appear on mouseover, displaying each country’s production details. The chart also includes a bubble-size legend (500k, 1M, 2M kg) and is rendered with SVG elements and animation-ready transition support.

AI-generated description
MIT Licensed

Similar vizzes