This is a short demo on how to customize the popup on hover in DataMaps
using rMaps
(v > 0.1.1)
Let us start by creating a simple choropleth map of crime rates
library(rMaps)
crime2010 = subset(violent_crime, Year == 2010)
choro = ichoropleth(Crime ~ State, data = crime2010)