title: Choosing graph types from dropdown
body: <p>Say I have certain data. My requirement is that, I should be able to select the type of graphs I want. For example, if I have an array of 1s and 0s, I want to be able to select whether I the no. of 1s and 0s are displayed as a bar graph, or as a percentage in a pie chart. Is there some library that has this capability? If not, is there some way I can go about doing this?</p>