This is a Svelte single-page application that aims to highlight incidence of violence and foreign exchange rates for countries around the world. Data is shown in both map form and tabular form.
npm and node.git clone https://github.com/aasharif/Peregrinari.app/ directory.npm install inside of the app/ directory to install dependencies. app/src/data/getData.js via node app/src/data/getData.js to download the data the app uses.app/src/data/processJSON.js via node app/src/data/processJSON.js to parse data for the app.npm run dev while in the app/ directory to start the app.Note: One can also use npm build to build the application for running in other enivronment. As anticipated, npm run dev is just to get the app up and running quickly in a browser.
The SVG world map used can be located at https://commons.wikimedia.org/wiki/File:BlankMap-World.svg. It was released into the public domain.
Data from the World Bank is licensed via Creative Commons 4.0 Attribution https://creativecommons.org/licenses/by/4.0/legalcode.txt
Data can be access via the API at https://data360.worldbank.org/en/api and by way of the https://data.worldbank.org search page.
This application is in no way endorsed or sponsored by the World Bank. Neither this application nor its author is in any way endorsed or sponsored by the World Bank.
Official exchange rate (LCU per US$, period average) International Financial Statistics database, International Monetary Fund ( IMF ): https://data.worldbank.org/indicator/PA.NUS.FCRF
Political Stability and Absence of Violence/Terrorism: Percentile Rank Worldwide Governance Indicators, World Bank ( WB ), uri: govindicators.org, note: The Worldwide Governance Indicators ( WGI ) are a product of the staff of the World Bank with external contributions.: https://data.worldbank.org/indicator/PV.PER.RNK
Data can be obtained for the application by following intstructional step number 5 and used by the application .