Skip to content

Instantly share code, notes, and snippets.

@eamonnmag
Last active July 26, 2017 21:59
Show Gist options
  • Save eamonnmag/db5116226a67e3c36f49ca1e0c6d0281 to your computer and use it in GitHub Desktop.
Save eamonnmag/db5116226a67e3c36f49ca1e0c6d0281 to your computer and use it in GitHub Desktop.
{
"$schema": "https://vega.github.io/schema/vega-lite/v2.json",
"description": "",
"width": 500,
"height": 300,
"data": {
"values": [
{
"Name": "CDISC ADaM",
"Type": "Model/format",
"Status": "Ready",
"Page Views": 343,
"Recommended Journals": 0,
"Recommended Databases": 0
},
{
"Name": "MIAME",
"Type": "Reporting Guideline",
"Status": "Ready",
"Page Views": 295,
"Recommended Journals": 2,
"Recommended Databases": 4
},
{
"Name": "MIAPPE",
"Type": "Reporting Guideline",
"Status": "Ready",
"Page Views": 214,
"Recommended Journals": 0,
"Recommended Databases": 2
},
{
"Name": "MINSEQE",
"Type": "Reporting Guideline",
"Status": "Ready",
"Page Views": 210,
"Recommended Journals": 1,
"Recommended Databases": 3
},
{
"Name": "MIxS - MIGS/MIMS",
"Type": "Reporting Guideline",
"Status": "Ready",
"Page Views": 170,
"Recommended Journals": 0,
"Recommended Databases": 2
},
{
"Name": "MIxS",
"Type": "Reporting Guideline",
"Status": "Ready",
"Page Views": 158,
"Recommended Journals": 3,
"Recommended Databases": 3
},
{
"Name": "BioPAX",
"Type": "Model/format",
"Status": "Ready",
"Page Views": 142,
"Recommended Journals": 0,
"Recommended Databases": 2
},
{
"Name": "ISA-Tab",
"Type": "Model/format",
"Status": "Ready",
"Page Views": 134,
"Recommended Journals": 3,
"Recommended Databases": 8
}
]
},
"layer": [
{
"selection": {
"region": {
"type": "interval", "bind": "scales"
}
},
"mark": "point",
"encoding": {
"y": {
"field": "Recommended Databases",
"type": "quantitative"
},
"x": {
"field": "Recommended Journals",
"type": "quantitative"
},
"size": {
"field": "Page Views",
"type": "quantitative"
},
"shape": {
"field": "Type",
"type": "nominal"
},
"color": {
"field": "Status",
"type": "nominal",
"scale": {
"domain": [
"Ready",
"Development",
"Uncertain",
"Deprecated"
],
"range": [
"#1abc9c",
"#e67e22",
"#bdc3c7",
"#c0392b"
]
}
}
}
},
{
"mark": "text",
"encoding": {
"y": {
"field": "Recommended Databases",
"type": "quantitative"
},
"x": {
"field": "Recommended Journals",
"type": "quantitative"
},
"text": {"field": "Name"}
}
}
],
"config": {
"mark": {
"filled": true,
"opacity": 0.7
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment