已经有了各省的数据,如何将信息以可视化的方式显示在地图上?顺便问一下python有相关的第三方包没?
回复内容:
其实有很多实现方式,python只是其中一种,下面我介绍一下我认为比较方便的:1. Excel VBA
注:以下两个模板来自http://ExcelPro.blog.sohu.com
(1)中国地图分省填色
下面是示意图:
使用方法在图中也有介绍

下载地址:Excel模板-中国地图填色图
(2)中国地图精确到市填色

下载地址:中国数据地图-到市级
2. 百度的ECharts
网址为: ECharts · Example

个人推荐第二种方法,别人把轮子造好我们拿来用就可以了。 如果你一定要用 Python 实现,那么基本上首选 IPython+Matplotlib,由于这里还需要地图,估计少不了 Basemap。 matplotlib,安装好以后还要安装它的一个拓展应用basemap,100多M.
官方文件 http://matplotlib.org/basemap/users/geography.html。效果图如下



Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Solution to permission issues when viewing Python version in Linux terminal When you try to view Python version in Linux terminal, enter python...

How to teach computer novice programming basics within 10 hours? If you only have 10 hours to teach computer novice some programming knowledge, what would you choose to teach...

When using Python's pandas library, how to copy whole columns between two DataFrames with different structures is a common problem. Suppose we have two Dats...

How to avoid being detected when using FiddlerEverywhere for man-in-the-middle readings When you use FiddlerEverywhere...

How does Uvicorn continuously listen for HTTP requests? Uvicorn is a lightweight web server based on ASGI. One of its core functions is to listen for HTTP requests and proceed...

In Python, how to dynamically create an object through a string and call its methods? This is a common programming requirement, especially if it needs to be configured or run...

Using python in Linux terminal...

Fastapi ...
