🌍 Public
Viewing a saved revision (read-only)
918108528e214b149c2bd935331ce65e
Activity-8_Q4
This interactive bubble chart visualizes the relationship between population and average income across major U.S. cities, with bubble size representing land area and color encoding individual cities. Built with d3.v7, the SVG visualization combines x and y linear scales for axes, a third scale for bubble radius, and an ordinal color scale using interpolateTurbo. Hovering reveals a tooltip showing city names, while a legend displays area values and city color-coded dots. The chart reads from a CSV file and includes animated opacity changes on mouse interactions.
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.