Skip to content

Instantly share code, notes, and snippets.

@meiqimichelle
Last active May 8, 2025 05:22
Show Gist options
  • Save meiqimichelle/77ef67313c85a1f0191e08334f31cf22 to your computer and use it in GitHub Desktop.
Save meiqimichelle/77ef67313c85a1f0191e08334f31cf22 to your computer and use it in GitHub Desktop.
Classic statistics visualization example dataset, Anscombe's Quartet, as a json array.
{
"dataset_1": {
"x": [10, 8, 13, 9, 11, 14, 6, 4, 12, 7, 5],
"y": [8.04, 6.95, 7.58, 8.81, 8.33, 9.96, 7.24, 4.26, 10.84, 4.82, 5.68]
},
"dataset_2": {
"x": [10, 8, 13, 9, 11, 14, 6, 4, 12, 7, 5],
"y": [9.14, 8.14, 8.74, 8.77, 9.26, 8.10, 6.13, 3.10, 9.13, 7.26, 4.74]
},
"dataset_3": {
"x": [10, 8, 13, 9, 11, 14, 6, 4, 12, 7, 5],
"y": [7.46, 6.77, 12.74, 7.11, 7.81, 8.84, 6.08, 5.39, 8.15, 6.42, 5.73]
},
"dataset_4": {
"x": [8, 8, 8, 8, 8, 8, 8, 19, 8, 8, 8],
"y": [6.58, 5.76, 7.71, 8.84, 8.47, 7.04, 5.25, 12.50, 5.56, 7.91, 6.89]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment