Skip to main content
100%

Fork of MIAGE base

✓ Published1🌍 Public
JJuliette
Last edited Sep 26, 2022
Created on Sep 19, 2022
Forked from MIAGE base

A bar chart displays 2022 population figures for countries from a CSV dataset, with bars sorted by country name. Users can click "Croissant" or "Decroissant" buttons, though the sorting logic is not implemented. The visualization uses D3 v5 with `scaleBand`, `scaleLinear`, `axisBottom`, and `axisLeft` to render SVG rectangles. Hovering over a bar triggers a tooltip showing the country name and population. The page also imports a local ES6 module and includes styling from an external CSS 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.
MIT Licensed

Similar vizzes