Trying to get a basic map of USA States to show up via vega. With the following code, I am getting the error "emsfile "USA States" does not exist"
Any idea what the emsfile should be, or what could be wrong:
{
"$schema": "https://vega.github.io/schema/vega/v5.json",
"config": {"kibana": {"type": "map", "latitude": 40, "longitude": -97, "zoom": 4}},
"data": [
{
"name": "usastates",
"url": {"%type%": "emsfile", "name": "USA States"},
"format": {"type": "json", "property": "features"}
},
{
"name" : "statescount",
"values" : [
{ "state" : "NY", "count" :"100"},
{ "state" : "CA", "count" : "400"},
{ "state" : "NJ", "count" : "25"}
]
}
],
"marks": [
{
"type": "shape",
"from": {"data": "usastates"},
"transform": [{"type": "geoshape", "projection": "projection"}]
}
]
}