{
    "hconcat": [
        {
            "height": 200,
            "mark": {
                "size": 100,
                "type": "point"
            },
            "width": 200,
            "title": "Car Scatter",
            "encoding": {
                "color": {
                    "field": "Cylinders",
                    "type": "ordinal"
                },
                "shape": {
                    "field": "Origin",
                    "type": "nominal"
                },
                "x": {
                    "field": "Horsepower",
                    "type": "quantitative"
                },
                "y": {
                    "field": "Miles_per_Gallon",
                    "type": "quantitative"
                }
            }
        },
        {
            "height": 200,
            "mark": "bar",
            "width": 200,
            "title": "Car Histogram",
            "encoding": {
                "color": {
                    "field": "Origin",
                    "type": "nominal"
                },
                "x": {
                    "field": "Horsepower",
                    "type": "quantitative"
                },
                "y": {
                    "aggregate": "count",
                    "type": "quantitative"
                }
            }
        },
        {
            "height": 200,
            "mark": "area",
            "width": 200,
            "title": "Car Streamgraph",
            "encoding": {
                "color": {
                    "field": "Origin",
                    "type": "nominal"
                },
                "x": {
                    "field": "Year",
                    "timeUnit": "year",
                    "type": "temporal"
                },
                "y": {
                    "aggregate": "count",
                    "type": "quantitative",
                    "axis": null,
                    "stack": "center"
                }
            }
        }
    ],
    "config": {},
    "data": {
        "url": "https://vega.github.io/vega-lite/data/cars.json"
    },
    "resolve": {
        "scale": {
            "color": "independent",
            "shape": "independent"
        }
    },
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json"
}