Basic piechart component, works for three options for now but needs refactoring to make it more flexible and resizeable.