Closed Texas-Policy-Lab closed 4 years ago
Check out features/tooltip if you wanna see my progress; I first used plotly but the tooltips were ugly. I've since transitioned to ggiraph (girafe function) which seems pretty good so far. https://davidgohel.github.io/ggiraph/articles/offcran/shiny.html
The only problem I'm having is the geom_line isn't showing up.
BUG: State -Deaths plot isn't showing for some reason
Fixed bug. USA data API changed.
* Added tooltip to states * Fixed line not rendering issue
BUG: State -Deaths plot isn't showing for some reason
Looks like deaths
is filled with NA; death
has data (only after WHO declared pandemic)?
EDIT: Actually I'm not sure... What is the difference between death and deaths? in the state dataframe
Replacing deaths with death outputs this:
We want to use the deaths data, I have to delete death( I think it's from another dataset). Deaths is working for me since I updated the code. Did you pull the branch?
Cool, working for me now!
Research different ways to add a tooltip to ggplot.
I think this will probably be possible, but I haven't ever done it before!