Visualizing Geospatial Data in Python
Learn how to make attractive visualizations of geospatial data in Python using the geopandas package and folium maps.
Start Course for Free4 hours14 videos51 exercises
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.Training 2 or more people?Try DataCamp For Business
Loved by learners at thousands of companies
Course Description
One of the most important tasks of a data scientist is to understand the relationships between their data's physical location and their geographical context. In this course you'll be learning to make attractive visualizations of geospatial data with the GeoPandas package. You will learn to spatially join datasets, linking data to context. Finally you will learn to overlay geospatial data to maps to add even more spatial cues to your work. You will use several datasets from the City of Nashville's open data portal to find out where the chickens are in Nashville, which neighborhood has the most public art, and more!
For Business
Training 2 or more people?
Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and moreIn the following Tracks
Data Visualization in Python
Go To Track- 1
Building 2-Layer Maps : Combining Polygons and Scatterplots
FreeIn this chapter, you will learn how to create a two-layer map by first plotting regions from a shapefile and then plotting location points as a scatterplot.
Introduction50 xpPlotting a scatterplot from longitude and latitude50 xpStyling a scatterplot100 xpExtracting longitude and latitude100 xpPlotting chicken locations100 xpGeometries and shapefiles50 xpCreating a GeoDataFrame & examining the geometry100 xpPlotting shapefile polygons100 xpScatterplots over polygons50 xpGeometry50 xpPlotting points over polygons - part 1100 xpPlotting points over polygons - part 2100 xp - 2
Creating and Joining GeoDataFrames
You'll work with GeoJSON to create polygonal plots, learn about projections and coordinate reference systems, and get practice spatially joining data in this chapter.
GeoJSON and plotting with geopandas50 xpWorking with GeoJSON50 xpColormaps100 xpMap Nashville neighborhoods100 xpProjections and coordinate reference systems50 xpChanging coordinate reference systems100 xpConstruct a GeoDataFrame from a DataFrame100 xpSpatial joins50 xpSpatial join practice100 xpFinding the neighborhood with the most public art100 xpAggregating points within polygons100 xpPlotting the Urban Residents neighborhood and art100 xp - 3
GeoSeries and Folium
First you will learn to get information about the geometries in your data with three different GeoSeries attributes and methods. Then you will learn to create a street map layer using folium.
GeoSeries attributes and methods I50 xpFind the area of the Urban Residents neighborhood100 xpGeoSeries attributes and methods II50 xpThe center of the Urban Residents neighborhood100 xpPrepare to calculate distances100 xpArt distances from neighborhood center100 xpStreet maps with folium50 xpCreate a folium location from the urban centroid100 xpCreate a folium map of downtown Nashville100 xpFolium street map of the downtown neighborhood100 xpCreating markers and popups in folium50 xpAdding markers for the public art100 xpTroubleshooting data issues100 xpA map of downtown art100 xp - 4
Creating a Choropleth Building Permit Density in Nashville
In this chapter, you will learn about a special map called a choropleth. Then you will learn and practice building choropleths using two different packages: geopandas and folium.
What is a choropleth?50 xpFinding counts from a spatial join100 xpCouncil district areas and permit counts100 xpCalculating a normalized metric100 xpChoropleths with geopandas50 xpGeopandas choropleths100 xpArea in km squared, geometry in decimal degrees100 xpSpatially joining and getting counts100 xpBuilding a polished Geopandas choropleth100 xpChoropleths with folium50 xpFolium choropleth100 xpFolium choropleth with markers and popups100 xpClosing thoughts50 xp
For Business
Training 2 or more people?
Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and moreIn the following Tracks
Data Visualization in Python
Go To Trackdatasets
Building permits issued in Nashville in 2017Council district GIS dataNashville neighborhoods GIS dataPublic artworks in NashvilleSchool district GIS dataSchools in Nashvillecollaborators
Mary van Valkenburg
See MoreData Science Program Manager at Nashville Software School
What do other learners have to say?
Join over 14 million learners and start Visualizing Geospatial Data in Python today!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.