Skip to main content
100%

loading_data_NH_2_gps_data

✓ Published0🌍 Public
NNavak94
Last edited Jan 24, 2023
Created on Jan 23, 2023
Forked from loading_data_NH_2

This example loads a CSV of world capitals with their GPS coordinates and displays the raw dataset as a JSON string in the browser. The visualization fetches `data.csv` using the Fetch API and parses it with `d3.csvParse`, converting latitude and longitude values to numbers. Each row is then rendered as a `pre` element using D3’s data join. The data comes from a Kaggle dataset listing capital cities by country and continent.

AI-generated description

loading_data_NH_2_gps_data

CountryName, CapitalName , CountryCode, and ContinentName are categorical data CapitalLatitude,CapitalLongitude are quantitative data

what is the average distance from capital to capital?

A list of world capitals and their corresponding GPS points from https://www.kaggle.com/datasets/nikitagrec/world-capitals-gps

MIT Licensed

Similar vizzes