Skip to main content
100%

Fork of Fork of ICE-6 Tutorial Bar Chart

✓ Published0🌍 Public
DDINESH SAI BOPPANA
Last edited Jun 22, 2022
Created on Jun 22, 2022

This horizontal bar chart displays the top 10 cosmetic products by revenue, with each bar’s length proportional to its dollar value. The visualization uses D3 v5, employing `scaleLinear` and `scaleBand` to map revenue and product names, while `axisLeft` and `axisBottom` render the axes. Data is loaded via `d3.csv` from a remote GitHub gist, and the chart is drawn as SVG elements with a custom tick formatter that abbreviates large numbers.

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