Skip to content

Instantly share code, notes, and snippets.

@timwis
Last active September 30, 2015 01:14
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 timwis/4013697457bade35e77a to your computer and use it in GitHub Desktop.
Save timwis/4013697457bade35e77a to your computer and use it in GitHub Desktop.
Massachusetts Service Requests VizWit config
{
"version": "1",
"header": {
"title": "Improve Detroit: Submitted Issues",
"description": "This data set reflects parking violations reported by authorized agencies in Philadelphia. The data represented below is a sample of parking violations occurring between 2012-2015 with license plate numbers anonymized for privacy.",
"navigation": [
{
"label": "Download",
"url": "https://data.phila.gov/api/views/3bxz-a5sb/rows.csv?accessType=DOWNLOAD&bom=true"
}
]
},
"cards": [
[
{
"title": "Issue Date & Time",
"chartType": "datetime",
"domain": "data.mass.gov",
"dataset": "cs6r-86aw",
"groupBy": "date_trunc_ym(ticket_created_date_time)",
"triggerField": "ticket_created_date_time"
}
],
[
{
"title": "Issue Type",
"chartType": "bar",
"domain": "data.mass.gov",
"dataset": "cs6r-86aw",
"groupBy": "issue_type"
}
],
[
{
"title": "Ticket Status",
"chartType": "pie",
"domain": "data.mass.gov",
"dataset": "cs6r-86aw",
"groupBy": "ticket_status"
},
{
"title": "Counties",
"chartType": "choropleth",
"domain": "data.mass.gov",
"dataset": "cs6r-86aw",
"groupBy": ":@computed_region_kq4j_wjar",
"boundaries": "https://data.mass.gov/resource/kq4j-wjar.geojson?$limit=5000",
"boundariesLabel": "name",
"boundariesId": "_feature_id"
}
],
[
{
"title": "Submitted Issues",
"chartType": "table",
"domain": "data.mass.gov",
"dataset": "cs6r-86aw",
"padded": true
}
]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment