A cross-platform (Android, iOS, Web) dashboard to represent the trend of the Covid-19 pandemic in Italy.
https://marinimau.github.io/covid19_dashboard/
- Show trend (with different intervals)
- Full data representation for each region
- Show notes of the last 24h
- Dark-mode based on system theme
- Full responsive webapp
- iOS and Android apps rendered with native optimizations
- Transparent text in select region picker when runned on web from iOS - it depends from library, we have found the solution but it requires to edit the library code after "npm install";
- Sometimes the line chart background is black on Safari or there isn't line shadow on Firefox
npm install -g expo-cli
if the command above generates errors try with sudo.
After installing it's common to see:
zsh: command not found: expo
when you try to run expo-cli.
To avoid this problem just launch this command:
export PATH=$PATH:~/.npm-global/bin
Simply go to the project path and write:
npm install
and after
expo start
The Metro Bundler web page should appear in seconds.
Simply click on 'run in web browser' from the Metro Boundler web page.
If you have the iOS simulator installed, just click on 'run on iOS simulator', otherwise:
-
download Expo on your mobile phone (from App Store or Play Store);
-
connect the phone to the same network of the computer where you launched the Expo;
-
Scan the QR code (using the Expo app integrated scanner on Android; for iOS use the system integrated scanner).
Source:
https://github.com/pcm-dpc/COVID-19
realtime updated.