Skip to main content
100%

refactor bar chart with MARGIN and axes united nations data

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

This bar chart displays population data for ten countries from the United Nations 2019 dataset, using horizontal bars to show each country’s population. The chart uses React with D3 v7, employing `scaleBand` for the categorical y-axis, `scaleLinear` for the numerical x-axis, and SVG `rect` elements for the bars. Margins are implemented to position axes via reusable `AxisBottom` and `AxisLeft` components, with data loaded asynchronously using `d3.csv`.

AI-generated description

A bare minimum HTML page.

program that visualizes data from csv file I compiled

MIT Licensed

Similar vizzes