Skip to main content
100%

Fork of ICE-6 Tutorial Bar Chart

✓ Published0🌍 Public
DDeekshithVemula
Last edited Mar 7, 2022
Created on Mar 7, 2022

This bar chart displays the top 10 cosmetic products by revenue, using 2018 population data from the United Nations World Population Prospects 2017 as a proxy for ranking. The visualization uses D3 v5 with `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render SVG bars and axes. Data is loaded via `d3.csv` from a GitHub gist, with revenue values parsed as numbers. The chart customizes axes by removing domain lines and adds a formatted tick label that replaces "G" with "B" for billions.

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