Created reusable pieChart template which accepts data and settings. Added methods for generating random allocations of colours and constructing the vega spec.