packages feed

hvega-0.5.0.0: tests/specs/data/impute2.vl

{
    "transform": [
        {
            "groupby": [
                "c"
            ],
            "key": "a",
            "method": "mean",
            "frame": [
                -2,
                2
            ],
            "impute": "b"
        }
    ],
    "mark": "line",
    "data": {
        "values": [
            {
                "a": 0,
                "b": 28,
                "c": 0
            },
            {
                "a": 0,
                "b": 91,
                "c": 1
            },
            {
                "a": 1,
                "b": 43,
                "c": 0
            },
            {
                "a": 1,
                "b": 55,
                "c": 1
            },
            {
                "a": 2,
                "b": 81,
                "c": 0
            },
            {
                "a": 2,
                "b": 53,
                "c": 1
            },
            {
                "a": 3,
                "b": 19,
                "c": 0
            }
        ]
    },
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "encoding": {
        "color": {
            "field": "c",
            "type": "nominal"
        },
        "x": {
            "field": "a",
            "scale": {
                "nice": 1
            },
            "type": "quantitative"
        },
        "y": {
            "field": "b",
            "type": "quantitative"
        }
    }
}