Simplified chart rendering

Use a more lightweight SVG library to generate charts, style SVG elements using CSS.
This lets us override chart colours in CSS, which will make theming easier.