Whenever the user mouseovers a slice of the pie chart, it should:
- show a white dot in the centre (inside) the arc of the pie slice
- show the custom tooltip to either the left or right of the white dot, depending on which size the slice is on
Eventually, I will replace parts with PHP passing values from a database into the Javascript. I will probably move the tooltip HTML into the main HTML body and use jQuery to show and hide the tooltip.
This is my code so far:
https://jsfiddle.net/elwyn5150/4a26hskq/4/