Skip to content

Instantly share code, notes, and snippets.

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