Finished language pie chart view :) corrected codes funcitons