Finished the basic bar chart and modify the pie chart