Add svg style
Add d3
Gut old half-finished chart code, use d3 instead