Am trying to create a graph of population structure by age and sex using R and googleVis. However the graph never fully loads on the browser I just get a "loading" message and no output. The command am using in RStudio is
plot(gvisMotionChart(data, idvar = "id", timevar = "ExpYear", xvar = "ExpYear", yvar = "n", colorvar = "AgeGroup",sizevar = "n"))
My data My data basically shows the number of people in a particular age bracket (AgeGroup column) in a particular year (between 2000-2014) for a particular gender and can be found here: https://github.com/kilimba/data
.
Am not sure how to go about debugging, or whether it is even a problem with the code or data. Am also new to bot R and GoogleVis so any help would be greatly appreciated.
Tumaini