Skip to main content
100%

Customizing Axes

✓ Published1🌍 Public
Lleopoldovce2
Last edited May 13, 2021
Created on May 13, 2021
Forked from making a bar chart

This bar chart displays the populations of the ten most populous countries, based on 2018 estimates from the World Population Prospects 2017. The visualization uses d3.csv to load the data, d3.scaleLinear and d3.scaleBand to map population values and country names to the chart’s SVG coordinates, and d3.axisLeft and d3.axisBottom to render the axes. Rectangles are appended to represent each country’s population, with the x-axis scaled in increments of one million.

AI-generated description

An example including some commonly used features of SVG.

This bar chart shows population of the top 10 most populous countries. The data comes from the year 1018 estimate from the year 2018 eestimate in World Population Prospects 2017

MIT Licensed

Similar vizzes