เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

Folium choropleth

In this exercise, you will construct a folium choropleth to show the density of permitted construction projects in different Nashville council districts. You will be using a single data source, the districts_and_permits GeoDataFrame, which has been pre-loaded for you.

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

Visualizing Geospatial Data in Python

ดูคอร์ส

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

# Center point for Nashville
nashville = [36.1636,-86.7823]

# Create map
m = folium.Map(location=____, zoom_start=10)
แก้ไขและรันโค้ด