Skip to main content
100%

activity6_question9

✓ Published0🌍 Public
Ggketan456@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024

A bubble chart displays population and GDP for 25 US cities, with bubble size encoding land area. It loads CSV data via `d3.csv` and uses `d3.scaleLinear` for x/y axes and radius, plus `d3.scaleSequential` with `d3.interpolateBlues` for color. Interactive tooltips appear on mouseover, showing city details. SVG rendering includes axes, labels, and a legend for bubble sizes.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes