GeoExplorer is an interactive 2D world map application that allows users to explore countries, view detailed geographic information, and test their knowledge through an engaging quiz mode.
GeoExplorer is designed to showcase modern frontend development for data-driven applications. It combines geospatial visualization, real-time API integration, and interactive UI/UX design into a single seamless experience.
This project demonstrates:
- Interactive geospatial user interfaces using modern libraries
- Integration of multiple real-time APIs
- Clean and user-focused information architecture
- Responsive and polished UI/UX design
- Practical problem-solving in frontend engineering
-
Interactive 2D world map with clickable country boundaries
-
Dynamic country highlighting and map focus
-
Detailed country information panel:
- Official name
- Capital
- Population
- Area
- Languages
-
AI-style insights powered by live Wikipedia summaries
-
Country search functionality
-
Quiz mode with timed country-finder gameplay
-
On-page accuracy disclaimer for transparency
- Loads a Leaflet map using OpenStreetMap tiles
- Fetches and renders GeoJSON country boundaries as interactive layers
- User clicks on a country
- Data is fetched from the REST Countries API
- Side panel updates with detailed country information
- Wikipedia REST API provides a summary
- Displayed as an AI-style insight for better context
- User searches for a country by name
- Map automatically focuses and displays details
- Two players enter names, time limits, and number of rounds
- Random countries are selected
- Players score points by correctly identifying countries within the time limit
- Includes a disclaimer indicating that data may not be 100% accurate
- REST Countries API – country metadata
- GeoJSON Countries Dataset – country boundaries
- Wikipedia REST API – summaries and insights
- OpenStreetMap – map tiles
- JavaScript (ES Modules)
- Vite
- Leaflet
- HTML5
- CSS3
npm install
npm run devnpm run build
npm run preview- 3D globe visualization
- Advanced quiz difficulty levels
- Leaderboard and scoring system
- Improved mobile experience
- Offline data caching
Jaiv Patel
This project is open-source and available under the MIT License.

