Interactive 3D Earth Globe
Spin a 3D Earth, click any of 194 countries for its capital, population, currency and languages, and open a fullscreen view for a classroom screen.
The interactive tool loads here when JavaScript runs.
About this toolWhat is the Interactive Earth Globe?
A 3D Earth you can drag, spin and zoom. Country borders are drawn over a satellite image, and clicking a country (or choosing one from the list) opens a card with its flag, capital, approximate population, main languages, currency, continent and a few short facts such as its national bird and a well-known dish.
It is built for browsing and quick geography questions, not for maps you need to rely on. Populations are rounded, the facts are brief notes, and borders come from the Natural Earth 1:110 million dataset, so small islands and enclaves are simplified or missing. Clicking open ocean picks the country whose reference point is closest.
The globe needs WebGL. It downloads the Earth textures and border data from the unpkg CDN when it opens; the country facts ship with the page.
- 3D globe with satellite texture and country borders
- Fact cards for 194 countries: capital, population, languages, currency, facts
- Searchable country menu and one-click buttons
- Draggable info card and fullscreen mode
- Releases its WebGL context when you leave the page
Updated
How to use the Interactive Earth Globe
- Drag to rotate the globe and scroll or pinch to zoom. It rotates slowly on its own until you interact.
- Click a country to open its fact card. You can drag the card out of the way.
- Or pick a country from the Choose a country menu, or from the buttons under Available Countries.
- Press the expand button for fullscreen. Press Escape to leave it.
- Close the card with the X to clear the highlight.
Worked examples
Clicking Kazakhstan
Output
Capital: Astana. Currency: Kazakhstani Tenge. Facts: largest landlocked country, space launch facility.
The capital was renamed Nur-Sultan in 2019 and changed back to Astana in 2022; the card uses the current name.
Clicking the sea east of Fiji
Input
Click at 17° S, 179.9° W
Output
Fiji
The nearest-country lookup measures distance around the sphere, so it crosses the date line correctly.
Background and insight
The rendering uses globe.gl, a wrapper around three.js. The Earth texture is NASA's Blue Marble composite, wrapped onto a sphere with an equirectangular projection, where longitude maps to x and latitude to y. That projection is why textures look stretched near the poles on a flat map but correct on the globe.
Picking the nearest country to an ocean click uses great-circle distance (the haversine formula), not straight-line distance on latitude and longitude. The difference matters near the 180th meridian: a click at longitude -179.9 is under 100 km from Fiji at +179.4, even though the numbers look 359 degrees apart.
Natural Earth flags a few countries, including France and Norway, with the placeholder ISO code -99 because their overseas territories complicate the coding, so the tool falls back to matching those by name.
Common use cases
Geography lessons
Put the fullscreen globe on a classroom screen and let students find and click countries.
Trip daydreaming
Spin to a region and read the capital, currency and a must-visit spot for each country.
Quiz preparation
Check capitals and currencies before a pub quiz or a geography bee.
A calm break
Leave the globe rotating while you take five minutes away from work.
Tips and limitations
- Populations are rounded and a few years old; use a statistics office or the UN for exact current figures.
- Very small states such as Monaco, Vatican City or Tuvalu are too small to click at this border resolution. Pick them from the list.
- Antarctica, Greenland and other territories without their own record select the nearest country instead.
- If you see a message instead of a globe, WebGL is turned off or unsupported in your browser; the country list still works.
- The globe uses the GPU continuously while it spins. Close the tab on battery power when you are done.
Sources and further reading
- Blue Marble, NASA. The Earth texture on the globe
- Natural Earth, Natural Earth. Public domain country borders
- Globe.GL, Vasco Asturiano. The three.js globe component
- three.js, Ricardo Cabello and contributors
Frequently asked questions
How many countries can I explore on the 3D globe?
There are fact cards for 194 countries, covering the UN member states plus Taiwan and Vatican City. Territories such as Greenland or Puerto Rico have borders on the globe but no card of their own.
Why does clicking the ocean select a country?
An ocean click picks the country whose reference point is nearest, measured as great-circle distance on the sphere. It is a shortcut for small island states that are hard to hit directly.
Where do the globe images and borders come from?
The Earth texture is NASA's Blue Marble image and the borders are Natural Earth's 1:110m admin-0 countries, both loaded from the unpkg CDN when the page opens. The country facts are bundled with the tool.
Why is the 3D globe blank or showing a WebGL message?
The globe needs WebGL. It can be missing if hardware acceleration is off in browser settings, on some remote desktops and in older browsers. Turning hardware acceleration back on usually fixes it.
Are the country populations on the globe up to date?
They are rounded figures from recent years, good for a sense of scale but not for reports. National statistics offices and the UN World Population Prospects publish exact estimates.
Can I show the globe fullscreen in a classroom?
Yes. Press the expand button on the globe, or open the page with ?fs=on in the address to be prompted for fullscreen. Escape exits.
Is there an in-depth guide to the Interactive Earth Globe?
Yes. “How a 3D Web Globe Works: Map Projections, Borders and Country Data” covers the background, how it works, common pitfalls and worked examples. Read the full guide.
Related Tools You May Like
Free, in-browser tools that pair well with this one.