Skip to main content
100%

Fork of Making a Bar Chart

✓ Published0🌍 Public
Ppeterwang6666
Last edited Dec 13, 2021
Created on Dec 13, 2021
Forked from Making a Bar Chart

This bar chart displays the victory status of chess matches, plotting population values against country names. Built with D3 v5, it uses `scaleLinear` for the x-axis and `scaleBand` for the y-axis, with axes rendered via `axisBottom` and `axisLeft`. The data is loaded from a CSV file using `csv`, with population values multiplied by 1000. The chart features customized axes, including a tick format that abbreviates large numbers, and applies a steelblue fill to the rectangles via CSS.

AI-generated description

This 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.

MIT Licensed

Similar vizzes