Barras estilizadas
This bar chart displays the populations of the top 10 most populous countries, using 2017 United Nations estimates. It shows population values on a linear scale and country names on a categorical band scale, with styled axes and tick marks. The visualization uses D3 v5’s `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render the chart as SVG, with formatted tick labels converting large numbers to abbreviated forms. Data is loaded from a CSV file and multiplied by 1000 to represent thousands.
AI-generated descriptionThis bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.
See also the first bar chart visualization that this one builds on: Making a Bar Chart.