data(wars)
wars.us <- wars[which(wars$SideA %in% c('United States','United States of America')),]
timeline(wars.us[,c('WarName')])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.