Last active
November 7, 2016 16:11
-
-
Save jsanch/07bf5d623c58c882a030b062b0484719 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
{ | |
"version": "2", | |
"header": { | |
"title": "M/WBE Spending Across the years", | |
"description": "", | |
"navigation": [ | |
{ | |
"label": "Download", | |
"url": "https://comptroller-nyc.demo.socrata.com/api/views/addi-hm63/rows.csv?accessType=DOWNLOAD" | |
} | |
] | |
}, | |
"cards": [ | |
{ | |
"x": 0, | |
"y": 0, | |
"width": 6, | |
"height": 6, | |
"vizwit": { | |
"title": "M/WBEs per ZIP Code", | |
"chartType": "choropleth", | |
"provider": "socrata", | |
"domain": "comptroller-nyc.demo.socrata.com", | |
"dataset": "9c93-hrd6", | |
"groupBy": ":@computed_region_ij2c_35vi", | |
"boundaries": "https://comptroller-nyc.demo.socrata.com/resource/ij2c-35vi.geojson", | |
"boundariesLabel": "zipcode", | |
"boundariesId": "_feature_id" | |
} | |
}, | |
{ | |
"x": 6, | |
"y": 0, | |
"width": 6, | |
"height": 6, | |
"vizwit": { | |
"title": "Spending per year", | |
"chartType": "bar", | |
"provider": "socrata", | |
"domain": "comptroller-nyc.demo.socrata.com", | |
"dataset": "9c93-hrd6", | |
"groupBy": "fy_year_of_spending", | |
"aggregateFunction": "sum", | |
"aggregateField": "spending_amount", | |
"baseFilters":[ | |
{ | |
"field": "fy_year_of_spending", | |
"expression": { | |
"type": "in", | |
"value": [ | |
"2010", | |
"2011", | |
"2012", | |
"2013", | |
"2014", | |
"2015", | |
"2016" | |
] | |
} | |
} | |
] | |
} | |
}, | |
{ | |
"x": 0, | |
"y": 6, | |
"width": 12, | |
"height": 3, | |
"vizwit": { | |
"title": "M/WBE Vendors", | |
"chartType": "table", | |
"provider": "socrata", | |
"domain": "comptroller-nyc.demo.socrata.com", | |
"dataset": "9c93-hrd6", | |
"padded": true | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment