Skip to main content
100%

Bar Chart - 03 [Refactored]

✓ Published1🌍 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.

MIT Licensed

Similar vizzes