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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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
- Confirm environment (plain HTML, framework, React bindings) and the data layers needed.
- Provide a minimal quick-start snippet plus the layer-specific fields.
- Add interactions or extra layers only if requested.
- 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
Comments
- …
More skills from this repository
3d-cloth-material
7.2kHelps your agent build realistic woven fabric in Three.js, with thread weave, soft sheen, natural folds, hems and seams.
3d-falling-leaves
7.2kHelps your agent add realistic falling leaves to a 3D scene, with leaves that tumble, drift with the wind and recycle as the camera moves.
3d-four-seasons
7.2kHelps your agent add spring, summer, fall and winter looks to a 3D scene, changing foliage, light, sky and snow without rebuilding it.
3d-high-poly-models
7.2kHelps your agent build detailed 3D models with smooth shapes and believable edges, then prepare lighter versions that run well on the web.
Similar skills
angular-developer
280kHelps your agent create Angular code and give project structure advice. Useful for starting new projects, creating code parts, or improving performance and accessibility.
frontend-a11y
280kHelps your agent make web interfaces accessible to everyone. It ensures websites and apps work well with screen readers and keyboard navigation.
frontend-patterns
280kHas your agent apply modern patterns in frontend development. It optimizes performance, manages state, and follows best practices in React and Next.js.