Created
August 1, 2017 07:07
-
-
Save eamonnmag/db297cde2e2c26908c9a435002af98e0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v2.json", | |
"data": { | |
"values": [ | |
{ | |
"name": "GO", | |
"type": "Terminology artifacts", | |
"size": 140, | |
"index": 9, | |
"total": 343 | |
}, | |
{ | |
"name": "ChEBI", | |
"type": "Terminology artifacts", | |
"size": 28, | |
"index": 10, | |
"total": 343 | |
}, | |
{ | |
"name": "NCBI Taxonomy", | |
"type": "Terminology artifacts", | |
"size": 21, | |
"index": 11, | |
"total": 343 | |
} | |
] | |
}, | |
"mark": "bar", | |
"encoding": { | |
"y": { | |
"field": "size", | |
"type": "quantitative", | |
"axis": { | |
"title": "# Times Implemented" | |
} | |
}, | |
"x": { | |
"field": "name", | |
"type": "nominal", | |
"axis": { | |
"title": "Terminology Artifacts" | |
}, | |
"sort": { | |
"field": "type", | |
"order": "ascending" | |
} | |
}, | |
"color": { | |
"field": "type", | |
"type": "nominal", | |
"scale": { | |
"range": [ | |
"#34495E" | |
] | |
} | |
} | |
}, | |
"config": { | |
"facet": { | |
"cell": { | |
"strokeWidth": 0 | |
} | |
}, | |
"axis": { | |
"domainWidth": 1 | |
} | |
}, | |
"width": 200, | |
"height": 150 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment