Module

x/vega_lite/examples/specs/selection_type_interval_invert.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"}, "selection": { "pts": {"type": "interval"} }, "mark": "rect", "encoding": { "y": {"field": "Origin"}, "x": {"field": "Cylinders"}, "color": { "condition": { "selection": {"not": "pts"}, "value": "grey" }, "aggregate": "count" } }}