Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task 8 - Q4)

Public visualization

Viewing a saved revision (read-only)

a95d03bbcdf644e5a009ae8d9ea2dc91

Task 8 - Q4)

0 stars0🌍 Public
Mmulyasuji999@gmail.com
Last edited Apr 15, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This bubble chart displays the population of each U.S. state, with circles positioned along an x-axis of state names and a y-axis of population, while the circle size also encodes population and the color represents the state capital. The visualization uses SVG and animation, with interactive tooltips that appear on mouseover, showing the capital and population values. Built with D3 v7, the chart employs `d3.scaleBand`, `d3.scaleLinear`, and `d3.scaleOrdinal` for its scales, and renders data from a CSV file loaded via `d3.csv`, with a custom legend below the chart.

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.