Skip to main content
100%

5) Bar Chart - Styling

✓ Published1🌍 Public
Bbrunoevione
Last edited Apr 3, 2021
Created on Apr 3, 2021

This bar chart displays the top 10 countries by population in 2020, using data from the United Nations World Population Prospects 2019. The chart is rendered with SVG in React, leveraging D3 v5 scaleBand and scaleLinear for axes and positioning. Custom axis components generate ticks, while a marks component maps data to styled rectangles with tooltips. The chart uses the Poppins font, a teal fill for bars, and formats population values with d3.format for readability.

AI-generated description
MIT Licensed

Similar vizzes