datavis

Ben Sless 2023-02-07T08:15:04.805209Z

question relating to vega lite, assuming I have two geo json sources, one a map and one a coordinate, how do I render both in the same view?

Ben Sless 2023-02-07T08:16:00.964879Z

{:width 650 :height 650
  :config {:projection {:type "mercator" :center [10.4515 51.1657]}}
  :layer [#_{:data {:url ""
                    :format {:type "topojson" #_#_:feature "DEU_adm2"}}
             :mark {:type "geoshape" :fill "lightgray" :stroke "white"}}
          {:data {:url ""
                  :format {:type "topojson"}}
           :mark {:type "geoshape" :fill "lightgray" :stroke "white"}}]}
Either works independently but I can't draw both together

Ben Sless 2023-02-08T20:29:19.229119Z

Ended up finding the solution by the very @metasoarous , posting for posterity https://github.com/vega/vega-lite/issues/3689

🙌 1
🎉 1