Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
AAlejandro Zamora Esquivel
Last edited May 30, 2020
Created on May 30, 2020
Forked from Stylized Bar Chart

This stylized bar chart displays the top 10 most populous countries based on United Nations World Population Prospects 2019 data, using horizontal bars with a clean, minimal aesthetic. The visualization leverages React for component structure and d3.v5’s scaleBand, scaleLinear, and format APIs to render SVG rectangles via the Marks component, with axis labels and tick marks generated by custom AxisBottom and AxisLeft components. Population values are formatted using the SI format specifier, converting gigabytes to billions for readable tick labels, and tooltips appear on hover showing the exact formatted value.

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