Skip to content

Commit

Permalink
npm:world-atlas (#1123)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Mar 22, 2024
1 parent 1f426a3 commit 9962d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/loaders.md
Expand Up @@ -48,7 +48,7 @@ const quakes = FileAttachment("quakes.csv").csv({typed: true});
Now you can display the earthquakes in a map using [Observable Plot](./lib/plot):

```js
const world = await fetch("https://cdn.jsdelivr.net/npm/world-atlas@1/world/110m.json").then((response) => response.json());
const world = await fetch(import.meta.resolve("npm:world-atlas@1/world/110m.json")).then((response) => response.json());
const land = topojson.feature(world, world.objects.land);
```
Expand Down

0 comments on commit 9962d20

Please sign in to comment.