added getData function to sunburst chart