packages feed

hvega-0.4.0.0: tests/specs/gallery/interaction/interaction11d.vl

{
    "mark": "point",
    "data": {
        "url": "data/cars.json"
    },
    "$schema": "https://vega.github.io/schema/vega-lite/v3.json",
    "selection": {
        "brush": {
            "init": {
                "x": [
                    55,
                    160
                ],
                "y": [
                    13,
                    37
                ]
            },
            "type": "interval"
        }
    },
    "encoding": {
        "color": {
            "value": "grey",
            "condition": {
                "field": "Cylinders",
                "selection": "brush",
                "type": "ordinal"
            }
        },
        "x": {
            "field": "Horsepower",
            "type": "quantitative"
        },
        "y": {
            "field": "Miles_per_Gallon",
            "type": "quantitative"
        }
    },
    "description": "Drag out a rectangular brush to hughlight points."
}