https://sparkbox.com/foundry/how_to_code_an_SVG_pie_chart