first pie chart drawn for train name and count