new structure with data binding magic and a bar chart as a sample
comment
Adding pie chart d3 code, cleaning up data structure
Adding label to scopes
Styling text within SVG
Styling outer inner radiii
Adding height attribute to pie
Adding classes to slices to style with css, removing js colours
Adding colours to risk css
Linking risk percentage
Pie chart has data
Removing unnecessary pie chart data
Removing font definition
Using better width proportion
Removing unnecessary function
Removing data tag
Adding risk key
Styling pie and making sizing more logical
Adding vertical space to pie
Calling sort on data to ensure pie is on correct side