Skip to main content
Public

Share visualization

Loading preview…

ACT_TASK1

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

ACT_TASK1

0
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

Comments

Sign in to join the discussion.

MIT Licensed