pub fn render_svg(spec: &ChartSpec, width: u32, height: u32) -> StringExpand description
Render spec to an SVG string of the given dimensions. Drawing
errors fall back to a minimal SVG with the chart title so a broken
chart never fails a page render.