Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task4.1

Public visualization

Viewing a saved revision (read-only)

dbb1090a1ee4426ebef31eab53c48377

Activity6_Task4.1

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

This bubble chart visualizes the correlation between height, weight, and age across multiple countries. Each circle's x-position represents height, y-position weight, and its radius encodes age, with color differentiating countries via a categorical turbo color scale. Built with D3.js v7, the SVG chart includes axes, a size legend for age, and interactive tooltips displaying country names on hover. The code utilizes `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.interpolateTurbo` to map data dimensions, with data loaded from a CSV 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.