graph_02
✓ Published0🌍 Public
This bar chart displays the top 10 most populous countries using United Nations World Population Prospects 2019 data, with country names on the y-axis and population counts on the x-axis. Built with React and D3 v5, it renders SVG rectangles through a Marks component, scales data with `scaleLinear` and `scaleBand`, and formats tick labels with d3’s `format` function. Axes and tooltips are rendered via custom AxisBottom, AxisLeft, and title elements, with the chart displayed in an HTML page using ReactDOM.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed