Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

WorldHappiness Report2022

Public visualization

Viewing a saved revision (read-only)

fa59613e6a024910b071cb6b8f62e3f1

WorldHappiness Report2022

0 stars1🌍 Public
Ssamozarif@gmail.com
Last edited Sep 12, 2024
Created on Sep 5, 2024

This example displays the first record of the World Happiness Report 2022 dataset as formatted JSON text. The code imports the CSV data, converts all numeric fields to numbers, and renders the first data object inside a `<pre>` element using a template literal. The visualization demonstrates the structure of the dataset, including the happiness score and its contributing factors, using vanilla JavaScript and the imported data.

AI-generated description