Skip to content

SimonDuGL/driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#The demonstation of building a friendly red-green map according to the dataset.

#The code is shown below:

url = "https://raw.githubusercontent.com/SimonDuGL/driver/main/us_map.json";

gdf = gpd.read_file(url);

gdf.crs = 'epsg:4326';

gplt.polyplot(gdf, figsize=(20, 4));

gplt.choropleth( gdf, hue="Median_PriceToRentRatio_AllHomes", edgecolor='white', linewidth=1, cmap="PiYG_r", legend=True, figsize=(50, 20))

map002

About

cloud storage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published