Skip to main content
100%

Bar Chart test1220

✓ Published0🌍 Public
DDavid-Wong110723
Last edited Dec 20, 2021
Created on Dec 20, 2021

This bar chart displays the population values of six years, from 2011 to 2016, based on a local CSV file and styled with a steelblue fill. The visualization customizes D3 v5 axes by adding a dollar sign prefix to the y-axis ticks and labels the chart as “XYZ Foods Stock Price.” The SVG rendering uses `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and appends rectangles via `d3.selectAll` and data joins, with axis elements created using `d3.axisLeft` and `d3.axisBottom`.

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