Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity6_task2

Public visualization

Viewing a saved revision (read-only)

a2043438a0d94d0390959debcfa72488

Fork of Activity6_task2

0 stars0🌍 Public
Vvidiyalasahithi1999@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from 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

React Starter code.