🌍 Public
Viewing a saved revision (read-only)
9704b36a4b5b4fb381a4d1cbc56a031c
Fork of Stylized Bar Chart
This bar chart displays the ten most populous countries using data from the United Nations World Population Prospects 2019, with population values on the horizontal axis and country names on the vertical axis. Built with React and D3 v5, the visualization uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, rendering the bars as SVG `<rect>` elements within a `<svg>` container. The `AxisBottom` and `AxisLeft` components generate ticks and labels, while a CSS-styled `.mark` class fills each bar with a teal color and a `<title>` element provides tooltips.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.