Skip to main content
100%

Activity6_question3

✓ Published0🌍 Public
Aanushapodapati99@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024

This interactive stacked bar chart displays the medal counts for different countries, with each bar segmented by medal type (Gold, Silver, Bronze). Users can hover over the color legend to highlight the corresponding segments within the chart, dimming the others. The visualization uses D3.js to construct the chart, employingscaleOrdinal for color assignment and a custom colorLegend to manage interactive filtering. Hovering over a legend item adjusts the stroke and opacity of the matching bar segments, providing a clear and engaging way to explore the data.

AI-generated description
MIT Licensed

Similar vizzes