vl
.layer(
vl
.markGeoshape()
.data(
vl
.topojson("https://unpkg.com/world-atlas@2/countries-110m.json")
.feature("countries")
)
.encode(
vl.stroke().value("#fff"),
vl.color().value("#000"),
vl.fill().value("#dfd")
),
vl
.markCircle()
.data(parsedData)
.encode(
vl.longitude().fieldQ("longitude"),
vl.latitude().fieldQ("latitude"),
vl.color().fieldN("country")
)
)
.project(
vl
.projection()
.type("orthographic")
.scale(scale)
.rotate([-45, -45, 0])
)
.width(750)
.height(750)
.render()