🌍 Public
Viewing a saved revision (read-only)
8840e9b7bc82460e8088dd8e7f83611c
Assignment 2_Task 1 (Bar chart)
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