Skip to main content
100%

graph_02

✓ Published0🌍 Public
Tthomasjungcoe
Last edited Jun 1, 2021
Created on Jun 1, 2021
Forked from Stylized Bar Chart

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 description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes