Skip to main content
100%

Fork of Pie chart for report

✓ Published0🌍 Public
BbeauMarko
Last edited Mar 15, 2021
Created on Mar 8, 2021

This interactive donut chart displays the proportional sizes of five oblasts, with a legend showing each region’s percentage value. A menu allows the user to switch between plotting population, total, COVID, or other data categories, which updates the arc sizes and legend percentages accordingly. The visualization is built with React, rendering SVG paths generated by d3.pie and d3.arc, while d3.scaleOrdinal maps region names to colors. An unused helper embeds d3.interpolateRgb for a color gradient, and the menu responds to click events.

AI-generated description
MIT Licensed

Similar vizzes