submarinejoined = Promise.all(
submarine.features.map(async s => {
const data = await d3.json(
`https://raw.githubusercontent.com/telegeography/www.submarinecablemap.com/master/public/api/v2/cable/${s.properties.slug}.json`
);
s.properties.length = data.length;
s.properties.owners = data.owners;
s.properties.name = data.name;
return s;
})
)