Created
July 22, 2019 19:30
-
-
Save starsinmypockets/594563e3936344872419da9f612185a8 to your computer and use it in GitHub Desktop.
This file contains 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
var config = { | |
widgets: [ | |
{ | |
"elementId": "testWidget", | |
"view": { | |
"title": "Economy", | |
"legend": "Recent unemployment rate", | |
"resources": [ | |
{ | |
"datasetId": "unemployment", | |
"name": "unemployment-rate", | |
"transform": [ | |
{ | |
"type": "aggregate", | |
"fields": [ | |
"date" | |
], | |
"operations": [ | |
"argmax" | |
] | |
} | |
] | |
} | |
], | |
"specType": "figure", | |
"spec": { | |
"fieldName": "unemployment_rate", | |
"suffix": "%" | |
} | |
} | |
} | |
], | |
datasets: ["https://datahub.io/london/unemployment"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment