{ "$schema": "https://vega.github.io/schema/vega-lite/v4.json", "data": { "url": "https://vega.github.io/vega-lite/data/driving.json" }, "description": "A connected scatterplot can be created by customizing line order and adding point marker in the line mark definition.", "encoding": { "order": { "field": "year" }, "x": { "field": "miles", "scale": { "zero": false }, "type": "quantitative" }, "y": { "field": "gas", "scale": { "zero": false }, "type": "quantitative" } }, "mark": { "point": true, "type": "line" } }