Last active
January 15, 2016 11:14
-
-
Save timwis/51db593dc0537d1a3f05 to your computer and use it in GitHub Desktop.
Chicago crime incidents VizWit configuration
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": "Crime Incidents in Chicago", | |
"description": "This dataset reflects reported incidents of crime (with the exception of murders where data exists for each victim) that occurred in the City of Chicago from 2001 to present, minus the most recent seven days. Data is extracted from the Chicago Police Department's CLEAR (Citizen Law Enforcement Analysis and Reporting) system. In order to protect the privacy of crime victims, addresses are shown at the block level only and specific locations are not identified.", | |
"navigation": [ | |
{ | |
"label": "Download", | |
"url": "https://data.cityofchicago.org/api/views/ijzp-q8t2/rows.csv?accessType=DOWNLOAD&bom=true" | |
} | |
] | |
}, | |
"cards": [ | |
{ | |
"x": 0, | |
"y": 0, | |
"width": 6, | |
"height": 4, | |
"vizwit": { | |
"title": "Date", | |
"chartType": "datetime", | |
"provider": "socrata", | |
"domain": "data.cityofchicago.org", | |
"dataset": "6zsd-86xi", | |
"groupBy": "date_trunc_ym(date)", | |
"triggerField": "date" | |
} | |
}, | |
{ | |
"x": 6, | |
"y": 0, | |
"width": 6, | |
"height": 4, | |
"vizwit": { | |
"title": "Primary Type", | |
"chartType": "bar", | |
"provider": "socrata", | |
"domain": "data.cityofchicago.org", | |
"dataset": "6zsd-86xi", | |
"groupBy": "primary_type" | |
} | |
}, | |
{ | |
"x": 0, | |
"y": 4, | |
"width": 4, | |
"height": 4, | |
"vizwit": { | |
"title": "Arrest Made", | |
"chartType": "pie", | |
"provider": "socrata", | |
"domain": "data.cityofchicago.org", | |
"dataset": "6zsd-86xi", | |
"groupBy": "arrest" | |
} | |
}, | |
{ | |
"x": 4, | |
"y": 4, | |
"width": 4, | |
"height": 4, | |
"vizwit": { | |
"title": "District", | |
"chartType": "bar", | |
"provider": "socrata", | |
"domain": "data.cityofchicago.org", | |
"dataset": "6zsd-86xi", | |
"groupBy": "district" | |
} | |
}, | |
{ | |
"x": 8, | |
"y": 4, | |
"width": 4, | |
"height": 4, | |
"vizwit": { | |
"title": "Wards", | |
"chartType": "choropleth", | |
"provider": "socrata", | |
"domain": "data.cityofchicago.org", | |
"dataset": "6zsd-86xi", | |
"groupBy": ":@computed_region_43wa_7qmu", | |
"boundaries": "https://data.cityofchicago.org/resource/43wa-7qmu.geojson?$limit=5000", | |
"boundariesLabel": "ward", | |
"boundariesId": "_feature_id" | |
} | |
}, | |
{ | |
"x": 0, | |
"y": 8, | |
"width": 12, | |
"height": 5, | |
"vizwit": { | |
"title": "Crime Incidents", | |
"chartType": "table", | |
"provider": "socrata", | |
"domain": "data.cityofchicago.org", | |
"dataset": "6zsd-86xi", | |
"padded": true | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment