diff options
| author | Christian Cleberg <[email protected]> | 2023-12-02 11:34:20 -0600 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2023-12-02 11:34:20 -0600 |
| commit | fcc889508ab63a679b5cbd231478b25cff48d8fc (patch) | |
| tree | a9ec2ce9f00b07a0ab081e7160e1183a7cef634f /blog/2020-09-25-happiness-map.org | |
| parent | dfb4de1797796c72f597f4c0c6cd1e01dc5a66ee (diff) | |
| download | cleberg.net-fcc889508ab63a679b5cbd231478b25cff48d8fc.tar.gz cleberg.net-fcc889508ab63a679b5cbd231478b25cff48d8fc.tar.bz2 cleberg.net-fcc889508ab63a679b5cbd231478b25cff48d8fc.zip | |
fix: update domains
Diffstat (limited to 'blog/2020-09-25-happiness-map.org')
| -rw-r--r-- | blog/2020-09-25-happiness-map.org | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/blog/2020-09-25-happiness-map.org b/blog/2020-09-25-happiness-map.org index d511d9d..287e1da 100644 --- a/blog/2020-09-25-happiness-map.org +++ b/blog/2020-09-25-happiness-map.org @@ -59,7 +59,7 @@ geo_data.head() #+END_SRC #+CAPTION: GeoJSON Dataframe -[[https://img.0x4b1d.org/blog/20200925-world-choropleth-map/geojson_df.png]] +[[https://img.cleberg.net/blog/20200925-world-choropleth-map/geojson_df.png]] Next, let's load the data from the Kaggle dataset. I've downloaded this file, so update the file path if you have it somewhere else. After loading, let's take a @@ -72,7 +72,7 @@ happy_data.head() #+END_SRC #+CAPTION: Happiness Dataframe -[[https://img.0x4b1d.org/blog/20200925-world-choropleth-map/happiness_df.png]] +[[https://img.cleberg.net/blog/20200925-world-choropleth-map/happiness_df.png]] * Clean the Data @@ -121,7 +121,7 @@ merged_df = merged_df.rename(columns = {'Country or region':'Country'}) #+END_SRC #+CAPTION: Merged Dataframe -[[https://img.0x4b1d.org/blog/20200925-world-choropleth-map/merged_df.png]] +[[https://img.cleberg.net/blog/20200925-world-choropleth-map/merged_df.png]] * Create the Map @@ -159,7 +159,7 @@ folium.Choropleth( Let's look at the resulting map. #+CAPTION: Choropleth Map -[[https://img.0x4b1d.org/blog/20200925-world-choropleth-map/map.png]] +[[https://img.cleberg.net/blog/20200925-world-choropleth-map/map.png]] * Create a Tooltip on Hover @@ -214,4 +214,4 @@ The final image below will show you what the tooltip looks like whenever you hover over a country. #+CAPTION: Choropleth Map Tooltip -[[https://img.0x4b1d.org/blog/20200925-world-choropleth-map/tooltip_map.png]] +[[https://img.cleberg.net/blog/20200925-world-choropleth-map/tooltip_map.png]] |
