packages feed

hvega-0.12.0.7: tests/specs/null/filter2.vl

{
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "config": {
        "mark": {
            "invalid": "filter"
        }
    },
    "data": {
        "url": "https://vega.github.io/vega-lite/data/movies.json"
    },
    "encoding": {
        "color": {
            "condition": {
                "test": "datum.IMDB_Rating === null || datum.Rotten_Tomatoes_Rating === null",
                "value": "#ddd"
            },
            "value": "rgb(76,120,168)"
        },
        "x": {
            "field": "IMDB_Rating",
            "type": "quantitative"
        },
        "y": {
            "field": "Rotten_Tomatoes_Rating",
            "type": "quantitative"
        }
    },
    "mark": "point",
    "transform": [
        {
            "filter": {
                "field": "IMDB_Rating",
                "valid": true
            }
        },
        {
            "filter": {
                "field": "Rotten_Tomatoes_Rating",
                "valid": true
            }
        }
    ]
}