worldPop | R Documentation |
World population data are used as a simple example on the polychart.js website, and so these data can be used to recreate that example using animint.
data(worldPop)
A data frame with 294 observations on the following 4 variables.
subcontinent
factor: the subcontinent name
year
integer: year of measurement
population
integer: number of people in that subcontinent during that year
type
factor with levels actual
estimate
https://github.com/Polychart/polychart2/blob/master/example/population.coffee
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.