vega-lite example 2

Manually supplied data values for a circle chart

{
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
        "values": [
            {"A": 10, "B": 21, "C": 2},
            {"A": 30, "B": 20, "C": 4},
            {"A": 25, "B": 15, "C": 6},
            {"A": 5, "B": 30, "C": 8}
        ]
    },
    "mark": "circle",
    "encoding": {
        "x": { "field": "A", "type": "quantitative"},
        "y": { "field": "B", "type": "quantitative"},
        "size": { "field": "C", "type": "quantitative"}
    }
}