🌍 Public
Viewing a saved revision (read-only)
fa59613e6a024910b071cb6b8f62e3f1
WorldHappiness Report2022
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 descriptionThe (https://www.kaggle.com/datasets/ajaypalsinghlo/world-happiness-report-2022?select=World+Happiness+Report+2022.csv)), loaded and parsed as CSV.