Skip to content

Instantly share code, notes, and snippets.

@geoHeil
Created December 11, 2018 07:26
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 geoHeil/fa5898318822829efc144501e49ab163 to your computer and use it in GitHub Desktop.
Save geoHeil/fa5898318822829efc144501e49ab163 to your computer and use it in GitHub Desktop.
kepler.gl earthquakes example data earthquakes
{
"version": "v1",
"config": {
"visState": {
"filters": [
{
"dataId": "earthquakes",
"id": "vo18yorx",
"name": "DateTime",
"type": "timeRange",
"value": [
663046722470,
1301519405470
],
"enlarged": true,
"plotType": "histogram",
"yAxis": null
}
],
"layers": [
{
"id": "hty62yd",
"type": "point",
"config": {
"dataId": "earthquakes",
"label": "Point",
"color": [
23,
184,
190
],
"columns": {
"lat": "Latitude",
"lng": "Longitude",
"altitude": null
},
"isVisible": true,
"visConfig": {
"radius": 10,
"fixedRadius": false,
"opacity": 0.39,
"outline": false,
"thickness": 2,
"colorRange": {
"name": "ColorBrewer PRGn-6",
"type": "diverging",
"category": "ColorBrewer",
"colors": [
"#762a83",
"#af8dc3",
"#e7d4e8",
"#d9f0d3",
"#7fbf7b",
"#1b7837"
],
"reversed": false
},
"radiusRange": [
4.2,
96.2
],
"hi-precision": false
},
"textLabel": {
"field": null,
"color": [
255,
255,
255
],
"size": 50,
"offset": [
0,
0
],
"anchor": "middle"
}
},
"visualChannels": {
"colorField": {
"name": "Magnitude",
"type": "real"
},
"colorScale": "quantize",
"sizeField": {
"name": "Magnitude",
"type": "real"
},
"sizeScale": "sqrt"
}
}
],
"interactionConfig": {
"tooltip": {
"fieldsToShow": {
"earthquakes": [
"DateTime",
"Latitude",
"Longitude",
"Depth",
"Magnitude"
]
},
"enabled": true
},
"brush": {
"size": 0.5,
"enabled": false
}
},
"layerBlending": "normal",
"splitMaps": []
},
"mapState": {
"bearing": 0,
"dragRotate": false,
"latitude": 37.05881309947238,
"longitude": -122.80009283836715,
"pitch": 0,
"zoom": 5.740491857794806,
"isSplit": false
},
"mapStyle": {
"styleType": "light",
"topLayerGroups": {},
"visibleLayerGroups": {
"border": false,
"building": true,
"label": true,
"land": true,
"road": true,
"water": true
},
"buildingLayer": {
"color": [
237,
237,
237
],
"isVisible": false,
"opacity": 0.7
},
"mapStyles": {}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment