Activity6_Task4_Question
✓ Published0🌍 Public
A bubble chart displays U.S. state populations from the 2020 census, plotting each state’s total population on the x-axis and its percentage of the national total on the y-axis. The bubble size and color encode population percentage, with hover tooltips showing state details. D3 v7 loads a CSV dataset and uses `d3.scaleLinear`, `d3.scaleOrdinal`, `d3.axisBottom`, and `d3.axisLeft` to render the SVG chart with interactive mouse events.
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.
MIT Licensed