Skip to main content
100%

taskk8_4

✓ Published0🌍 Public
Ppraneeth7222@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This example displays a bubble chart comparing seven countries by their GDP, life expectancy, and population. It loads data from a JSON file and uses D3 v7 scales (d3.scaleLinear for axes, d3.scaleSqrt for bubble radius) to map GDP to the x-axis, life expectancy to the y-axis, and population to circle size. The visualization is rendered as an SVG with sky-blue, semi-transparent circles and axis labels appended directly to 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.
MIT Licensed

Similar vizzes