🌍 Public
Making a bar chart
This bar chart displays the population of the top 10 most populous countries, with China and India leading by a significant margin. The visualization uses D3 v5’s `scaleLinear` for the x-axis and `scaleBand` for the y-axis, rendering SVG rectangles. Data comes from the World Population Prospect 2017, with raw values multiplied by 1000. The chart includes formatted tick labels via `axisBottom` with a custom `.3s` format, a population axis label, and a title, all styled with tomato-colored bars and a Ubuntu font.
AI-generated descriptionThe bar chart show population of the top of 10 most popluois countries. The data comes from World Population Prospect 2017.
MIT Licensed
Comments
Sign in to join the discussion.