Skip to content

Instantly share code, notes, and snippets.

@paulo9mv
Last active June 11, 2019 16:00
Show Gist options
  • Save paulo9mv/acfff61406bb88d044546e389fdcf75e to your computer and use it in GitHub Desktop.
Save paulo9mv/acfff61406bb88d044546e389fdcf75e to your computer and use it in GitHub Desktop.
{
"version": "v1",
"config": {
"visState": {
"filters": [
{
"dataId": "ORDERS",
"id": "0dd3ceodl",
"name": "timestamp",
"type": "timeRange",
"value": [
1556733770054,
1556771381054
],
"enlarged": true,
"plotType": "histogram",
"yAxis": null
}
],
"layers": [
{
"id": "n6qaonc",
"type": "arc",
"config": {
"dataId": "ORDERS",
"label": "pickup -> dropoff arc",
"color": [
218,
0,
0,
255
],
"columns": {
"lat0": "pickup_lat",
"lng0": "pickup_lng",
"lat1": "dropoff_lat",
"lng1": "dropoff_lng"
},
"isVisible": true,
"visConfig": {
"opacity": 0.8,
"thickness": 2,
"colorRange": {
"name": "Global Warming",
"type": "sequential",
"category": "Uber",
"colors": [
"#5A1846",
"#900C3F",
"#C70039",
"#E3611C",
"#F1920E",
"#FFC300"
]
},
"sizeRange": [
0,
10
],
"targetColor": [
254,
242,
26,
255
],
"hi-precision": true
}
},
"visualChannels": {
"colorField": null,
"colorScale": "quantile",
"sizeField": null,
"sizeScale": "linear"
}
}
],
"interactionConfig": {
"tooltip": {
"fieldsToShow": {
"ORDERS": [
"Restaurant",
"timestamp",
"Hour",
"Kiwer",
"Price"
]
},
"enabled": true
},
"brush": {
"size": 0.1,
"enabled": false
}
},
"layerBlending": "normal",
"splitMaps": []
},
"mapState": {
"bearing": 24,
"dragRotate": true,
"latitude": 37.8597226317245,
"longitude": -122.27420810857342,
"pitch": 50,
"zoom": 13.453341910429291,
"isSplit": false
},
"mapStyle": {
"styleType": "dark",
"topLayerGroups": {
"label": true
},
"visibleLayerGroups": {
"label": true,
"road": true,
"border": false,
"building": false,
"water": true,
"land": false
},
"mapStyles": {}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment