🌍 Public
Viewing a saved revision (read-only)
2a9bd038c32a4b3dba98f1b4e02bfb54
Fork of Stylized Bar Chart
This bar chart displays the top 10 most populous countries using United Nations World Population Prospects 2019 data. The visualization uses React and D3 v5 with SVG rendering, employing `scaleBand` for the categorical y-axis and `scaleLinear` for the population x-axis. The code implements custom `AxisBottom` and `AxisLeft` components, with `Marks` rendering population bars as rectangles. A `format('.2s')` function converts large numbers to abbreviated labels (e.g., "B" for billions), while CSS styling with the Poppins font gives the chart its stylized appearance.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.