Skip to content
Skillpedia
Websites & UI (frontend)7.2k · #13435

globe-gl

What it does

This skill guides an AI agent in using the globe.gl library to build 3D globe data visualizations. It is for teams who want to show locations, routes or regions on a rotating globe in plain HTML or React.

When to use it

  • ✓When you want to show points, routes or regions on a 3D globe.
  • ✓When a data page needs a globe with labels or arcs between cities.
  • ✓When you are using plain HTML or React and need a ready-made globe library.

Skill link

https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/globe-gl/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/globe-gl/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Show our customer locations as glowing points on a 3D globe on my data page.”

5 new skills a week. 1 minute to read.

How it works

The agent loads globe.gl, creates a globe inside a sized container and adds data layers such as points or arcs. It can also set the globe texture and reduce point counts on phones for speed.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Globe.GL Skill

Workflow

  1. Confirm environment (plain HTML, framework, React bindings) and the data layers needed.
  2. Provide a minimal quick-start snippet plus the layer-specific fields.
  3. Add interactions or extra layers only if requested.
  4. Call out container sizing and performance considerations.

Quick start (ESM)

<script type="module">
  import Globe from 'globe.gl';

  const myGlobe = new Globe(document.getElementById('globe'))
    .globeImageUrl(myImageUrl)
    .pointsData(myData);
</script>

Quick start (script tag)

<script src="//cdn.jsdelivr.net/npm/globe.gl"></script>
<script>
  const myGlobe = new Globe(document.getElementById('globe'))
    .globeImageUrl(myImageUrl)
    .pointsData(myData);
</script>

Common layers to mention

  • Points
  • Arcs
  • Polygons
  • Paths
  • Heatmaps and hex bins
  • Labels or HTML elements
  • 3D objects and custom layers

Practical tips

  • Size the container with CSS; the globe fills its parent element.
  • Reduce point count or size for performance on mobile.
  • Use a darker globe texture for neon-style data overlays.

Questions to ask when specs are missing

  • Which layers do you need (points, arcs, polygons, labels)?
  • What should the globe size be on desktop vs mobile?
  • Do you want drag/rotate interactions or a static globe?
  • Is this plain HTML, React (react-globe.gl), or another framework?
FAQ

Which data types can it show?

The skill lists points, arcs, polygons, paths, heatmaps, labels and custom 3D objects.

Can I use it in React?

Yes. The skill mentions a React binding as well as plain HTML.

Can visitors rotate the globe?

The skill asks whether you want drag and rotate or a static globe, and sets it up to match your choice.

Details

Original description by the author

Use when implementing globe.gl (Globe.GL) for 3D globe data visualization with WebGL/ThreeJS, including setup, data layers (points, arcs, polygons, labels), and integration patterns in plain HTML or React.

repo: MengTo/Skills

Popularity

GitHub stars
7.2k
Ranking position
#13435
License
MIT
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills