{
    "basis": {
        "type": "chart"
    },
    "data": {
        "type": "json-array",
        "values": [
            { "category": 1, "value": 4 },
            { "category": 2, "value": 6 },
            { "category": 3, "value": 10 },
            { "category": 4, "value": 3 },
            { "category": 5, "value": 7 },
            { "category": 6, "value": 8 }
        ]
    },
    "layer": [
        {
            "mark": "arc",
            "encoding": {
                "theta": { "field": "value", "type": "quantitative" },
                "color": { "field": "category", "type": "nominal", "scale": { "range": ["#5c0011", "#874d00", "#ffec3d", "#7cb305", "#08979c", "#003a8c"] } }
            }
        }
    ]
}
