load pie chart data on first load