Skip to main content
100%

BarGraph TD1 Prof

✓ Published0🌍 Public
EElodie31190
Last edited Oct 5, 2022
Created on Oct 3, 2022
Forked from barGraph

This bar chart displays the 2022 population for each country, with interactive sorting buttons that rearrange the bars in ascending or descending order. The visualization combines SVG rectangles with overlaid blue circles, and uses D3 v5 APIs including `scaleBand`, `scaleLinear`, `axisBottom`, and `axisLeft` for axes, along with `transition()` for smooth animated updates when sorting. Hovering reveals a tooltip showing the country and population. A tooltip element and three distinct D3 selection groups facilitate the interaction and rendering.

AI-generated description
MIT Licensed

Similar vizzes