Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Assignment6_Question4.9

Public visualization

Viewing a saved revision (read-only)

933469ff1e7740e0987a08697e4bb24c

Fork of Assignment6_Question4.9

0 stars1🌍 Public
Mmasters200128@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Assignment6_Task4

This bubble chart visualizes the relationship between GDP, life expectancy, and population for ten countries. Circles are positioned by GDP on the x-axis and life expectancy on the y-axis, with circle size representing population and color identifying each nation. The code uses D3 v6’s `scaleLinear`, `scaleSqrt`, and `d3.axisBottom`/`axisLeft` APIs, loading data from a local CSV. An SVG legend displays country-color mappings, with axis labels and a title clarifying the quantitative comparisons.

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.