Milan's Data Science Insights

Milan's Data Science Insights

Share this post

Milan's Data Science Insights
Milan's Data Science Insights
Population of Africa

Population of Africa

#30DayMapChallenge - Day 24 - Only circular shapes

Milan Janosov's avatar
Milan Janosov
Jan 31, 2025
∙ Paid
1

Share this post

Milan's Data Science Insights
Milan's Data Science Insights
Population of Africa
Share

1. Imports, setting up, data sources, data preparation

import rasterio
from rasterio.plot import show
from rasterio.mask import mask
import matplotlib.colors as mcolors
from shapely.geometry import box
import geopandas as gpd
import numpy as np
import matplotlib.pyplot as plt
import math
from matplotlib.colors import LinearSegmentedColormap

# File path t…

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Milan Janosov
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share