Mapping Power Outages in Maine Dynamically with Shiny/R
I decided to forego the D3 map mentioned in the previous post in favor of a Shiny one since I had 90% of the mapping code written.
I binned the ranges into three groups, changed the color over to something more pleasant (with
RColorBrewer), added an interactive table for the counties with outage and have the elements updating every minute.
You can see the Live Outage Map over at it’s live Shiny server. Source is below or over at github if you’ve got blockers enabled.
To leave a comment
for the author, please follow the link and comment on his blog: rud.is » R
offers daily e-mail updates
news and tutorials
on topics such as: visualization (ggplot2
), programming (RStudio
, Web Scraping
) statistics (regression
, time series
) and more...
If you got this far, why not subscribe for updates
from the site? Choose your flavor: e-mail
, or facebook