initial work on pie chart