Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart - 03 [Refactored]

Public visualization

Viewing a saved revision (read-only)

de90d0af02974490bbfbf87e80fb9812

Bar Chart - 03 [Refactored]

0 stars1🌍 Public
EEhtisham UL Hassan
Last edited Nov 29, 2021
Created on Nov 29, 2021

This bar chart displays the 2020 population estimates for the top 10 countries by total population. The chart uses a horizontal bar layout with SVG rendered through React, leveraging d3's `scaleBand` and `scaleLinear` to map country names and population values to coordinates. The data is loaded from a CSV file via `fetch`, parsed with `csvParse`, and visualized with custom components for axes and marks.

AI-generated description

Refactored Bar Chart.