Skip to main content
100%

TP1_2

✓ Published2🌍 Public
SSeegson
Last edited Oct 10, 2022
Created on Sep 26, 2022
Forked from barGraph

A bar chart displays each country's 2022 population, sorted in ascending order by default. A button-click re-sorts the chart in descending population order. The visualization uses D3.js v5 APIs including `scaleBand`, `scaleLinear`, `axisLeft`, `axisBottom`, and `csv` to load data from a CSV file. The SVG rendering includes interactive tooltips that show country name and population on mouseover. Data comes from a world population dataset for 2022.

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