🌍 Public
Viewing a saved revision (read-only)
78c761baa2d34b0d990f6bdb4c06e38a
Activity 8_Q4
This bubble chart shows the correlation between total honey production and honey stock levels across U.S. states, with bubble size representing the number of colonies and color mapping to each state. The SVG visualization, built with D3 v7, includes a tooltip that displays state name, production, and stock values on hover. The code demonstrates loading data from a CSV file, creating linear scales for axes and bubble radius, using an ordinal color scale for state categories, and rendering an interactive legend alongside the main plot.
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.