A sleek, responsive, and real-time global earthquake visualizer built with SvelteKit and Leaflet.
This application fetches seismic activity from the USGS Earthquake API (last 24 hours) and displays it on an interactive map.
π Live Demo
The Svelte Earthquake Visualizer was created to provide a modern, fast, and visually engaging way to explore recent earthquake data.
It serves as a full-stack example of a SvelteKit application, combining a backend API route to proxy data with a dynamic, interactive frontend map.
The user interface is fully responsive, ensuring a seamless experience on both desktop and mobile devices.
Clone the repository
git clone https://github.com/Arnesh-pal/svelte-earthquake-visualizer.git
Navigate to the project directory
cd svelte-earthquake-visualizer
Install dependencies
npm install
Run the development server
npm run dev
Your app should now be running at: π http://localhost:5173
This project relies on the U.S. Geological Survey (USGS) Earthquake API:
Endpoint:
https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_day.geojson
Description: Provides real-time earthquake data for the past 24 hours in GeoJSON format.
Desktop View | Mobile View |
---|---|
Distributed under the MIT License.
See LICENSE
for more information.
Contributions, issues, and feature requests are welcome! Feel free to open an issue or submit a PR.