Skip to main content
100%

Fork of Fork of Fork of Hello VizHub

✓ Published0🌍 Public
Llikhithamettukuru@gmail.com
Last edited Nov 4, 2024
Created on Nov 4, 2024

This example visualizes the top ten countries by their World Happiness Report scores using a pie chart. Each slice represents a country, with its size proportional to the reported happiness score, and a legend identifies the country names. The visualization is rendered on an HTML canvas element using the Chart.js library, which is loaded from a CDN. The data is defined as a static array of country and score pairs, with the chart’s colors assigned via a fixed palette of hex values.

AI-generated description
MIT Licensed

Similar vizzes