Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

happiness report pie chart

Public visualization

Viewing a saved revision (read-only)

26db415da41944e3a05b0033cc18a255

happiness report pie chart

0 stars0🌍 Public
Kkvrmedisales3@gmail.com
Last edited Nov 8, 2024
Created on Nov 8, 2024
Forked from Hello VizHub

This pie chart visualizes the aggregated Happiness Scores from the 2015 World Happiness Report, grouped by world region. It uses D3.js v6 to load CSV data, aggregate scores with `d3.rollup`, and render SVG arcs via `d3.pie` and `d3.arc`. A categorical color scale and legend distinguish regions, with labels positioned using arc centroids.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.