Fork of Refactored Bar Chart
✓ Published0🌍 Public
This example presents a bar chart of the ten most populous countries based on United Nations World Population Prospects 2019 data, loaded from a CSV URL. The chart displays population totals as horizontal bars, with country names on the y-axis and population values on the x-axis. It uses React for component-based rendering, d3.scaleBand and d3.scaleLinear for scaling, and d3.csv for data loading. The visualization renders as SVG, with separate React components for the bottom axis, left axis, and marks (rectangles), all coordinated through props.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed