Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Untitled

Public visualization

Untitled

0 stars0🌍 Public
MMaeva B
Last edited Sep 26, 2022
Created on Sep 26, 2022
Forked from Fork of MIAGE base

A bar chart displays the 2022 population of countries from a CSV dataset, with each country represented as a vertical bar along a band scale. The chart uses D3 v4 to load the data, create SVG elements, and render axes. Hovering over a bar triggers a tooltip that shows the country name and population, using D3 event handling to position and populate the tooltip dynamically.

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