added pie chart visualisation