Skip to main content
100%

xxx

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

This bar chart displays the number of turns taken in chess games, broken down by victory status (mate, resign, draw, or out of time), using data loaded from a CSV file. The visualization uses d3.scaleLinear and d3.scaleBand to map turns and statuses, with d3.axisBottom and d3.axisLeft for labeled axes. Titles and axis labels are added as SVG text elements, and the bars are styled with a steelblue fill. The chart’s x-axis tick format converts large numbers into abbreviated notation using d3.format.

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