Vertical bar chart
This visualization displays the profit percentage of a Dutch organization from 2011 to 2018, using a vertical bar chart with a single bar per year. Built with D3 v5, it loads data from a local JSON file and renders SVG elements. The chart customizes its axes by rotating the x-axis tick labels and formatting the y-axis ticks with the `format` API. A linear scale (`scaleLinear`) maps the profit values, while a band scale (`scaleBand`) positions the bars.
AI-generated descriptionThis 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.
See also the first bar chart visualization that this one builds on: Making a Bar Chart.