Fork of Stylized Bar Chart
✓ Published0🌍 Public
This bar chart visualizes the top 10 most populous countries using United Nations World Population Prospects 2019 data, loaded via d3.csv. Built with React and rendered as SVG, the chart uses d3.scaleBand and d3.scaleLinear for axes, with a customized Poppins font and a teal color scheme. Each bar’s tooltip displays the population value formatted using d3.format. The code reuses modular components for axes and marks, and displays a loading state before the data arrives.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed