Bert Bengtson Twitter
GitHub

Welcome to Svelte Worldwide!

Props
Name Type Value
world TopoJSON.Topology required
width number
name string
duration number
Style

Styles can be modified via css variables.

Name Value
—svelte-worldwide-sphere-stroke
—svelte-worldwide-sphere-fill
—svelte-worldwide-land-stroke
—svelte-worldwide-land-fill
—svelte-worldwide-selected-fill
—svelte-worldwide-arc-stroke
—svelte-worldwide-arc-stroke-width

A fully reactive globe component written with Svelte + D3!

Written for Svelte Hack 2023 Svelte Hack

You just got Svelted by!

Bert