Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
Kkesmith21
Last edited Dec 5, 2020
Created on Dec 5, 2020
Forked from Making a Bar Chart

This bar chart displays the market capitalization of two companies, Apple and TM, using data from a CSV file. Built with D3 v5 and rendered as an SVG, the visualization uses `scaleLinear` for the x-axis and `scaleBand` for the categorical y-axis, with customized axes via `axisBottom` and `axisLeft`. The chart includes axis labels and a title, while the bars are styled with a steelblue fill 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