Module

x/vega_lite/examples/specs/selection_resolution_global.vl.json

A concise grammar of interactive graphics, built on Vega.
Latest
File
{ "$schema": "https://vega.github.io/schema/vega-lite/v4.json", "data": {"url": "data/cars.json"}, "repeat": { "row": ["Horsepower", "Acceleration", "Miles_per_Gallon"], "column": ["Miles_per_Gallon", "Acceleration", "Horsepower"] }, "spec": { "selection": { "brush": {"type": "interval", "resolve": "global"} }, "mark": "point", "encoding": { "x": {"field": {"repeat": "column"}, "type": "quantitative"}, "y": {"field": {"repeat": "row"}, "type": "quantitative"}, "color": { "condition": { "selection": "brush", "field": "Origin", "type": "nominal" }, "value": "grey" } } }}