How to render GeoJson file as a Scatter map?

I couldn’t find a simple example online of passing a geojson file to render as scatter map. I tried loading a geojson and then passing it has a property to a Scattergeo map, but that didn’t work. Can someone provide a simple example of this?

Hey @bestfirstsearch, is this different to what you asked here?

A little bit. I couldn’t find a decent geojson file of us+puerto rico (similar to U.S. Map with Puerto Rico / D3 | Observable). So I’m trying to see if I can just render a geojson of Puerto Rico and overlap that onto the built-in Scattergeo map. I’m struggling with rendering just the map of a PR map.

Ultimately I just want a map that is stylistically similar to the default USA ScatterGeo map but includes Puerto Rico. I’m open to ideas however.