{% extends "base.html" %} {# A studio chart in the canvas's frame (docs/studio-plan.md S2.4): Vega-Lite (with vega-interpreter: no eval under the frame's CSP), the spec panel, and Ask about a selection. studio_chart.js draws it; the spec, themes and panel are JSON here. #} {% block title %}{{ rel }}{% endblock %} {% block head %} {% if not problems %}{% endif %} {% endblock %} {% block main %} {% if not rendering %}
{{ rel }} {% if source %}data: {{ source }}{% endif %} {% if not problems %}Brush or click to select, then ask about those rows{% endif %}
{% endif %} {% if problems %}
This chart can't be drawn: {% if text %}
{{ text }}
{% endif %}
{% else %}
{% if panel and not rendering %}
Spec
mark title {% for ch in ("x", "y", "color") %} {{ ch }} {% endfor %}

{% endif %}
{% endif %} {% endblock %}