Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_Task_4

Public visualization

Viewing a saved revision (read-only)

82272342dbe04859bde99c2c6a549c12

Activity_Task_4

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

This bubble chart maps GDP against life expectancy for various countries, with bubble size reflecting population and color indicating country. The visualization uses D3 v6 to render an SVG, employing `d3.scaleLinear` for both axes and `d3.scaleSqrt` for bubble radii. Data is loaded from a CSV file via `d3.csv`, which also populates a manual legend. Axes are generated with `d3.axisBottom` and `d3.axisLeft`, and all chart elements—including the title and axis labels—are appended as SVG elements.

AI-generated description