Skip to main content
100%

Assignment 2_Task 1 (Bar chart)

✓ Published0🌍 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
MIT Licensed

Similar vizzes