Skip to content

Instantly share code, notes, and snippets.

@timwis
Last active October 11, 2019 16:56
Show Gist options
  • Save timwis/cbd84c256f1efe250b8e to your computer and use it in GitHub Desktop.
Save timwis/cbd84c256f1efe250b8e to your computer and use it in GitHub Desktop.
Property assessments VizWit configuration
{
"version": "2",
"header": {
"title": "OPA Property Records",
"description": "Records of buildings and parcel data from the Office of Property Assessment. All maps and charts are interactive: click on an area to filter the visualization by that dimension, and scroll down to view the filtered results as a table.",
"navigation": [
{
"label": "Download",
"url": "https://data.phila.gov/api/views/3h6i-2hfj/rows.csv?accessType=DOWNLOAD&bom=true"
}
]
},
"cards": [
{
"x": 0,
"y": 0,
"width": 6,
"height": 4,
"vizwit": {
"title": "Census Block Groups (2010)",
"chartType": "choropleth",
"provider": "socrata",
"domain": "data.phila.gov",
"dataset": "tqtk-pmbv",
"groupBy": ":@computed_region_6tz8_nbrg",
"boundaries": "https://data.phila.gov/resource/6tz8-nbrg.geojson?$limit=5000",
"boundariesLabel": "geoid10",
"boundariesId": "_feature_id"
}
},
{
"x": 6,
"y": 0,
"width": 6,
"height": 4,
"vizwit": {
"title": "Council Districts (2016)",
"chartType": "choropleth",
"provider": "socrata",
"domain": "data.phila.gov",
"dataset": "tqtk-pmbv",
"groupBy": ":@computed_region_j2cn_knjf",
"boundaries": "https://data.phila.gov/resource/j2cn-knjf.geojson?$limit=5000",
"boundariesLabel": "district",
"boundariesId": "_feature_id"
}
},
{
"x": 0,
"y": 4,
"width": 6,
"height": 4,
"vizwit": {
"title": "Zoning",
"chartType": "bar",
"provider": "socrata",
"domain": "data.phila.gov",
"dataset": "tqtk-pmbv",
"groupBy": "zoning"
}
},
{
"x": 6,
"y": 4,
"width": 6,
"height": 4,
"vizwit": {
"title": "Category Code Description",
"chartType": "pie",
"provider": "socrata",
"domain": "data.phila.gov",
"dataset": "tqtk-pmbv",
"groupBy": "category_code_description"
}
},
{
"x": 0,
"y": 8,
"width": 6,
"height": 4,
"vizwit": {
"title": "Owner 1",
"chartType": "bar",
"provider": "socrata",
"domain": "data.phila.gov",
"dataset": "tqtk-pmbv",
"groupBy": "owner_1"
}
},
{
"x": 6,
"y": 8,
"width": 6,
"height": 4,
"vizwit": {
"title": "Average Property Value",
"chartType": "bar",
"provider": "socrata",
"domain": "data.phila.gov",
"dataset": "a67f-xaf2",
"groupBy": "year",
"aggregateFunction": "avg",
"aggregateField": "market_value",
"order": "year"
}
},
{
"x": 0,
"y": 12,
"width": 12,
"height": 5,
"vizwit": {
"title": "Properties",
"chartType": "table",
"provider": "socrata",
"domain": "data.phila.gov",
"dataset": "tqtk-pmbv",
"padded": true
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment