🌍 Public
Viewing a saved revision (read-only)
464057854653403aa6f31daafe519a10
Fork of Activity6_task2
This stacked bar chart displays the GDP growth rates for six countries across five rate categories, from below 6.0 to above 10.5. It uses d3.stack to create the stacked series and d3.scaleOrdinal for color encoding. The d3.axisBottom and d3.axisLeft render the scales, while mouse events update a tooltip showing the exact percentage for each segment.
AI-generated description