Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Key themes - pie chart

Public visualization

Viewing a saved revision (read-only)

1fa5ccda0f46472db4ff701af14892db

Key themes - pie chart

0 stars1🌍 Public
Kkragovic
Last edited Apr 21, 2021
Created on Apr 12, 2021

This example visualizes survey responses on key themes important to Serbian citizens, combining a donut pie chart with a color-coded legend and a supplementary data table. The pie chart aggregates responses for predefined themes like COVID-19, healthcare, and education, while grouping all remaining themes into an "Ostalo" (Other) category. Built with React and D3 v6, it uses `d3.pie()` and `d3.arc()` to generate the SVG slices, `d3.scaleOrdinal` for the color scale, and `d3.csv()` to load the dataset.

AI-generated description