Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

barGraph

Public visualization

Viewing a saved revision (read-only)

e08591edff7c45e88037d6b85c3959ac

barGraph

0 stars38🌍 Public
TTimothyMiage
Last edited Jan 3, 2024
Created on Sep 19, 2022
Forked from MIAGE base

This visualization displays the 2022 population of countries as a bar chart, with options to sort the bars in ascending or descending order. The chart also includes a scatter plot overlay with circles at the top of each bar, and a tooltip showing country and population details on hover. Built with D3 v5, the visualization uses `scaleBand`, `scaleLinear`, and `axisLeft`/`axisBottom` for axes, with `transition` animations when sorting. The data comes from a CSV file, and the SVG rendering includes interactive buttons for reordering.

AI-generated description