Skip to content

Commit

Permalink
diversity => diversity-and-inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
bherr2 committed May 28, 2024
1 parent a0aeb95 commit e23faff
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ items:
- type: ImageContainer
title: Visualization 1
tooltip: Comparison of HRA, publication, and experimental to world population data
imageUrl: https://cdn.humanatlas.io/hra-dashboard-data/diversity/population-pyramids.png
imageUrl: https://cdn.humanatlas.io/hra-dashboard-data/diversity-and-inclusion/population-pyramids.png
- type: GridContainer
columns: 2
items:
- type: ImageContainer
title: Visualization 3
tooltip: Comparison of HRA, publication, and experimental to world population data
imageUrl: https://cdn.humanatlas.io/hra-dashboard-data/diversity/experts-world-map.png
imageUrl: https://cdn.humanatlas.io/hra-dashboard-data/diversity-and-inclusion/experts-world-map.png
- type: ImageContainer
title: Visualization 2
tooltip: Comparison of HRA, publication, and experimental to world population data
imageUrl: https://cdn.humanatlas.io/hra-dashboard-data/diversity/ethnic-composition.png
imageUrl: https://cdn.humanatlas.io/hra-dashboard-data/diversity-and-inclusion/ethnic-composition.png
2 changes: 1 addition & 1 deletion data/dashboards/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ items:
- title: Usage
url: https://cdn.humanatlas.io/hra-dashboard-data/dashboards/usage.yaml
- title: Diversity & Inclusion
url: https://cdn.humanatlas.io/hra-dashboard-data/dashboards/diversity.yaml
url: https://cdn.humanatlas.io/hra-dashboard-data/dashboards/diversity-and-inclusion.yaml
- title: Publications
url: https://cdn.humanatlas.io/hra-dashboard-data/dashboards/publications.yaml
- title: Experimental Data
Expand Down
42 changes: 42 additions & 0 deletions data/data/hra-growh.vl.bak.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"data": {
"url": "https://cdn.humanatlas.io/hra-dashboard-data/data/hra-growth.csv"
},
"width": "container",
"height": "container",
"transform": [
{
"window": [{ "op": "sum", "field": "count", "as": "cumulative_count" }],
"frame": [null, 0],
"groupby": ["group"],
"sort": [{ "field": "date" }]
}
],
"encoding": {
"x": { "timeUnit": "yearmonth", "field": "date", "title": "Date" },
"y": {
"field": "cumulative_count",
"type": "quantitative",
"title": "Cumulative Count",
"scale": { "type": "log" }
},
"color": { "field": "group", "type": "nominal", "title": "Measure", "legend": null }
},
"layer": [
{ "mark": { "type": "line", "point": false, "tooltip": true } },
{
"mark": {
"type": "text",
"align": "left",
"baseline": "middle",
"dx": 3
},
"encoding": {
"x": { "aggregate": "max", "field": "date", "scale": { "padding": 100 } },
"y": { "aggregate": { "argmax": "date" }, "field": "cumulative_count" },
"text": { "aggregate": { "argmax": "date" }, "field": "group" }
}
}
]
}
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit e23faff

Please sign in to comment.