Skip to content

Instantly share code, notes, and snippets.

@dbouwman
Created January 5, 2016 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbouwman/0ebbb903c8b5a9a49713 to your computer and use it in GitHub Desktop.
Save dbouwman/0ebbb903c8b5a9a49713 to your computer and use it in GitHub Desktop.
Hacking with VizWit
{
"version": "2",
"header": {
"title": "VizWit",
"description": "Lorem ipsum dolor sit amet"
},
"cards": [
{
"x": 0,
"y": 0,
"width": 3,
"height": 13,
"vizwit": {
"chartType": "table",
"title": "Business Licenses",
"description": "Bad Things that happen in the DCz",
"domain": "data.cityofchicago.org",
"dataset": "xqx5-8hwx"
}
},
{
"x": 6,
"y": 0,
"width": 3,
"height": 2,
"vizwit": {
"chartType": "callout",
"title": "New Licenses",
"domain": "data.cityofchicago.org",
"dataset": "xqx5-8hwx",
"groupBy": "date_trunc_y(date_issued)",
"valueFormat": "0,0",
"labelFormat": "[Calendar year] YYYY",
"order": "label desc",
"limit": "1"
}
},
{
"x": 3,
"y": 2,
"width": 6,
"height": 7,
"vizwit": {
"chartType": "bar",
"title": "License Type",
"domain": "data.cityofchicago.org",
"dataset": "xqx5-8hwx",
"groupBy": "license_description"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment