chart_export
Convert a Vega-Lite JSON spec to SVG, PNG, or self-contained interactive HTML. Prevents overwriting the spec file when saving output.
Instructions
Render an existing .vl.json to svg, png, or SELF-CONTAINED interactive html (vega js inlined — opens in the browser, works offline). Refuses an out_path that collides with the spec (charter).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | ||
| out_path | Yes | ||
| spec_path | Yes | ||
| image_format | No | svg |