Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Bar Chart - 03 [Refactored]

Public visualization

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.

Comments

Sign in to join the discussion.

MIT Licensed