Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Act6_q1

Public visualization

Act6_q1

0 stars0🌍 Public
Pp99vijaya@gmail.com
Last edited Oct 25, 2024
Created on Oct 25, 2024

This bubble chart plots GDP against life expectancy for five countries, with bubble size representing population. The visualization uses D3.js v7 with inline SVG rendering. It applies `d3.scaleLinear` for both axes and `d3.scaleSqrt` for bubble sizing, while `d3.axisBottom` and `d3.axisLeft` generate tick marks. Country labels appear next to each bubble, and the data comes from a simple hardcoded array rather than an external file.

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.

Comments

Sign in to join the discussion.

MIT Licensed