Trellis Scatter Plot Showing Anscombe's Quartet
Anscombe’s Quartet
View this example in the online editor
Vega-Lite JSON Specification
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description": "Anscombe's Quartet",
"data": {"url": "data/anscombe.json"},
"mark": "circle",
"encoding": {
"column": {"field": "Series"},
"x": {
"field": "X",
"type": "quantitative",
"scale": {"zero": false}
},
"y": {
"field": "Y",
"type": "quantitative",
"scale": {"zero": false}
},
"opacity": {"value": 1}
}
}