Week 6 Workshop

Files (Right-click and Save As)

Pie Charts

Download (Right-click and Save As)

Exercise 1

Donut charts are very similar to pie charts in the way of drawing. Try to modify the code to draw a donut chart.

Exercise 2

After implementing the donut chart, add a tooltip when the mouse is moved over the chart, showing the percentage of the current portion.

Exercise 3

Add a tooltip for the multiple pie chart. The tooltip should show the details for each season when the mouse is moved over any portion in both charts.