🌍 Public
Viewing a saved revision (read-only)
81703a07c73944c083303e32c6d6baea
World Happiness Report
This example displays the raw contents of the first row from the World Happiness Report 2019 dataset, rendering it as formatted JSON text. The code loads the data via an ES module import, converts six quantitative attribute columns to numbers, and then uses `JSON.stringify` to pretty-print the row inside a `<pre>` element. It relies on standard JavaScript data parsing and DOM manipulation without any external visualization libraries.
AI-generated descriptionThe Penguins Dataset, loaded and parsed as CSV.
Fork and modify this template to import your data to VizHub and export it for use in other vizzes! To do that:
- Fork this viz
- Clear out the README
- Update the README with details about your dataset (including original source)
- Replace
data.csvwith your own data - Replace the parsing logic in
index.jswith your own - Set the custom URL so you can import from it easily
Challenge
- Find 3 datasets on a topic you are interested in
- For each of those, fork this viz and replace the data
- Parse the quantitative attributes into numbers
- Update
README.mdto indicate the original data source