How to transition/animate between multiple charts using HTML buttons and D3.js?

The head section of the HTML file will have two tags–title of the HTML page and the link to link to the twitter bootstrap. We will make use of the bootstrap to make nice toggle buttons to transition between the charts.