Time Series Visualizer Provides Filling World Map By Country From CSV or JSON File

In this post today I am going explaining you about another GitHub repository i.e. Time Series Visualizer. This Time Series Visualizer provides a filling world map by country from CSV or JSON file.

Time series visualizer is a flexible extension that provides filling world map by country from CSV or JSON file.

You can know data value through shades of colour.

For example, in the below gif, simulate data from the countries to view the COVID-19 recover cases of the world from real data. The larger the cases are, the darker the color is-

Also, provide a simple convert script from CSV to JSON. (Required input format).

render

Quickstart:

Only support json format for the release Changes the variables in this file.

date_key = "Date column name"
country_key = "Country column name"
value_key = "Value column name"

Run command to export to JSON format:

$ python csv2json.py --csv <path-to-csv>

where:

  • <path-to-csv>: path to the input csv file.

Example CSV:

DateCountryValue
ddmmyyyyVietnamx

Download the latest build version from here.

Copy <json-file> to the visualizer data folder.

./
├─ tools/
│  ├─ input.csv     
├─ release/
│  ├─ visualizer_data/
│  │  ├─ data.json
├─ │  ...
│  ├─ visualizer.exe 

Execute visualizer.exe to render world map.

GitHub:

Default image
Lingaraj Senapati
Hey There! I am Lingaraj Senapati, the Co-founder of lingarajtechhub.com My skills are Freelance, Web Developer & Designer, Corporate Trainer, Digital Marketer & Youtuber.
Articles: 190

Newsletter Updates

Enter your email address below to subscribe to our newsletter

Leave a Reply