I'm trying to get a very simple points-on-a-map visualization working with Kibana 6.6's Vega interface. I harvested some of the code from an example in gitlhub and also from a scatterplot-on-a-map in the Vega-lite Examples Gallery.
My code displays a map correctly--I haven't even yet tried to configure map projection to something that looks better at a regional scale--but my points to not appear
Below is my code:
{
  $schema: https://vega.github.io/schema/vega/v3.0.json
  config: {
    kibana: {
      type: map
      projection: mercator
      latitude: -25
      longitude: 135
      zoom: 4
      mapstyle: true
      minZoom: 2
      maxZoom: 7
      zoomControl: true
      scrollWheelZoom: false
      delayRepaint: true
      }
   }
  data: {
      // List of destination points
      // initially in latitude/longitude,
      // transformed into X,Y coordinates
      values: [
        {id: "Sydney", lon: -151.21, lat: -33.87}
        {id: "Brisbane", lon: 153.02, lat: -27.46}
        {id: "Melbourne", lon: 144.96, lat: -37.81}
        {id: "Canberra", lon: 149.13, lat: -35.31}
        {id: "Adelaide", lon: 138.6, lat: -34.93}
        {id: "Perth", lon: 115.84, lat: -31.96}
        {id: "Hobart", lon: 147.29, lat: -42.85}
        {id: "Darwin", lon: 130.85, lat: -12.43}
      ]
   }
   mark: circle
   encoding: {
     longitude: {
       field: lon
       type: quantitative
     } 
     latitude: {
       field: lat
       type: quantitative
     }
     tooltip: {
       field: id
       type: nominal
     }
   }
   size: {
     value: 12
   }
}
Any ideas as to how I can fix this and 1) see my points; and--with--hope 2) get the tooltip working once my points display.
Thanks!




