Fork of MIAGE base
✓ Published1🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed