// The HTML twin of the spec export: the same Vega-Lite v6 specification
// `format_vega_lite` emits, embedded in a standalone HTML document that
// renders it. The document loads the Vega runtime — three scripts pinned
// to vega@6.4.0 / vega-lite@6.5.0 / vega-embed@7.3.0, the pairing the
// official embedding guide states for Vega-Lite 6
// (), with vega-lite
// held at the mirrored schema's own version — from a public CDN, so
// opening the file needs network access; the specification and its
// inlined data travel inside the document itself. The browser renders
// the interactive chart and shows vega-embed's default action links:
// image export (SVG / PNG), the spec source, and the online editor.
// Rendering stays in the browser because that is where the Vega-Lite
// runtime lives — this adds no dependency and no backend constraint,
// remaining a pure emitter.
//
// The specification is embedded as a JavaScript expression inside a
// `` inside a string cell), so
// every literal `<` is rewritten to its JSON escape `\u003c` before
// embedding: the same JSON value, with no `<` character left in the
// block. The two line-separator code points (U+2028 / U+2029), valid in
// JSON strings but not in JavaScript string literals before ES2019, are
// rewritten the same way.

///|
/// Render `df` and `chart` as a standalone HTML document that displays
/// the chart: the specification `format_vega_lite` emits, embedded as a
/// JavaScript expression, plus the three pinned runtime scripts
/// (vega@6.4.0, vega-lite@6.5.0 — the mirrored schema's own version —
/// and vega-embed@7.3.0, loaded from a public CDN). Opening the file in
/// a browser renders the interactive chart; vega-embed's default action
/// links offer SVG / PNG export, the spec source, and the online
/// editor. The spec and its inlined data travel inside the document, so
/// the file is self-contained apart from the CDN scripts — viewing
/// needs network access.
///
/// Each field channel names a column of `df`, resolved in the fixed
/// order the `ChartSpec` doc states, and the first name absent from the
/// frame raises `ColumnNotFound(name)`. This is not **total**, for the
/// same full set of reasons `format_vega_lite`'s doc enumerates — the
/// `ColumnNotFound` family (a channel column, a facet channel's column,
/// a repeat field-list name) and the `InvalidOperation` family (a
/// constant a position or offset channel's value definition refuses, a
/// channel carrying both a `field` and a repeat reference, a facet sort
/// keyed on another channel, a composition child of an illegal shape
/// for its host, and a composition with nothing to compose); the spec
/// emission underneath is the shared one. Before embedding, every
/// literal `<` in the emitted JSON
/// is rewritten to its `\u003c` JSON escape, and the U+2028 / U+2029
/// line separators likewise, so chart data cannot close the host
/// `\n" +
  "\n" +
  "\n" +
  "\n\n
\n" + "\n" + "\n\n" }