Skip to content

Commit

Permalink
Add digital objects per organ vega lite spec
Browse files Browse the repository at this point in the history
  • Loading branch information
bherr2 committed May 23, 2024
1 parent 0ca05ea commit 041d648
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/dashboards/data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ items:
title: HRA Growth Per Release
tooltip: I'm a tooltip
imageUrl: https://cdn.humanatlas.io/hra-dashboard-data/placeholder.svg
- type: ImageContainer
- type: VegaContainer
title: Digital Objects Per Organ
tooltip: I'm a tooltip
imageUrl: https://cdn.humanatlas.io/hra-dashboard-data/placeholder.svg
specUrl: https://cdn.humanatlas.io/hra-dashboard-data/data/digital-objects-per-organ.vl.json
- type: ImageContainer
title: HRA v2.1 has 65 organs with 1,218 AS modeled in 3D. Left female kidney has 31 AS.
tooltip: I'm a tooltip
Expand Down
19 changes: 19 additions & 0 deletions data/data/digital-objects-per-organ.vl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"data": { "url": "https://cdn.humanatlas.io/hra-dashboard-data/data/digital-objects-per-organ.csv" },
"width": "container",
"height": "container",
"mark": { "type": "point", "tooltip": true, "filled": true },
"encoding": {
"x": { "field": "organ", "type": "nominal", "title": "Organ" },
"y": { "field": "type", "type": "nominal", "title": "Digital Object (DO) Type" },
"size": {
"field": "count",
"type": "quantitative",
"title": "# DOs",
"legend": {
"symbolType": "circle"
}
}
}
}

0 comments on commit 041d648

Please sign in to comment.