Code to generate the charts

Project 1 Assignment