# VEGA Kibana

**URL:** https://discuss.elastic.co/t/vega-kibana/194046
**Category:** Kibana
**Created:** [August 6, 2019, 3:55pm UTC](https://discuss.elastic.co/t/vega-kibana/194046 "2019-08-06T15:55:10Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![aaditya\_alekar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaditya_alekar/32/49351_2.png) [@aaditya\_alekar](https://discuss.elastic.co/u/aaditya_alekar)
#### Post date: [August 6, 2019, 3:55pm UTC](https://discuss.elastic.co/t/vega-kibana/194046/1 "2019-08-06T15:55:10Z")

</div>

{  
$schema: [https://vega.github.io/schema/vega/v3.0.json](https://vega.github.io/schema/vega/v3.0.json)  
config: {  
kibana: {  
type: "map"  
latitude: 37.0902  
longitude: 95.7129  
zoom: 4  
}  
}  
data: [  
{  
"name": "cities",  
"values": [  
{"city": "Boston", "lon": 42.308126191, "lat": -71.07692974, "pop": 4823991},  
{"city": "Boston", "lon": 42.34432328, "lat": -71.15778368, "pop": 2270800},  
{"city": "Boston", "lon": 42.37525782, "lat": -71.02466343, "pop": 4485211},  
{"city": "Boston", "lon": 42.32324363, "lat": -71.10892316, "pop": 397397},  
{"city": "Adelaide", "lon": 42.28076737, "lat": -71.04736497, "pop": 1295714}  
]  
transform: [  
{  
type: geopoint  
projection: projection  
fields: ["lon", "lat"]  
}  
]  
}  
]  
marks: [  
{  
type: symbol  
from: {data: "cities"}  
encode: {  
enter: {  
size: {value: 100}  
fill: {value: "black"}  
stroke: {value: "orange"}  
}  
update: {  
x: {field: "x"}  
y: {field: "y"}  
}  
}  
}  
]  
}

I want to plot the map of US with Boston as the main city.

---

<div class="post-metadata">

### Author: ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)
#### Post date: [August 8, 2019, 8:32am UTC](https://discuss.elastic.co/t/vega-kibana/194046/2 "2019-08-08T08:32:33Z")

</div>

Hi @aaditya_alekar

Your points are there, but there are somewhere in Antarctica.

 ![39](https://us1.discourse-cdn.com/elastic/original/3X/3/4/34753fdd12a67e1def4923e3ba253564c6b5f515.jpeg)

It seems like you flipped lat and lon in the transform:

```auto
transform: [
{
type: geopoint
projection: projection
fields: ["lat", "lon"]
}

```

should do the trick.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [September 5, 2019, 8:32am UTC](https://discuss.elastic.co/t/vega-kibana/194046/3 "2019-09-05T08:32:34Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
