Skip to main content
100%

ACT_TASK1

✓ Published0🌍 Public
RRevanth putta
Last edited Nov 2, 2025
Created on Nov 2, 2025

This pie chart visualizes the distribution of happiness scores across 20 countries, aggregating all remaining nations into an "Others" slice. Built with D3 v6, it uses `d3.pie` and `d3.arc` to generate the segments, `d3.scaleOrdinal` with `schemeCategory10` for coloring, and a custom legend rendering via `d3.select`. The data is loaded through `d3.csv` from a remote Happiness dataset, processed to highlight the top-scoring countries.

AI-generated description
MIT Licensed

Similar vizzes