Js dynamically generates various graphics such as pie charts and histograms.