Fork of Fork of Making a Bar Chart
✓ Published0🌍 Public
A horizontal bar chart displays the population of the ten most populous countries, with values from a 2018 United Nations estimate scaled by a factor of one thousand. The visualization uses d3.csv to load the dataset, then applies d3.scaleLinear for the x-axis and d3.scaleBand for the categorical y-axis. SVG rectangles are bound to the data, and axes are rendered using d3.axisLeft and d3.axisBottom, with the chart drawn within a fixed 960×500 SVG viewport.
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