🌍 Public
Viewing a saved revision (read-only)
142bec95d7654e6bb72a9a8c155e58e9
Fork of Stylized Bar Chart
This example shows the top 10 most populous countries as a horizontal bar chart, using a dataset from the United Nations World Population Prospects 2019. Each bar’s length encodes the population value, with a tooltip on hover showing the formatted figure. The visualization is built with D3 v5’s `scaleBand` and `scaleLinear`, rendered as SVG within a React application using `ReactDOM`. The code also uses `format` for tick labels and `csv` to load the data, with custom axis components and Poppins typography for styling.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.