A dynamic web-based map built with Python that visualizes geographical data. This project maps out volcano locations and international borders using specialized data formats like JSON and Text files.
- Dynamic Map Generation: Automatically creates an interactive
Map1.htmlfile. - Data Integration: Parses coordinates from
Volcanoes.txtand geographical boundaries fromworld.json. - Marker Clustering & Styling: Custom markers to identify specific points of interest (Volcanoes).
- Layer Control: Ability to toggle different data layers on the map for a cleaner view.
- Language: Python 3.x
- Libraries: *
Folium(For generating Leaflet.js maps)Pandas(For data manipulation and reading files)JSON(For parsing world boundary data)
- The script reads the Volcanoes.txt file to extract Latitude, Longitude, and Name.
- It uses the world.json file to draw polygonal boundaries of different countries.
- Folium then layers this data onto an interactive map that can be opened in any web browser.
You will need to install the required libraries first:
pip install folium pandas
- Clone the repository:
git clone [https://github.com/wajiharubab648-coder/interactive-data-map.git](https://github.com/wajiharubab648-coder/interactive-data-map.git)
- Run the script:
python app2.py
- Open the generated
Map1.htmlin your browser to view the result.
- Add real-time weather data overlay.
- Implement search functionality for specific locations.
- Color-code markers based on volcano elevation or status.
- Handling Geospatial Data and understanding Coordinate systems.
- Working with different file formats (
.txt,.json,.html) in a single project. - Visualizing complex datasets to make them user-friendly.
Developed by Wajiha | BSIT Student | Python & Data Visualization