Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE-6 Tutorial Bar Chart

Public visualization

Fork of ICE-6 Tutorial Bar Chart

0 stars0🌍 Public
Eeravellisaimeghana
Last edited Mar 11, 2022
Created on Mar 11, 2022

This horizontal bar chart displays the top 10 cosmetic products by revenue, with revenue values on the x-axis and product names on the y-axis. The chart uses D3 v5’s `scaleLinear` and `scaleBand` for scaling, `axisBottom` and `axisLeft` for axes, and formats tick labels with `format` to abbreviate large numbers. Data is loaded via `d3.csv` from a GitHub gist, and the SVG rendering includes custom axis label and title text.

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.

Comments

Sign in to join the discussion.

MIT Licensed