Hi, I am trying to add some pie charts in a list of coordinates. 
Please find attached data I am using 
Basically I am using this commands: 
 data<-read.csv(file.choose(),header=T) coordinates(data) = ~ x + y
proj4string(data) = CRS("+proj=longlat +datum=WGS84") # colPalette defines
colors for plot mychart<-segmentGoogleMaps(data,
zcol=c('City','Village'),mapTypeId='ROADMAP',
filename='myMap4.htm',colPalette=c('#E41A1C','#377EB8'),
strokeColor='black') 

But a map with legends shows up without any points or pie chart
Attached my csv https://www.dropbox.com/s/pkvq6xz0ynwok9r/sample.csv
Regards






--
View this message in context: 
http://r.789695.n4.nabble.com/Pie-charts-using-plotGooglemaps-tp4688678.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to