🌍 Public
Viewing a saved revision (read-only)
cd94d9ef8dac4410be538fa9c3eee621
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.