introduced base structure for pie chart widget