Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.
/ vacunes-cat Public archive

The user can input any municipality in Catalonia and obtain the percentage of vaccinated people in that municipality both with a representative plot and a bar chart.

License

Notifications You must be signed in to change notification settings

davidmasp/vacunes-cat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💉 Vacunes Catalunya

This is a weekend project that I built to try improve my javascript and p5js skills. The ideas and tools I have used all come mostly from the coding train. YouTube channel.

(Disclaimer, this is my first "serious" javascript project so it can be improved)

The website can be accessed at david.masponte.com/vacunes-cat/. The user can input any municipality in Catalonia and obtain the percentage of vaccinated people in that municipality both with a representative plot and a bar chart. The number of male and female figures represents the number of doses given to women and men (probably not the most straight-forward design). This image is from 20th of June.

This website is only a client-side application that queries a couple of databases offered by the Generalitat de Catalunya and displays the data with interactive graphics.

The main vaccinatio API can be accessed here . It generates a json file with an element per day that contains how many first or second doses were administered for any given town.

💻 Dev notes

To test locally the changes in your browser you can run a local server with any python installation in your machine. Then go to http://localhost:8000/.

python -m http.server

💾 Data

  • Info for inhabitants of municipalities -> here.
  • API for inhabitants -> here
  • Vaccination api -> here
  • To check consistency of the data -> here

About

The user can input any municipality in Catalonia and obtain the percentage of vaccinated people in that municipality both with a representative plot and a bar chart.

Topics

Resources

License

Stars

Watchers

Forks