🌍 Public
Viewing a saved revision (read-only)
f8831848abea48d1a3c38f6ffd9ac656
Activity6_Question4
This interactive bubble chart visualizes U.S. honey production across states for 1998-1999, plotting average yield per colony on the x-axis and total production on the y-axis. Circle size encodes colony count, while color distinguishes states using a scaleOrdinal with interpolated colors from d3.interpolateTurbo. Built with d3.v7 rendering SVG, the chart includes axis labels, a color-coded legend, and hover tooltips displaying state names. Data is loaded from a CSV file using d3.csv, with circles styled for opacity changes on mouseover.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.