Creating an interactive cholera map using plotly
The hoover feature displayed by plotly
makes this package a very attractive option when it comes to the creation of interactive maps. The previous recipe intended to show you how maps can be seem and made out from primitives like paths; now it's time to see how points can add useful information.
This particular recipe will make an interactive version of a graph made by Doctor John Snow. For those who don't know him yet, his graph showed the spatial relation between cholera deaths happening in 1854 London and water pumps; at the time, the general believe was that cholera spreads through the air. He fixed the outbreak by making the contaminated pump unavailable.
His map outlines the spatial relation between water pumps and deaths by cholera; hence, proving that cholera was spreading through water. This map made its way into the hall of fame; for some people, it is the first important application of data visualization dedicated to human health...