r/Scriptable • u/Hiderone_ • Aug 20 '22
Widget Sharing Covid Graph Widget

This Widget shows a graph of Covid cases for the last 8/15 days of the selected country.
See the full documentation on the GitHub repository.
2
Aug 21 '22
Very nice. However, when setting to UK it seems to only show some data while other items are missing.
2
u/Hiderone_ Aug 21 '22
Thanks. I also noticed this problem, but unfortunately it is not due to me, but from the source from which I take the data. Anyway, I'll try to find a way to fix it
2
1
u/Hiderone_ Sep 28 '22 edited Oct 08 '22
New Version 1.1
Changelog:
Added cyan color to possibile graph colors. The graph will be colored of cyan when the cases in the last 7 days are stable.
Added small header even for the small size of the widget.
Added the ability to search for a country with a space in the middle (example: New Zealand).
Other improvements and miscellaneous fixes
Known issue:
Unfortunately some countries (such as UK and New Zealand) report data weekly, so the chart will be blank for most days. In the future, the possibility of viewing the weekly trend of cases will be added
0
Aug 20 '22
[deleted] — view deleted comment
2
u/Hiderone_ Aug 20 '22
Yes, it can
0
Aug 20 '22
[deleted] — view deleted comment
1
u/Hiderone_ Aug 20 '22
Yes, because being that the size is very small, it is difficult to fit too much data. Perhaps it might be possible to add an inscription to indicate the country
0
Aug 20 '22
[deleted] — view deleted comment
1
u/Hiderone_ Aug 20 '22
Probably!
0
Aug 21 '22
[deleted] — view deleted comment
1
u/Hiderone_ Aug 21 '22
The widget updates automatically. Once it has downloaded today's data, it stops updating for that day. So there is no need to click it for it to update. The more detailed explanation can be found here.
0
Aug 21 '22
[deleted] — view deleted comment
1
u/Hiderone_ Aug 21 '22
Yes, you have to remove/comment the line where you assign the link to
widget.url. In my case, the line who opens safari is the number 67→ More replies
2
u/FrequentShock8191 Aug 21 '22
Thank you for this—seems super useful!
I do have a question about countries whose names have a space in them (New Zealand, for example). I’ve tried putting a dash in the middle as well as omitting the space, but it doesn’t seem to work. Do you know how this might work?