{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": { "button": false, "new_sheet": false, "run_control": { "read_only": false } }, "outputs": [], "source": [ "import folium\n", "import pandas as pd" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "button": false, "new_sheet": false, "run_control": { "read_only": false } }, "outputs": [], "source": [ "# the geojson data file\n", "SA_geo = '../data/SA_regions.json' \n", "\n", "# initialize the map at (23, 45) which is Saudi Arabia\n", "SA_map = folium.Map(location=[23,45], zoom_start=5)" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
| \n", " | Region | \n", "2003 | \n", "2002 | \n", "2001 | \n", "
|---|---|---|---|---|
| 0 | \n", "Riyadh | \n", "366769.0 | \n", "422882.0 | \n", "392459.0 | \n", "
| 1 | \n", "Makkah | \n", "285647.0 | \n", "246865.0 | \n", "253335.0 | \n", "
| 2 | \n", "Madinah | \n", "267826.0 | \n", "239032.0 | \n", "205698.0 | \n", "
| 3 | \n", "Qassim | \n", "165556.0 | \n", "169599.0 | \n", "118732.0 | \n", "
| 4 | \n", "Eastern Region | \n", "83441.0 | \n", "84432.0 | \n", "53778.0 | \n", "