Skip to main content
100%

BarChart TD1 (Bouton ne marche pas)

✓ Published0🌍 Public
EElodie31190
Last edited Oct 3, 2022
Created on Sep 19, 2022
Forked from Fork of MIAGE base

A bar chart displays the 2022 population of countries from a CSV dataset, with bars labeled by country name. The visualization includes sorting buttons that attempt to reorder bars by ascending or descending population, though the interaction is broken due to improper data binding on updates. Built with D3 v5, it uses `scaleBand`, `scaleLinear`, `axisBottom`, and `axisLeft` to render SVG rectangles, with tooltips showing country and population on hover.

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