Simple Canvas-based pie chart generator