Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Week 2: Cost of Living by Country Dataset

Public visualization

Viewing a saved revision (read-only)

7eca3c71cffb4a9ebe3914ffc7cb4bf2

Week 2: Cost of Living by Country Dataset

0 stars1🌍 Public
JJacob Chlebowski
Last edited Sep 8, 2024
Created on Aug 30, 2024

This example displays the Cost of Living by Country dataset as a scrollable JSON text view, showing all country records with attributes like Cost of Living Index and Rent Index. The code parses string values into numbers and renders the full dataset in a <pre> element styled with a font size of 19 pixels. It uses standard browser DOM APIs, including `container.innerHTML` and `style.overflowY`, to present the raw data from the CSV file imported via an ES module.

AI-generated description

Author: Jacob Chlebowski - jachlebowski@wpi.edu

The Cost of Living by Country Dataset

Tasks: -I want to discover the "severity" of range of cost of living plus rent index -I want to compare two countries' cost of living via the "cost of living plus rent index" attribute -I want to record a rating for each country that I would live in -I want to search for a specific country by the "country" name attribute -I want to summarize all countries in the dataset via a bubble chart