Skip to main content
Open a Vega or Vega-Lite spec to see the chart, edit its JSON with a live preview, and export it as an image. Qualia renders files ending in .vg.json, .vl.json, .vg, or .vl.

Switch view modes

Use the toolbar toggle to show the chart (Preview), the JSON beside the chart (Split), or the JSON alone (Source). Save with Cmd+S (Mac) or Ctrl+S (Windows/Linux). To make a chart resize with the pane, set "width": "container" or "height": "container" in its spec.

Edit with a live preview

In Split view, the chart redraws as you edit. If the JSON is invalid, the last valid chart stays on screen with the error beneath it. Tooltips, selections, and other signals defined in the spec work in the preview.

Load data files

A spec can load data by URL. A relative URL, such as "data": {"url": "data.csv"}, points to a file in the chart file’s own folder. Keep a spec and its data files together so the chart still loads after you move the folder.

Export a chart

Choose Export in the toolbar, then Export as PNG or Export as SVG. If an agent edits the spec while you have unsaved edits, Qualia warns you and offers to reload. To have an agent build a chart from your data, ask in chat. To find text inside a spec, see Search.