Skip to content

Instantly share code, notes, and snippets.

@dovahcrow
Created February 11, 2021 21:51
Show Gist options
  • Save dovahcrow/bc325f3bbdff1ba5d3d7875e6a90849a to your computer and use it in GitHub Desktop.
Save dovahcrow/bc325f3bbdff1ba5d3d7875e6a90849a to your computer and use it in GitHub Desktop.
Vega-Lite spec from Thu Feb 11 2021
{
"config": {"view": {"continuousWidth": 400, "continuousHeight": 300}},
"layer": [
{
"mark": "bar",
"encoding": {
"color": {
"type": "nominal",
"field": "System",
"legend": null,
"scale": {"range": ["#bdb8ad", "#ece7e0", "#c6d4e1", "#44749d"]}
},
"x": {
"type": "quantitative",
"aggregate": "mean",
"field": "Time (seconds)",
"title": "Time (Seconds)"
},
"y": {
"type": "nominal",
"field": "System",
"sort": "x",
"title": "Engine"
}
}
},
{
"mark": "errorbar",
"encoding": {
"x": {
"type": "quantitative",
"aggregate": "mean",
"field": "Time (seconds)",
"title": "Time (Seconds)"
},
"y": {
"type": "nominal",
"field": "System",
"sort": "x",
"title": "Engine"
}
}
}
],
"data": {"name": "data-9bb42abb7eddc08eba9b62c9d38bdfd5"},
"$schema": "https://vega.github.io/schema/vega-lite/v4.8.1.json",
"datasets": {
"data-9bb42abb7eddc08eba9b62c9d38bdfd5": [
{"System": "Dask", "Run": 1, "Time (seconds)": 2.125967503},
{"System": "Dask", "Run": 2, "Time (seconds)": 1.968527079},
{"System": "Dask", "Run": 3, "Time (seconds)": 2.210969925},
{"System": "Dask", "Run": 4, "Time (seconds)": 1.9083092209999999},
{"System": "Dask", "Run": 5, "Time (seconds)": 1.9813377859999999},
{"System": "Dask", "Run": 6, "Time (seconds)": 2.127665758},
{"System": "Dask", "Run": 7, "Time (seconds)": 1.9952805040000001},
{"System": "Dask", "Run": 8, "Time (seconds)": 2.071046829},
{"System": "Dask", "Run": 9, "Time (seconds)": 2.121719122},
{"System": "Dask", "Run": 10, "Time (seconds)": 2.141905546},
{"System": "Modin", "Run": 1, "Time (seconds)": 5.786715031},
{"System": "Modin", "Run": 2, "Time (seconds)": 3.4684350489999995},
{"System": "Modin", "Run": 3, "Time (seconds)": 3.128397942},
{"System": "Modin", "Run": 4, "Time (seconds)": 2.91259551},
{"System": "Modin", "Run": 5, "Time (seconds)": 2.988200426},
{"System": "Modin", "Run": 6, "Time (seconds)": 2.664642096},
{"System": "Modin", "Run": 7, "Time (seconds)": 3.0466814039999996},
{"System": "Modin", "Run": 8, "Time (seconds)": 2.6296708580000003},
{"System": "Modin", "Run": 9, "Time (seconds)": 2.677376509},
{"System": "Modin", "Run": 10, "Time (seconds)": 3.115434885},
{"System": "Koalas", "Run": 1, "Time (seconds)": 32.05334973},
{"System": "Koalas", "Run": 2, "Time (seconds)": 32.04220057},
{"System": "Koalas", "Run": 3, "Time (seconds)": 34.04114485},
{"System": "Koalas", "Run": 4, "Time (seconds)": 36.02784991},
{"System": "Koalas", "Run": 5, "Time (seconds)": 34.29327464},
{"System": "Koalas", "Run": 6, "Time (seconds)": 35.90887356},
{"System": "Koalas", "Run": 7, "Time (seconds)": 31.06091905},
{"System": "Koalas", "Run": 8, "Time (seconds)": 31.21308708},
{"System": "Koalas", "Run": 9, "Time (seconds)": 30.92295527},
{"System": "Koalas", "Run": 10, "Time (seconds)": 30.97689056},
{"System": "PySpark", "Run": 1, "Time (seconds)": 52.9830122},
{"System": "PySpark", "Run": 2, "Time (seconds)": 53.09127188},
{"System": "PySpark", "Run": 3, "Time (seconds)": 52.21026897},
{"System": "PySpark", "Run": 4, "Time (seconds)": 53.02848554},
{"System": "PySpark", "Run": 5, "Time (seconds)": 52.27600598},
{"System": "PySpark", "Run": 6, "Time (seconds)": 51.27643704},
{"System": "PySpark", "Run": 7, "Time (seconds)": 51.74940181},
{"System": "PySpark", "Run": 8, "Time (seconds)": 52.79805875},
{"System": "PySpark", "Run": 9, "Time (seconds)": 51.54603815},
{"System": "PySpark", "Run": 10, "Time (seconds)": 52.20291948}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment