Fork of Making a Bar Chart
✓ Published0🌍 Public
This example visualizes the population of the 10 most populous countries using 2018 estimates from the United Nations World Population Prospects. Horizontal bars represent each country’s population, with a linear scale mapping values to bar width and a band scale positioning rows. The SVG chart is built with d3.scaleLinear, d3.scaleBand, d3.axisLeft, and d3.axisBottom, while data is loaded asynchronously from a JSON file. The chart renders static bars and axes with no interactivity, styled via a linked CSS file.
AI-generated descriptionThis bar chart shows population of 10 most populos countris.The data comes from the year 2018 estimate in United Nations:World Population Prospects 2017.
MIT Licensed