Skip to main content
100%

bar chart with MARGIN united nations data

✓ Published1🌍 Public
EEkuremaro
Last edited May 20, 2022
Created on May 20, 2022

This example displays a horizontal bar chart of United Nations population data for the top 10 countries, showing each country's estimated 2020 population as a bar length. The visualization uses React with the D3 library, employing `d3.scaleBand` for the y-axis positioning and `d3.scaleLinear` for the x-axis scaling. The data is loaded via `d3.csv` from a GitHub-hosted CSV file. The chart is rendered as an SVG element with a 20-pixel margin on all sides.

AI-generated description

A bare minimum HTML page.

program that visualizes data from csv file I compiled

MIT Licensed

Similar vizzes