Allows for Alteryx Spatial Obejcts to be rendered with different Geo projections.
Assumes that the Spatial Object is called SpatialObj
. Alter:
const getSpatial = r => r['SpatialObj']
To change the projection, alter:
const baseProjection = d3.geoAzimuthalEquidistant()
You can find over projections on the d3 site
By default, it adds lines an a base plot of countries.