{
const result = html`<div id="vis" width=400 height=400></div>`
vlEmbed("#vis", {
mode: "vega-lite",
spec: {
data: { values: anscombesQuartet },
mark: "point",
"params": [{
"name": "brush",
"select": "interval",
"value": {"x1": [4, 10], "y1": [4, 8]}
}],
encoding: {
x: { field: "x1", type: "quantitative" },
y: { field: "y1", type: "quantitative" }
}
}
});
return result;
}