Fork of barGraph
✓ Published0🌍 Public
A bar chart displays each country's 2022 population, loading tabular data from a CSV file. Hovering over a bar triggers a tooltip showing the country name and population value. Clicking a button re-sorts the bars by population using a transition on x positions. The visualization is built with D3 v5, using `csv`, `scaleBand`, `scaleLinear`, `axisLeft`, `axisBottom`, and positional transitions.
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