Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of bar chart laboratorio 4

Public visualization

Fork of bar chart laboratorio 4

0 stars0🌍 Public
Llimeroc
Last edited May 18, 2021
Created on May 18, 2021

This visualization displays the top 10 countries by population in 2020 using horizontal bars. Built with React and D3 v6, it renders SVG rectangles whose lengths correspond to population values. The chart uses D3’s scaleBand and scaleLinear for axes, formats tick labels with the D3 format function, and loads UN population data from a CSV file. Tooltips on each bar reveal the exact population when hovered.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed