Skip to content

Instantly share code, notes, and snippets.

@dovahcrow
Created February 10, 2021 03:53
Show Gist options
  • Save dovahcrow/33e5ffcb16227ac0d28a3b0ed827cca6 to your computer and use it in GitHub Desktop.
Save dovahcrow/33e5ffcb16227ac0d28a3b0ed827cca6 to your computer and use it in GitHub Desktop.
Vega-Lite spec from Tue Feb 09 2021
{
"config": {
"view": {"continuousWidth": 400, "continuousHeight": 300},
"axis": {"labelFontSize": 16, "titleFontSize": 12}
},
"data": {"name": "data-580d9e6c809f40ee8636229c2b8c8add"},
"mark": {"type": "bar", "size": 30},
"encoding": {
"color": {
"type": "nominal",
"field": "type",
"legend": null,
"scale": {"range": ["#ece7e0", "#44749d"]}
},
"column": {
"type": "nominal",
"field": "dataset",
"header": {"labelFontSize": 16},
"title": null
},
"row": {
"type": "nominal",
"field": "Tool",
"header": {"labelFontSize": 16},
"title": null
},
"x": {
"type": "quantitative",
"field": "value",
"title": "Relative Accuracy"
},
"y": {"type": "nominal", "field": "type", "title": ""}
},
"height": 75,
"width": 200,
"$schema": "https://vega.github.io/schema/vega-lite/v4.8.1.json",
"datasets": {
"data-580d9e6c809f40ee8636229c2b8c8add": [
{
"type": "novice",
"dataset": "DelayedFlights",
"value": 0.8494117647058823,
"Tool": "EDAx"
},
{
"type": "skilled",
"dataset": "DelayedFlights",
"value": 0.8111111111111111,
"Tool": "EDAx"
},
{
"type": "novice",
"dataset": "BirdStrike",
"value": 0.9271356783919598,
"Tool": "EDAx"
},
{
"type": "skilled",
"dataset": "BirdStrike",
"value": 0.9471264367816093,
"Tool": "EDAx"
},
{
"type": "novice",
"dataset": "DelayedFlights",
"value": 0.41470588235294115,
"Tool": "PP"
},
{
"type": "skilled",
"dataset": "DelayedFlights",
"value": 0.6352380952380953,
"Tool": "PP"
},
{
"type": "novice",
"dataset": "BirdStrike",
"value": 0.7755555555555556,
"Tool": "PP"
},
{
"type": "skilled",
"dataset": "BirdStrike",
"value": 0.8236065573770492,
"Tool": "PP"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment