Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-6 Nithish Kumar

Public visualization

ICE-6 Nithish Kumar

0 stars0🌍 Public
NNithish Kumar
Last edited Mar 8, 2023
Created on Mar 8, 2023
Forked from ICE-6(sai nitish)

This horizontal bar chart displays the top cosmetic products by revenue, sourced from a CSV file. The visualization uses D3 v5’s `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to map revenue values and product names, with SVG rectangles representing the bars. Axes are customized by removing domain lines and applying a tick formatter that converts large numbers to abbreviated units. The data is loaded via `d3.csv` and rendered with margins and labels for the title and x-axis.

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