Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 2_Task 1 (Bar chart)

Public visualization

Viewing a saved revision (read-only)

8840e9b7bc82460e8088dd8e7f83611c

Assignment 2_Task 1 (Bar chart)

0 stars0🌍 Public
KKeerthiAnnem
Last edited Jul 21, 2023
Created on Jul 16, 2023

This horizontal bar chart displays the cosmetic industry revenue across ten countries, with the United States leading in spending on beauty products and Russia trailing. The bars are sorted in descending order, with each bar’s length proportional to the spending value. The chart is rendered as an SVG using D3 v7, employing `scaleLinear` for the x-axis and `scaleBand` for the y-axis. Data is loaded from a CSV file, and axes are generated with `axisBottom` and `axisLeft`.

AI-generated description