packages feed

hvega-0.5.0.0: tests/specs/color/interp7.vl

{
    "transform": [
        {
            "as": "accelerationZScore",
            "calculate": "(datum.Acceleration - 15.52)/2.80"
        }
    ],
    "mark": "circle",
    "data": {
        "url": "https://vega.github.io/vega-lite/data/cars.json"
    },
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "encoding": {
        "color": {
            "field": "Acceleration",
            "scale": {
                "range": [
                    "yellow",
                    "red"
                ],
                "interpolate": {
                    "gamma": 1,
                    "type": "cubehelix-long"
                },
                "type": "linear"
            },
            "type": "quantitative"
        },
        "size": {
            "value": 60
        },
        "opacity": {
            "value": 1
        },
        "x": {
            "field": "Horsepower",
            "type": "quantitative"
        },
        "y": {
            "field": "Miles_per_Gallon",
            "type": "quantitative"
        }
    },
    "description": "cube-helix-long interpolation."
}