Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
Mmatt-hooper
Last edited Jan 15, 2019
Created on Jan 15, 2019

This bar chart displays the letter frequency data for the English language from a `letters.tsv` file. The visualization uses a band scale for the categorical y-axis and a linear scale for the quantitative x-axis, with axes rendered via `axisLeft` and `axisBottom`. The chart's bars are drawn as SVG `<rect>` elements, filled with steelblue. The code loads data using the d3 `tsv` function, and the layout is positioned within an SVG canvas using computed margins and inner dimensions.

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.

MIT Licensed

Similar vizzes