Ever wondered how to visualize UNESCO World Heritage Sites around the world—without spending hours coding? Let me show you how I did it in just a few minutes! 🚀
✨ The Magic Prompt
All it took was a simple prompt:
"List the top 30 cities with the highest number of UNESCO World Heritage Sites. Write a Python code to plot these cities on a map, using distinct markers for each. When hovering over a marker, display the city name, the number of heritage sites, and a brief description of the most famous site in that city."
🤖 Enter Deepseek
I headed over to Deepseek and pasted my prompt into "Search" mode. In seconds, Deepseek generated ready-to-use Python code! (I love Python for its speed and simplicity. 🐍)
🛠️ Quick Steps
- Copy the code from Deepseek.
- Paste it into my editor and run it.
- Voilà! The code generated an HTML file with an interactive map.
🌍 The Result
Opening the HTML file, I was greeted with a beautiful, interactive map—each city marked, with popups showing the city name, number of heritage sites, and a fun fact about the most famous site. Perfect for exploring world heritage at a glance! 🎉
Ready to try it yourself? Give it a go and let the world’s wonders come to life on your screen! ✈️🏛️
Top comments (0)