Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

happiness report pie chart

Public visualization

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.

Comments

Sign in to join the discussion.

MIT Licensed