packages feed

hvega-0.12.0.7: tests/specs/gallery/bar/bar13.vl

{
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "config": {
        "view": {
            "stroke": null
        }
    },
    "data": {
        "values": [
            {
                "animal": "cattle",
                "col": 1,
                "country": "United States"
            },
            {
                "animal": "cattle",
                "col": 2,
                "country": "United States"
            },
            {
                "animal": "cattle",
                "col": 3,
                "country": "United States"
            },
            {
                "animal": "cattle",
                "col": 4,
                "country": "United States"
            },
            {
                "animal": "cattle",
                "col": 5,
                "country": "United States"
            },
            {
                "animal": "cattle",
                "col": 6,
                "country": "United States"
            },
            {
                "animal": "cattle",
                "col": 7,
                "country": "United States"
            },
            {
                "animal": "cattle",
                "col": 8,
                "country": "United States"
            },
            {
                "animal": "cattle",
                "col": 9,
                "country": "United States"
            },
            {
                "animal": "pigs",
                "col": 1,
                "country": "United States"
            },
            {
                "animal": "pigs",
                "col": 2,
                "country": "United States"
            },
            {
                "animal": "pigs",
                "col": 3,
                "country": "United States"
            },
            {
                "animal": "pigs",
                "col": 4,
                "country": "United States"
            },
            {
                "animal": "pigs",
                "col": 5,
                "country": "United States"
            },
            {
                "animal": "pigs",
                "col": 6,
                "country": "United States"
            },
            {
                "animal": "sheep",
                "col": 1,
                "country": "United States"
            },
            {
                "animal": "sheep",
                "col": 2,
                "country": "United States"
            },
            {
                "animal": "sheep",
                "col": 3,
                "country": "United States"
            },
            {
                "animal": "sheep",
                "col": 4,
                "country": "United States"
            },
            {
                "animal": "sheep",
                "col": 5,
                "country": "United States"
            },
            {
                "animal": "sheep",
                "col": 6,
                "country": "United States"
            },
            {
                "animal": "sheep",
                "col": 7,
                "country": "United States"
            },
            {
                "animal": "cattle",
                "col": 1,
                "country": "Great Britain"
            },
            {
                "animal": "cattle",
                "col": 2,
                "country": "Great Britain"
            },
            {
                "animal": "cattle",
                "col": 3,
                "country": "Great Britain"
            },
            {
                "animal": "pigs",
                "col": 1,
                "country": "Great Britain"
            },
            {
                "animal": "pigs",
                "col": 2,
                "country": "Great Britain"
            },
            {
                "animal": "sheep",
                "col": 1,
                "country": "Great Britain"
            },
            {
                "animal": "sheep",
                "col": 2,
                "country": "Great Britain"
            },
            {
                "animal": "sheep",
                "col": 3,
                "country": "Great Britain"
            },
            {
                "animal": "sheep",
                "col": 4,
                "country": "Great Britain"
            },
            {
                "animal": "sheep",
                "col": 5,
                "country": "Great Britain"
            },
            {
                "animal": "sheep",
                "col": 6,
                "country": "Great Britain"
            },
            {
                "animal": "sheep",
                "col": 7,
                "country": "Great Britain"
            },
            {
                "animal": "sheep",
                "col": 8,
                "country": "Great Britain"
            },
            {
                "animal": "sheep",
                "col": 9,
                "country": "Great Britain"
            },
            {
                "animal": "sheep",
                "col": 10,
                "country": "Great Britain"
            }
        ]
    },
    "description": "Isotype bar chart inspired by this Only An Ocean Between, 1943. Population Live Stock, p.13.",
    "encoding": {
        "color": {
            "field": "animal",
            "legend": null,
            "scale": {
                "domain": [
                    "person",
                    "cattle",
                    "pigs",
                    "sheep"
                ],
                "range": [
                    "rgb(162,160,152)",
                    "rgb(194,81,64)",
                    "rgb(93,93,93)",
                    "rgb(91,131,149)"
                ]
            },
            "type": "nominal"
        },
        "opacity": {
            "value": 1
        },
        "row": {
            "field": "country",
            "header": {
                "title": null
            },
            "type": "nominal"
        },
        "shape": {
            "field": "animal",
            "legend": null,
            "scale": {
                "domain": [
                    "person",
                    "cattle",
                    "pigs",
                    "sheep"
                ],
                "range": [
                    "circle",
                    "M4 -2c0 0 0.9 -0.7 1.1 -0.8c0.1 -0.1 -0.1 0.5 -0.3 0.7c-0.2 0.2 1.1 1.1 1.1 1.2c0 0.2 -0.2 0.8 -0.4 0.7c-0.1 0 -0.8 -0.3 -1.3 -0.2c-0.5 0.1 -1.3 1.6 -1.5 2c-0.3 0.4 -0.6 0.4 -0.6 0.4c0 0.1 0.3 1.7 0.4 1.8c0.1 0.1 -0.4 0.1 -0.5 0c0 0 -0.6 -1.9 -0.6 -1.9c-0.1 0 -0.3 -0.1 -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0.3 0.1 -0.4 0.4c0 0.3 -0.2 0.8 -0.2 0.8l-0.3 0l0.3 -1c0 0 0.1 -0.6 -0.2 -0.5c-0.3 0.1 -0.2 -0.1 -0.4 -0.1c-0.2 -0.1 -0.3 0.1 -0.4 0c-0.2 -0.1 -0.3 0.1 -0.5 0c-0.2 -0.1 -0.1 0 -0.3 0.3c-0.2 0.3 -0.4 0.3 -0.4 0.3l0.2 1.1l-0.3 0l-0.2 -1.1c0 0 -0.4 -0.6 -0.5 -0.4c-0.1 0.3 -0.1 0.4 -0.3 0.4c-0.1 -0.1 -0.2 1.1 -0.2 1.1l-0.3 0l0.2 -1.1c0 0 -0.3 -0.1 -0.3 -0.5c0 -0.3 0.1 -0.5 0.1 -0.7c0.1 -0.2 -0.1 -1 -0.2 -1.1c-0.1 -0.2 -0.2 -0.8 -0.2 -0.8c0 0 -0.1 -0.5 0.4 -0.8z"
                ]
            },
            "type": "nominal"
        },
        "size": {
            "value": 200
        },
        "x": {
            "axis": null,
            "field": "col",
            "type": "ordinal"
        },
        "y": {
            "axis": null,
            "field": "animal",
            "type": "ordinal"
        }
    },
    "height": 200,
    "mark": {
        "filled": true,
        "type": "point"
    },
    "width": 800
}