Merged the individual visualizations of the bar and the pie chart into the main page