Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
// SPDX-License-Identifier: MIT
// Copyright contributors to the kepler.gl project
export default [
{
venue_id: '7c69e9',
count: 10,
latitude: 41.852015,
longitude: -87.616047,
neighbors: [1, 2],
'source hex_id': '8a2664c1b74ffff',
'target latitude': 41.946969,
'target longitude': -87.693607,
'target hex_id': '8a2664ca51b7fff'
},
{
venue_id: 'fe26e3',
count: 22,
latitude: 41.946969,
longitude: -87.693607,
neighbors: [2, 3],
'source hex_id': '8a2664ca51b7fff',
'target latitude': 41.7552452681605,
'target longitude': -87.6322426600563,
'target hex_id': '8a2664cc3757fff'
},
{
venue_id: '5f3ec9',
count: 5,
latitude: 41.9228189446294,
longitude: -87.7459144592286,
neighbors: [3, 4],
'source hex_id': '8a2664ca22dffff',
'target latitude': 41.7552452681605,
'target longitude': -87.6322426600563,
'target hex_id': '8a2664cc3757fff'
},
{
venue_id: 'fe625f',
count: 11,
latitude: 41.9458364,
longitude: -87.7474061,
neighbors: [4, 5, 6],
'source hex_id': '8a2664ca66c7fff',
'target latitude': 41.990071,
'target longitude': -87.710537,
'target hex_id': '8a2664d8ad97fff'
},
{
venue_id: '7b1fe3',
count: 14,
latitude: 41.879519,
longitude: -87.6335512,
neighbors: [5, 6],
'source hex_id': '8a2664c1a89ffff',
'target latitude': 41.8801791917474,
'target longitude': -87.7507109194994,
'target hex_id': '8a2664c81567fff'
},
{
venue_id: 'd16c1b',
count: 8,
latitude: 41.7552452681605,
longitude: -87.6322426600563,
neighbors: [6, 7],
'source hex_id': '8a2664cc3757fff',
'target latitude': 41.9760432,
'target longitude': -87.7082406,
'target hex_id': '8a2664d8a71ffff'
},
{
venue_id: '5f3be3',
count: 6,
latitude: 41.990071,
longitude: -87.710537,
neighbors: [7, 8],
'source hex_id': '8a2664d8ad97fff',
'target latitude': 41.7552452681605,
'target longitude': -87.6322426600563,
'target hex_id': '8a2664cc3757fff'
},
{
venue_id: 'eeea20',
count: 5,
latitude: 41.8801791917474,
longitude: -87.7507109194994,
neighbors: [8, 9],
'source hex_id': '8a2664c81567fff',
'target latitude': 41.7753234651629,
'target longitude': -87.6832077690278,
'target hex_id': '8a2664cd1197fff'
},
{
venue_id: '352fe3',
count: 10,
latitude: 41.9760432,
longitude: -87.7082406,
neighbors: [9, 10],
'source hex_id': '8a2664d8a71ffff',
'target latitude': 41.8667365110101,
'target longitude': -87.7061694860458,
'target hex_id': '8a2664cab41ffff'
},
{
venue_id: 'd16c1b',
count: 9,
latitude: 41.7552452681605,
longitude: -87.6322426600563,
neighbors: [10, 11],
'source hex_id': '8a2664cc3757fff',
'target latitude': 41.9458364,
'target longitude': -87.7474061,
'target hex_id': '8a2664ca66c7fff'
},
{
venue_id: '059ad8',
count: 6,
latitude: 41.7753234651629,
longitude: -87.6832077690278,
neighbors: [11, 12],
'source hex_id': '8a2664cd1197fff',
'target latitude': 41.9307572879845,
'target longitude': -87.6434218883514,
'target hex_id': '8a2664c1009ffff'
},
{
venue_id: '80172c',
count: 5,
latitude: 41.8667365110101,
longitude: -87.7061694860458,
neighbors: [12, 13],
'source hex_id': '8a2664cab41ffff',
'target latitude': 41.852015,
'target longitude': -87.616047,
'target hex_id': '8a2664c1b74ffff'
},
{
venue_id: 'fe625f',
count: 14,
latitude: 41.9458364,
longitude: -87.7474061,
neighbors: [13, 14],
'source hex_id': '8a2664ca66c7fff',
'target latitude': 41.946969,
'target longitude': -87.693607,
'target hex_id': '8a2664ca51b7fff'
},
{
venue_id: 'e41fe3',
count: 22,
latitude: 41.9307572879845,
longitude: -87.6434218883514,
neighbors: [14, 15],
'source hex_id': '8a2664c1009ffff',
'target latitude': 41.9228189446294,
'target longitude': -87.7459144592286,
'target hex_id': '8a2664ca22dffff'
},
{
venue_id: 'e12ee3',
count: 7,
latitude: 41.99558699394,
longitude: -87.6599389314652,
neighbors: [15, 16],
'source hex_id': '8a2664d8c2f7fff',
'target latitude': 41.9458364,
'target longitude': -87.7474061,
'target hex_id': '8a2664ca66c7fff'
},
{
venue_id: 'ac29e3',
count: 18,
latitude: 41.8008800318507,
longitude: -87.5880885869265,
neighbors: [16, 17],
'source hex_id': '8a2664ce3637fff',
'target latitude': 41.7552452681605,
'target longitude': -87.6322426600563,
'target hex_id': '8a2664cc3757fff'
},
{
venue_id: 'c236e3',
count: 8,
latitude: 41.9641381521923,
longitude: -87.7086424036042,
neighbors: [17, 18],
'source hex_id': '8a2664ca489ffff',
'target latitude': 41.7753234651629,
'target longitude': -87.6832077690278,
'target hex_id': '8a2664cd1197fff'
},
{
venue_id: '1b21e3',
count: 20,
latitude: 41.9171668642571,
longitude: -87.6869366271512,
neighbors: [18, 19],
'source hex_id': '8a2664cacd97fff',
'target latitude': 41.8667365110101,
'target longitude': -87.7061694860458,
'target hex_id': '8a2664cab41ffff'
},
{
venue_id: '6a9d00',
count: 13,
latitude: 41.7923696161345,
longitude: -87.7899415791035,
neighbors: [19, 20],
'source hex_id': '8a2664520797fff',
'target latitude': 41.9458364,
'target longitude': -87.7474061,
'target hex_id': '8a2664ca66c7fff'
},
{
venue_id: 'fd31e3',
count: 8,
latitude: 41.887104,
longitude: -87.623222,
neighbors: [20, 21],
'source hex_id': '8a2664c1e21ffff',
'target latitude': 41.9307572879845,
'target longitude': -87.6434218883514,
'target hex_id': '8a2664c1009ffff'
}
];
export const dataId = 'test-arc-data';
export const arcDataInfo = {
id: dataId,
label: 'Arc Row Data',
color: [155, 155, 155]
};
export const pointFromNeighbor = {
id: 'point-1',
type: 'point',
config: {
dataId,
label: 'point',
columns: {
lat: 'latitude',
lng: 'longitude',
neighbors: 'neighbors'
},
isVisible: true,
visConfig: {
radius: 20,
opacity: 1,
allowHover: true,
showNeighborOnHover: true,
showHighlightColor: false
}
}
};
export const arcFromHex = {
id: 'arc-1',
type: 'arc',
config: {
dataId,
label: 'arc',
columnMode: 'points',
columns: {
lat0: 'source hex_id',
lat1: 'target hex_id'
},
isVisible: true
}
};
export const arcFromNeighbor = {
id: 'arc-2',
type: 'arc',
config: {
dataId,
columnMode: 'neighbors',
label: 'arc from neighbors',
columns: {
lat: 'latitude',
lng: 'longitude',
neighbors: 'neighbors'
},
isVisible: true
}
};
export const config = {
version: 'v1',
config: {
visState: {
layers: [pointFromNeighbor, arcFromHex, arcFromNeighbor]
}
}
};