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/v3.json",
"description": "Anscombe's Quartet",
"data": {"url": "data/anscombe.json"},
"mark": "circle",
"encoding": {
"column": {"field": "Series", "type": "nominal"},
"x": {
"field": "X",
"type": "quantitative",
"scale": {"zero": false}
},
"y": {
"field": "Y",
"type": "quantitative",
"scale": {"zero": false}
},
"opacity": {"value": 1}
}
}