Created
August 1, 2017 07:04
-
-
Save eamonnmag/1ec55915a81ebae81f669da54ebec78a 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": "MIRIAM", | |
"type": "Reporting guidelines", | |
"size": 5, | |
"index": 3, | |
"total": 116, | |
"percentage": 0.04 | |
}, | |
{ | |
"name": "MIAME/Env", | |
"type": "Reporting guidelines", | |
"size": 4, | |
"index": 4, | |
"total": 116, | |
"percentage": 0.03 | |
}, | |
{ | |
"name": "MIAME", | |
"type": "Reporting guidelines", | |
"size": 5, | |
"index": 5, | |
"total": 116, | |
"percentage": 0.04 | |
} | |
] | |
}, | |
"mark": "bar", | |
"encoding": { | |
"y": { | |
"field": "size", | |
"type": "quantitative", | |
"axis": { | |
"title": "# Times Implemented" | |
} | |
}, | |
"x": { | |
"field": "name", | |
"type": "nominal", | |
"axis": { | |
"title": "Reporting Guideline" | |
}, | |
"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