Fork of Stylized Bar Chart
✓ Published0🌍 Public
This bar chart displays the top 10 most populous countries using an inverted horizontal layout, with country names on the vertical axis and population values on the horizontal axis. The visualization uses React components to render SVG elements, with d3.scaleBand positioning the categorical axis and d3.scaleLinear mapping population values. The d3.csv loader fetches data from a GitHub Gist containing United Nations World Population Prospects 2019 data, while d3.format applies abbreviated tick labels that convert millions to billions. The chart includes styled tick marks, a Population axis label, and native SVG tooltips showing formatted values on hover.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed