Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question4

Public visualization

Viewing a saved revision (read-only)

65b5a83ccd714ed9b386bd466e0f2f22

Activity6_Question4

0 stars0🌍 Public
Ddandudivya98@gmail.com
Last edited Apr 5, 2024
Created on Apr 5, 2024
Forked from Hello VizHub

This interactive D3.js bubble chart visualizes fertility rate against life expectancy for ten countries, with bubble size representing population and color distinguishing geographic regions. The visualization uses an SVG-based rendering with d3.scaleLinear for axes and bubble sizing, and d3.scaleOrdinal with interpolated turbo colors for regional categorization. Hovering over any circle triggers a tooltip displaying the region name, implemented through mouse event handlers. The chart includes a size legend and a color-coded category legend. Data is loaded from a CSV file, and the visualization demonstrates animated transitions for tooltip opacity changes.

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.