<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Data For Science: Visualization]]></title><description><![CDATA[Visualization For Data Science]]></description><link>https://data4sci.substack.com/s/visualization</link><image><url>https://substackcdn.com/image/fetch/$s_!4Dtu!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc84f944b-a7ca-472c-bccb-7f9f18ad0bfa_540x540.png</url><title>Data For Science: Visualization</title><link>https://data4sci.substack.com/s/visualization</link></image><generator>Substack</generator><lastBuildDate>Sat, 06 Jun 2026 15:02:05 GMT</lastBuildDate><atom:link href="https://data4sci.substack.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Data For Science, Inc]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[data4sci@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[data4sci@substack.com]]></itunes:email><itunes:name><![CDATA[Bruno Gonçalves]]></itunes:name></itunes:owner><itunes:author><![CDATA[Bruno Gonçalves]]></itunes:author><googleplay:owner><![CDATA[data4sci@substack.com]]></googleplay:owner><googleplay:email><![CDATA[data4sci@substack.com]]></googleplay:email><googleplay:author><![CDATA[Bruno Gonçalves]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Airline Traffic Between States]]></title><description><![CDATA[Use custom made pie charts to visualize U.S. Map of State-to-State Travel]]></description><link>https://data4sci.substack.com/p/airline-traffic-between-states</link><guid isPermaLink="false">https://data4sci.substack.com/p/airline-traffic-between-states</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Tue, 21 Apr 2026 20:53:01 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!KcVW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2de96c14-35c2-4ba2-ae9c-63863917a5e1_1589x1106.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Pie charts have a rich history. <a href="https://en.wikipedia.org/wiki/Pie_chart#History">William Playfair</a> first used them in 1801, and despite decades of criticism from data visualization purists, they remain one of the most instantly recognizable ways to show proportions. Today we'll put them to work in a decidedly non-standard way: placing custom-built pie charts directly on a geographic map to reveal where Americans fly.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p>You can find the companion notebook on the Visualizarion for Data Science GitHub repository:</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://github.com/DataForScience/Viz4sci&quot;,&quot;text&quot;:&quot;Visualization For Science GitHub&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://github.com/DataForScience/Viz4sci"><span>Visualization For Science GitHub</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ydTG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ydTG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ydTG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0aff2125-c801-4968-985d-479c9506a82d_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ydTG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!ydTG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0aff2125-c801-4968-985d-479c9506a82d_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>The <a href="https://www.transtats.bts.gov/Tables.asp?QO_VQ=EED&amp;QO_anzr=Nv4%FDPn44vr4%FDf6n6v56vp5%FD%FLS14z%FDHE%FDg4nssvp%FM-%FD%FDh.f.%FDPn44vr45&amp;QO_fu146_anzr=Nv4%FDPn44vr45">Bureau of Transportation Statistics</a> provides a wide range of datasets on US and global transportation infrastructure. We have used it previously <a href="https://data4sci.substack.com/p/graphs-101">here</a>, <a href="https://data4sci.substack.com/p/network-assortativity-and-the-configurational">here</a>, and <a href="https://data4sci.substack.com/p/geographical-maps-with-cartopy">here</a>.</p><p>The first step in our analysis is to extract the Top destinations for each state. We sort the outgoing destination of each state and extract the Top <strong>n:</strong></p>
      <p>
          <a href="https://data4sci.substack.com/p/airline-traffic-between-states">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Choropleth Maps]]></title><description><![CDATA[In this post, we will learn how to quickly and easily plot geographical data using Shapefiles from the Census Bureau, geopandas, and matplotlib.]]></description><link>https://data4sci.substack.com/p/choropleth-maps</link><guid isPermaLink="false">https://data4sci.substack.com/p/choropleth-maps</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Wed, 02 Apr 2025 14:49:30 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d88641d-7dca-47c3-85f8-f6cb2dffd933_1260x774.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this post, we will learn how to quickly and easily plot geographical data using Shapefiles from the Census Bureau, geopandas, and matplotlib.</p><p>We hope your enjoy this post and don&#8217;t forget to</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p>so you never miss a post and</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://data4sci.substack.com/p/choropleth-maps?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://data4sci.substack.com/p/choropleth-maps?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p>to help us grow! </p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v7wD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>The <a href="https://www.census.gov/">US Census Bureau</a> provides detailed shapefiles for <a href="https://www.census.gov/geographies/mapping-files.html">various regions</a> in the US. We download the <a href="https://www2.census.gov/geo/tiger/GENZ2018/shp/cb_2018_us_state_500k.zip">shapefile</a> for the 50 States. And load it with <a href="https://geopandas.org/en/stable/">GeoPandas</a>:</p>
      <p>
          <a href="https://data4sci.substack.com/p/choropleth-maps">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[The Effect of Vaccines]]></title><description><![CDATA[Welcome to the latest post of the Viz4Sci Substack!]]></description><link>https://data4sci.substack.com/p/the-effect-of-vaccines</link><guid isPermaLink="false">https://data4sci.substack.com/p/the-effect-of-vaccines</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Wed, 05 Jul 2023 14:56:40 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e2a59c6-49c7-45dd-9b5b-b9f58109ef34_1646x1170.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to the latest post of the Viz4Sci Substack! In this post we will learn how to reconstruct one of the most famous visualizations of the effects of vaccination of disease prevalence, originally published by the Wall Street Journal in 2015. We&#8217;ll use the original WSJ data and build the entire visualization using nothing but matplotlib.</p><p>We hope your enjoy this post and don&#8217;t forget to</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p>so you never miss a post and</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/the-effect-of-vaccines?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/the-effect-of-vaccines?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share"><span>Share</span></a></p><p>to help us grow! We&#8217;re looking forward to hearing your thoughts, so go ahead and&#8230;.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/the-effect-of-vaccines/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/the-effect-of-vaccines/comments"><span>Leave a comment</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v7wD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>In a <a href="https://viz4sci.substack.com/p/pyramid-plot">previous post</a>, we explore the inverse correlation between vaccination rates and deaths. Here we explore the effect that vaccination has on disease prevalence, the number of infected individuals per capita.</p><p>The original visualization was published in the Wall Street Journal back on Feb 11th, 2015 and covers 7 different disease/vaccine pairs. For simplicity, we&#8217;ll focus on the figure for <a href="https://en.wikipedia.org/wiki/Measles">Measles</a>, a childhood diesease that used to <a href="https://www.who.int/news-room/fact-sheets/detail/measles">kill up to 2.6 million</a> people per year, before the advent of va&#8230;</p>
      <p>
          <a href="https://data4sci.substack.com/p/the-effect-of-vaccines">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Waterfall Chart]]></title><description><![CDATA[The Gross Domestic Product is perhaps the most common measure of the economic health of a specific country or region, and it is composed of the monetary value of all the goods and services produced and sold in a given quarter or year.]]></description><link>https://data4sci.substack.com/p/waterfall-chart</link><guid isPermaLink="false">https://data4sci.substack.com/p/waterfall-chart</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 26 Feb 2023 15:44:58 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa102905e-29b8-4bc2-be37-d8426bf10476_1093x1377.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>The <a href="https://en.wikipedia.org/wiki/Gross_domestic_product">Gross Domestic Product</a> is perhaps the most common measure of the economic health of a specific country or region, and it is composed of the monetary value of all the goods and services produced and sold in a given quarter or year. Naturally, such a complex metric is composed of many individual components each with its contribution.</p><p>In this post, we will download GDP data from the <a href="https://www.bea.gov/">Bureau of Economic Analysis (BEA)</a> and use a Waterfall Chart to compare how it changed between the second quarter of 2019 and 2020. <a href="https://en.wikipedia.org/wiki/Waterfall_chart">Waterfall Charts</a> are 2D diagrams used to highlight how different components contribute to explaining a change in the value of a specific quantity, making them ideal for this specific application. McKinsey, a consulting firm, popularized Waterfall Charts and they&#8217;ve since gained popularity in financial applications.</p><p>The data we will be using can be found in Table 14 of this <a href="https://www.bea.gov/sites/default/files/2020-09/gdp2q20_3rd.xlsx">spreadsheet</a> which can be downloaded from the BEA website.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://www.bea.gov/sites/default/files/2020-09/gdp2q20_3rd.xlsx" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!TrdO!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png 424w, https://substackcdn.com/image/fetch/$s_!TrdO!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png 848w, https://substackcdn.com/image/fetch/$s_!TrdO!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png 1272w, https://substackcdn.com/image/fetch/$s_!TrdO!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!TrdO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png" width="1456" height="709" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:709,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:859563,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://www.bea.gov/sites/default/files/2020-09/gdp2q20_3rd.xlsx&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!TrdO!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png 424w, https://substackcdn.com/image/fetch/$s_!TrdO!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png 848w, https://substackcdn.com/image/fetch/$s_!TrdO!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png 1272w, https://substackcdn.com/image/fetch/$s_!TrdO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78e966ce-24b1-4e6e-8ed6-dab922ded27d_1960x954.png 1456w" sizes="100vw" loading="lazy" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The data can be downloaded directly into a pandas &#8230;</p>
      <p>
          <a href="https://data4sci.substack.com/p/waterfall-chart">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Photo Color Scheme]]></title><description><![CDATA[Welcome to the latest post of the Viz4Sci Substack!]]></description><link>https://data4sci.substack.com/p/photo-color-scheme</link><guid isPermaLink="false">https://data4sci.substack.com/p/photo-color-scheme</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Wed, 31 Aug 2022 00:33:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fb23556f0-828f-4f76-b735-ea6f00b406df_696x470.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to the latest post of the Viz4Sci Substack! This week we explore how to manipulate, extract the main colors, and reduce the number of colors of arbitrary images using just matplotlib and sklearn.</p><p>We hope your enjoy this post and don&#8217;t forget to</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p>so you never miss a post and</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/photo-color-scheme?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/photo-color-scheme?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share"><span>Share</span></a></p><p>to help us grow! We&#8217;re looking forward to hearing your thoughts, so go ahead and&#8230;.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/photo-color-scheme/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/photo-color-scheme/comments"><span>Leave a comment</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v7wD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw" loading="lazy" fetchpriority="high"></picture><div></div></div></a></figure></div><p>In a <a href="https://viz4sci.substack.com/p/color-blindness">previous post</a>, we took our first steps in image manipulation by simulating how a given photo looks for people with different kinds of color blindness. Today we continue exploring how to easily extract the dominant colors from an image.</p><p>For the purposes of this post, we&#8217;ll being using a <a href="https://www.flickr.com/photos/bgoncalves/14535666050/">colorful photo</a> from a Buddhist temple in Singapore:</p>
      <p>
          <a href="https://data4sci.substack.com/p/photo-color-scheme">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Rotating Global Heatmap]]></title><description><![CDATA[As record temperatures are being felt across the globe, this week we visualize the temperature anomaly for the month of June 2022 dowloaded from the website of NASAs Goddard Institute for Space Studies. The data compares the average temperature during the past month with the average observed in the period between 2007 and 2016 at a resolution of 250km.]]></description><link>https://data4sci.substack.com/p/rotating-global-heatmap</link><guid isPermaLink="false">https://data4sci.substack.com/p/rotating-global-heatmap</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 24 Jul 2022 19:57:55 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F89ed22d3-fc54-4ce1-8e28-cc5bf955f138_815x423.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>As record temperatures are <a href="https://www.nbcnews.com/news/weather/record-breaking-temperatures-forecast-heat-wave-blasts-us-rcna39728">being felt across the globe</a>, this week we visualize the temperature anomaly for the month of June 2022 dowloaded from the website of <a href="https://data.giss.nasa.gov/gistemp/maps/index.html">NASAs </a><a href="https://www.giss.nasa.gov/">Goddard Institute for Space Studies</a>. The data compares the average temperature during the past month with the average observed in the period between 2007 and 2016 at a resolution of 250km.</p><p>As always, all the code public in the form of a self contained Jupyter notebook.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p>and:</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/rotating-global-heatmap?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/rotating-global-heatmap?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share"><span>Share</span></a></p><p>we&#8217;re looking forward to hearing your thoughts, so go ahead and</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/rotating-global-heatmap/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/rotating-global-heatmap/comments"><span>Leave a comment</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v7wD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>NASA makes its data available in multiple formats, including the fixed width text file we&#8217;ll be using.</p>
      <p>
          <a href="https://data4sci.substack.com/p/rotating-global-heatmap">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[The Mandelbrot Set]]></title><description><![CDATA[This week we explore the Mandelbrot Set, one of the best known fractals, and use them to illustrate how we can use ConnectionPatch to draw lines connecting different subplots within the same figure in a simple and convenient way.]]></description><link>https://data4sci.substack.com/p/the-mandelbrot-set</link><guid isPermaLink="false">https://data4sci.substack.com/p/the-mandelbrot-set</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Thu, 30 Jun 2022 22:15:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F65175269-cebd-4e5b-87f7-0a26b4be781a_1130x572.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>This week we explore the Mandelbrot Set, one of the best known fractals, and use them to illustrate how we can use ConnectionPatch to draw lines connecting different subplots within the same figure in a simple and convenient way.</p><p>As always, all the code public in the form of a self contained Jupyter notebook.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p>and</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/the-mandelbrot-set?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/the-mandelbrot-set?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share"><span>Share</span></a></p><p>we&#8217;re looking forward to hearing your thoughts, so go ahead and</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/the-mandelbrot-set/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/the-mandelbrot-set/comments"><span>Leave a comment</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v7wD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>The Mandelbrot Set is the set of complex numbers <em><strong>c</strong></em> for which the function</p>
      <p>
          <a href="https://data4sci.substack.com/p/the-mandelbrot-set">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Unknown Pleasures Plot]]></title><description><![CDATA[This week we reconstruct one of the most iconic album covers of the twentieth century using nothing but standard matplotlib and learn more about how matplotlib handles the z-order of the different components of a plot.]]></description><link>https://data4sci.substack.com/p/unknown-pleasures-plot</link><guid isPermaLink="false">https://data4sci.substack.com/p/unknown-pleasures-plot</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 22 May 2022 16:38:38 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F18aa7106-5457-4009-94ee-05108abcb30f_679x625.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>This week we reconstruct one of the most iconic album covers of the twentieth century using nothing but standard matplotlib and learn more about how matplotlib handles the z-order of the different components of a plot.</p><p>As always, all the code public in the form of a self contained Jupyter notebook.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/unknown-pleasures-plot?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/unknown-pleasures-plot?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share"><span>Share</span></a></p><p>we&#8217;re looking forward to hearing your thoughts, so go ahead and</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/unknown-pleasures-plot/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/unknown-pleasures-plot/comments"><span>Leave a comment</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v7wD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>In this post we explore how to recreate the cover of the 1979 &#8220;<a href="https://en.wikipedia.org/wiki/Joy_Division">Joy Division</a>&#8221; album &#8220;<a href="https://en.wikipedia.org/wiki/Unknown_Pleasures">Unknown Pleasures</a>&#8221;. The album cover image has a <a href="https://www.washingtonpost.com/entertainment/music/how-joy-divisions-unknown-pleasures-image-went-from-underground-album-cover-to-piece-of-cultural-ubiquity/2019/06/14/26e75338-8c76-11e9-adf3-f70f78c156e8_story.html">fascinating</a> <a href="https://blogs.scientificamerican.com/sa-visual/pop-culture-pulsar-the-science-behind-joy-division-s-unknown-pleasures-album-cover/">story</a>. It is a slightly modified plot from the 1970 PhD thesis by Harold Craft about the first <a href="https://en.wikipedia.org/wiki/Pulsar">Pulsar</a> ever discovered.</p>
      <p>
          <a href="https://data4sci.substack.com/p/unknown-pleasures-plot">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[NASA Climate Spiral]]></title><description><![CDATA[Welcome to the latest issue of the V4Sci substack.]]></description><link>https://data4sci.substack.com/p/nasa-climate-spiral</link><guid isPermaLink="false">https://data4sci.substack.com/p/nasa-climate-spiral</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Wed, 30 Mar 2022 22:59:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F9386dee8-093c-4c22-aaf9-badb7030cf32_930x884.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to the latest issue of the V4Sci substack. This week we create our own version of the climate spiral animation that NASA published recently: https://climate.nasa.gov/climate_resources/300/video-climate-spiral/. We use the original dataset and add a few modifications of our own!</p><p>As usual, we use just matplotlib and make all the code public in the form of a self contained Jupyter notebook.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/nasa-climate-spiral?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/nasa-climate-spiral?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share"><span>Share</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p>We&#8217;re looking forward to hearing your thoughts, so go ahead and&#8230;.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/nasa-climate-spiral/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/nasa-climate-spiral/comments"><span>Leave a comment</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v7wD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>NASA has recently <a href="https://climate.nasa.gov/climate_resources/300/video-climate-spiral/">published</a> a nice animation of the monthly global temperature anomaly (changes from an average) between the years 1880 and 2022. Colder than average temperatures are represented in blue and white, while warmer than average temperatures are shown in red. Unsurprisingly, global temperatures have increased from mainly human activities as time has progressed.</p><p>We download the original dataset form <a href="https://data.giss.nasa.gov/gistemp/tabledata_v4/GLB.Ts+dSST.csv">here</a> and perform a small amount of preprocessing</p>
      <p>
          <a href="https://data4sci.substack.com/p/nasa-climate-spiral">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[3D Surface Plot]]></title><description><![CDATA[Welcome to the latest post of the Viz4Sci substack.]]></description><link>https://data4sci.substack.com/p/3d-surface-plot</link><guid isPermaLink="false">https://data4sci.substack.com/p/3d-surface-plot</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 20 Feb 2022 15:57:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7febcf55-bc12-4f6d-bfb5-84576821c0d6_728x359.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to the latest post of the Viz4Sci substack. This week we continue the exploration of matplotlib&#8217;s 3D plotting capabilities that we started in a <a href="https://viz4sci.substack.com/p/christmas-tree-animation?s=w">previous post</a> by using <strong>plot_surface</strong> to generate a 3D view of the population distribution of the 48 lower United States.</p><p>We finalize by adding a custom light source and shading to make the resulting figure more appealing.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/3d-surface-plot?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/3d-surface-plot?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share"><span>Share</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p>We&#8217;re looking forward to hearing your thoughts, so go ahead and&#8230;.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/3d-surface-plot/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/3d-surface-plot/comments"><span>Leave a comment</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v7wD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><h1>US population map</h1><p>For this visualization, we&#8217;ll use the population of the 48 contiguous United States from NASA&#8217;s <a href="https://sedac.ciesin.columbia.edu/data/collection/gpw-v4">Gridded Population of the World</a> project that provides the number of residents within a grid where each cell has a resolution of 0.25&#176;x0.25&#176;.</p><p>As always, <a href="https://matplotlib.org/3.5.1/api/_as_gen/matplotlib.pyplot.imshow.html">imshow</a> provides us with a quick heatmap of the data where all the major cities are easily identifiable.</p>
      <p>
          <a href="https://data4sci.substack.com/p/3d-surface-plot">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Christmas Tree Animation]]></title><description><![CDATA[Welcome to a very special Christmas post of the Viz4Sci Substack!]]></description><link>https://data4sci.substack.com/p/christmas-tree-animation</link><guid isPermaLink="false">https://data4sci.substack.com/p/christmas-tree-animation</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 26 Dec 2021 13:49:52 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fb6579def-c2cb-4188-b050-7981864d8ac1_632x632.gif" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to a very special Christmas post of the Viz4Sci Substack! This week we use the matplotlib 3D plotting and animation capabilities to generate a quick rotating Christmas tree GIF.</p><p>While relatively simple (and technically not a visualization) this quick example provides us with a minimalistic example of how easy it is to animate plots using matplotlib, even in 3D.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/christmas-tree-animation?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/christmas-tree-animation?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share"><span>Share</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p>And we&#8217;re looking forward to hearing your thoughts, so go ahead and&#8230;.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/christmas-tree-animation/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/christmas-tree-animation/comments"><span>Leave a comment</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v7wD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>Let us start by using some basic <a href="https://numpy.org/doc/stable/user/quickstart.html">numpy</a> functions to create a simple 3D plot of two expanding spirals to make a stylized Christmas tree. We even add a Golden Diamond as a topper.</p><p>As you recall from our previous 3D <a href="https://viz4sci.substack.com/p/3d-plot">post</a>, after we set the 3D projection to the matplotlib <a href="https://matplotlib.org/2.0.2/mpl_toolkits/mplot3d/tutorial.html">Axes object</a>, we can just add a Z component to our points:</p>
      <p>
          <a href="https://data4sci.substack.com/p/christmas-tree-animation">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Pyramid Plot]]></title><description><![CDATA[Welcome to this weeks post of the Viz4Sci Substack!]]></description><link>https://data4sci.substack.com/p/pyramid-plot</link><guid isPermaLink="false">https://data4sci.substack.com/p/pyramid-plot</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 05 Dec 2021 23:23:05 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F8ed5d1ea-9ba3-4202-881d-4094d3fda8e8_625x872.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to this weeks post of the Viz4Sci Substack! In this post we show you how to use matplotlib and seaborn to create a Pyramid plot by recreating a recent plot by the European Centers for Disease Control comparing the Vaccination rate and number of deaths per million inhabitants in the various EU countries.</p><p>Despite its simplicity, it is an informative and visually appealing plot that can be easily modified for other comparisons.</p><p>We hope you enjoy it, and of course, don&#8217;t forget to:</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/pyramid-plot?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/pyramid-plot?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share"><span>Share</span></a></p><p>and</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p>so you never miss a post!</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v7wD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>This week we will show you how to generate an beautiful yet informative visualization recently published by the European Centers for Disease Control (<a href="https://www.facebook.com/EuropeanCommission/photos/a.169236379790517/4663050740409036/">ECDC</a>) that you might have seen on social media.</p>
      <p>
          <a href="https://data4sci.substack.com/p/pyramid-plot">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Florence Nightingale Rose Plot]]></title><description><![CDATA[Welcome to this weeks post of the Viz4Sci Substack!]]></description><link>https://data4sci.substack.com/p/florence-nightingale-rose-plot</link><guid isPermaLink="false">https://data4sci.substack.com/p/florence-nightingale-rose-plot</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 21 Nov 2021 17:41:48 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F5f83f531-a307-486a-b550-7db72fcd71e4_1292x828.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to this weeks post of the Viz4Sci Substack! In this post we show you how to recreate one of histories most famous plots, the Rose Plot, created by Florence Nightingale over 160 years ago to highlight the toll of infectious disease amount British soldiers during the Crimean war.</p><p>Don&#8217;t forget to</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p>and</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/florence-nightingale-rose-plot?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/florence-nightingale-rose-plot?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share"><span>Share</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v7wD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p><a href="https://en.wikipedia.org/wiki/Florence_Nightingale">Florence Nightingale</a>, was a trainer of nurses in Constantinople (now <a href="https://www.youtube.com/watch?v=rNUsOaB5V2c">Istanbul</a>) during the 1853-1856 <a href="https://en.wikipedia.org/wiki/Crimean_War">Crimean War</a>. During her work, she collected an amazing amount of statistics on the causes of death of British soldiers. After the war, in 1858, she published the book &#8220;<a href="https://archive.org/details/b20387118">Notes on matters affecting the health, efficiency, and hospital administration of the British Army</a>&#8221; with a detailed statistical analyses and visualizations that became one of the corner stones of modern day Statistics, Visualization and Public Health.</p><p>In her book, Nightingale makes the point that preventable (in particular, infectious) diseases were the greatest killer during the Crimean War. Her data and analyses lead to si&#8230;</p>
      <p>
          <a href="https://data4sci.substack.com/p/florence-nightingale-rose-plot">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Geographical Maps with Cartopy]]></title><description><![CDATA[Welcome to this weeks post of the Viz4Sci Substack!]]></description><link>https://data4sci.substack.com/p/geographical-maps-with-cartopy</link><guid isPermaLink="false">https://data4sci.substack.com/p/geographical-maps-with-cartopy</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 05 Sep 2021 16:36:55 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F639d5eb0-cd2d-4aa9-a360-bfa05d95c2dc_590x591.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to this weeks post of the Viz4Sci Substack! This week we introduce you to some of amazing functionality of Cartopy, a state of the art package for geospatial processing and visualization. With it, we&#8217;ll create a beautiful global visualization of the location of every airport using BTS data.</p><p>Don&#8217;t forget to</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p>and</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/geographical-maps-with-cartopy?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/geographical-maps-with-cartopy?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share"><span>Share</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v7wD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><h1>Airport Locations</h1><p>The <a href="https://www.bts.gov/">Bureau of Transportation Statistics</a> collates a huge amount of information about US transportation networks. In the case of airports, we can download detailed information about each airport to which a US airline flies to (or that has direct flights to the US) from the BTS Tables, whimsically named &#8220;<a href="https://www.transtats.bts.gov/Tables.asp?DB_ID=595&amp;DB_Name=Aviation%20Support%20Tables&amp;DB_Short_Name=Aviation%20Support%20Tables">Master Coordinate</a>&#8221; Table that BTS describes as:</p><blockquote><p>This table contains historical (time-based) information on airports used throughout the aviation databases. It provides a list of domestic and foreign airport codes and their associated world area code, country information, state information (if applicable), city name, airport name, city market information, and la&#8230;</p></blockquote>
      <p>
          <a href="https://data4sci.substack.com/p/geographical-maps-with-cartopy">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Candlestick Chart]]></title><description><![CDATA[In this weeks post of the Viz4Sci Substack we implement a nice Candlestick Chart from scratch in matplotlib to visualize DJIA stock prices.]]></description><link>https://data4sci.substack.com/p/candlestick-chart</link><guid isPermaLink="false">https://data4sci.substack.com/p/candlestick-chart</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 29 Aug 2021 18:56:50 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf78e175-973c-4a3b-a6af-ff98862ce6c9_900x606.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this weeks post of the Viz4Sci Substack we implement a nice Candlestick Chart from scratch in matplotlib to visualize DJIA stock prices. Candlestick Charts are a powerful way of summarizing a lot of information about the hourly, daily or monthly price movements that dates back to the XVIIIth century Japan and are still used today in the stock market.</p><p>We hope you enjoy this post and&#8230;</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/candlestick-chart?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/candlestick-chart?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share"><span>Share</span></a></p><p>share it so we can continue to grow, and don&#8217;t for get to&#8230;</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p>subscribe to make sure you never miss a post. We&#8217;re looking forward to hearing your thoughts, so go ahead and&#8230;.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/candlestick-chart/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/candlestick-chart/comments"><span>Leave a comment</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!qTTK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!qTTK!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!qTTK!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!qTTK!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!qTTK!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!qTTK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/bd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!qTTK!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!qTTK!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!qTTK!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!qTTK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>Candlestick Charts summarize the four most important values in any trading period, High, Low, Open and Close, in a compact and characteristic shape from where their name is derived:</p>
      <p>
          <a href="https://data4sci.substack.com/p/candlestick-chart">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Matplotlib Heatmap]]></title><description><![CDATA[Welcome to the latest post of the Viz4Sci Substack!]]></description><link>https://data4sci.substack.com/p/matplotlib-heatmap</link><guid isPermaLink="false">https://data4sci.substack.com/p/matplotlib-heatmap</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sat, 07 Aug 2021 21:54:15 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc5e879b-f14c-4712-a1d3-110c9d38c22f_747x721.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to the latest post of the Viz4Sci Substack! This week we play around with matploltib&#8217;s heatmap functionality and use it to visualize the peak times of the Top 50 countries by number of CoVID-19 cases.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/matplotlib-heatmap?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/matplotlib-heatmap?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share"><span>Share</span></a></p><p>And we&#8217;re looking forward to hearing your thoughts, so go ahead and&#8230;.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/matplotlib-heatmap/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/matplotlib-heatmap/comments"><span>Leave a comment</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!qTTK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!qTTK!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!qTTK!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!qTTK!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!qTTK!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!qTTK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/bd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:3653,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!qTTK!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!qTTK!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!qTTK!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!qTTK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd890a24-801f-4acc-99a4-4771b8abe0be_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>This week we once again use the JHU CoVID dataset has steadily become the unofficial standard dataset for the number of cases and deaths around the world. Yo can checkout out our previous post using this data repository <a href="https://viz4sci.substack.com/p/time-series-state-map">in the time series state map</a> post.</p><p>Today&#8217;s application is fairly straightforward. After some normalization and sorting, we simply use <a href="https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.imshow.html">plt.imshow</a> (we used it a couple weeks ago to display photos in the <a href="https://viz4sci.substack.com/p/color-blindness">Color Blindness post</a>) to display our matrix of values as a heatmap:</p>
      <p>
          <a href="https://data4sci.substack.com/p/matplotlib-heatmap">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[GapMinder bubble plot ]]></title><description><![CDATA[This week we look at how we can combine the all the goodness of Seaborn and Matplotlib to generate Gapminder-like bubble plots.]]></description><link>https://data4sci.substack.com/p/gapminder-bubble-plot</link><guid isPermaLink="false">https://data4sci.substack.com/p/gapminder-bubble-plot</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 01 Aug 2021 18:49:21 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2086b80-b53f-4db7-b9cd-864dc011130b_1000x712.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>This week we look at how we can combine the all the goodness of Seaborn and Matplotlib to generate <a href="https://www.gapminder.org/">Gapminder</a>-like bubble plots.</p><p>This kind of plot was developed and popularized by the amazing <a href="https://en.wikipedia.org/wiki/Hans_Rosling">Hans Rosling</a>, a Swedish physician, public speaker, and science popularizer. You should definitely checkout his <a href="https://www.youtube.com/watch?v=hVimVzgtD6w">TED talk</a> and his book, <a href="https://amzn.to/3jexjhk">Factfulness</a>, if you haven&#8217;t yet. Truly amazing stuff.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/gapminder-bubble-plot?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/gapminder-bubble-plot?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share"><span>Share</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!r-Rf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ca59b0-a21e-40a7-bad8-c71eb2423d0b_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!r-Rf!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ca59b0-a21e-40a7-bad8-c71eb2423d0b_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!r-Rf!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ca59b0-a21e-40a7-bad8-c71eb2423d0b_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!r-Rf!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ca59b0-a21e-40a7-bad8-c71eb2423d0b_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!r-Rf!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ca59b0-a21e-40a7-bad8-c71eb2423d0b_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!r-Rf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ca59b0-a21e-40a7-bad8-c71eb2423d0b_1400x76.png" width="1400" height="76" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/f2ca59b0-a21e-40a7-bad8-c71eb2423d0b_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:76,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:3653,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!r-Rf!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ca59b0-a21e-40a7-bad8-c71eb2423d0b_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!r-Rf!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ca59b0-a21e-40a7-bad8-c71eb2423d0b_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!r-Rf!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ca59b0-a21e-40a7-bad8-c71eb2423d0b_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!r-Rf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ca59b0-a21e-40a7-bad8-c71eb2423d0b_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>Bubble plots are ideal ways to encode multiple features of our dataset within a single plot in an intuitive and appealing way. In particular, we&#8217;ll generate a plot where we will display 4 different features for each country in our dataset.</p>
      <p>
          <a href="https://data4sci.substack.com/p/gapminder-bubble-plot">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Color Blindness]]></title><description><![CDATA[Welcome to the latest post of the Viz4Sci Substack!]]></description><link>https://data4sci.substack.com/p/color-blindness</link><guid isPermaLink="false">https://data4sci.substack.com/p/color-blindness</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 25 Jul 2021 13:29:54 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fcda6b22b-a26d-40be-8dfa-1972204b03a3_597x856.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to the latest post of the Viz4Sci Substack! This week we have a look at how we can check out what our figures look like to people with different kinds of color blindness.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/color-blindness?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/color-blindness?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share"><span>Share</span></a></p><p>And we&#8217;re looking forward to hearing your thoughts, so go ahead and&#8230;.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/color-blindness/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/color-blindness/comments"><span>Leave a comment</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v7wD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p><a href="https://en.wikipedia.org/wiki/Color_blindness">Color blindness</a> is a genetic condition that impacts the way the cones in your retina are able to perceive different light colors (wavelengths) and that affects about 8% of individuals and even well known personalities like <a href="https://en.wikipedia.org/wiki/Fred_Rogers">Mr. Rogers</a>, <a href="https://www.newyorker.com/magazine/2010/09/20/the-face-of-facebook">Mark Zuckerberg</a> (which is why the Facebook logo is blue) and, reportedly, even <a href="https://en.wikipedia.org/wiki/Bill_Clinton">Bill Clinton</a>.</p>
      <p>
          <a href="https://data4sci.substack.com/p/color-blindness">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[3D Plot]]></title><description><![CDATA[Welcome to the latest post of the Viz4Sci Substack!]]></description><link>https://data4sci.substack.com/p/3d-plot</link><guid isPermaLink="false">https://data4sci.substack.com/p/3d-plot</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 11 Jul 2021 15:10:27 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fb790ba92-c4a4-47a4-bff2-3134c7c141a5_919x884.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to the latest post of the Viz4Sci Substack! This week we have a quick introduction to 3D plotting in matplotlib using a simple Fourier Transform visualization.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/3d-plot?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/3d-plot?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share"><span>Share</span></a></p><p>And we&#8217;re looking forward to hearing your thoughts, so go ahead and&#8230;.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/3d-plot/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/3d-plot/comments"><span>Leave a comment</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v7wD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>We&#8217;re all familiar with matplotlib&#8217;s capabilities in all forms of 2-dimensional plots, but did you know that it&#8217;s just as easy to generate beautiful 3D plots with everyone&#8217;s favorite Python plotting library? This week we explore a little known matplotlib functionality, 3D plots.</p><p>To create a 3D Axis object, all you need to do is use <a href="https://matplotlib.org/stable/gallery/mplot3d/subplot3d.html">add_subplot</a> to add a new subplot to an existing figure and set its projection to &#8220;3d&#8221;.</p>
      <p>
          <a href="https://data4sci.substack.com/p/3d-plot">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Time Series State Map]]></title><description><![CDATA[Welcome to the second post of the Viz4Sci Substack!]]></description><link>https://data4sci.substack.com/p/time-series-state-map</link><guid isPermaLink="false">https://data4sci.substack.com/p/time-series-state-map</guid><dc:creator><![CDATA[Bruno Gonçalves]]></dc:creator><pubDate>Sun, 04 Jul 2021 14:05:36 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F51f38c15-9e0e-4eec-8b98-f9777dddaa7b_1144x822.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to the second post of the Viz4Sci Substack! This week we work through a stylized map of the United States where each state is represented by a square with a time series of the number of CoVID-19 cases.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://viz4sci.substack.com/p/time-series-state-map?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://viz4sci.substack.com/p/time-series-state-map?utm_source=substack&amp;utm_medium=email&amp;utm_content=share&amp;action=share"><span>Share</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v7wD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!v7wD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 424w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 848w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1272w, https://substackcdn.com/image/fetch/$s_!v7wD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff3cc66b-508c-4344-ad75-4752a5d07fd6_1400x76.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>This week we&#8217;ll use the Johns Hopkins University CoVID19 dataset which is the standard dataset for the number of cases and deaths around the world. You can download the continuously updated data from their <a href="https://github.com/CSSEGISandData/COVID-19/">GitHub repository</a>. In particular, we will use the file (<a href="https://github.com/CSSEGISandData/COVID-19/tree/master/csse_covid_19_data/csse_covid_19_time_series">time_series_covid19_confirmed_US.csv</a>) for the United States.</p><p><a href="https://matplotlib.org/">Matplotlib</a> supports a wide range of <a href="https://matplotlib.org/stable/api/patches_api.html">patches</a> that correspond to simple geometric shapes like <a href="https://matplotlib.org/stable/api/_as_gen/matplotlib.patches.Arrow.html#matplotlib.patches.Arrow">Arrow</a>s, <a href="https://matplotlib.org/stable/api/_as_gen/matplotlib.patches.Circle.html#matplotlib.patches.Circle">Circle</a>s, <a href="https://matplotlib.org/stable/api/_as_gen/matplotlib.patches.Rectangle.html#matplotlib.patches.Rectangle">Rectangle</a>s, etc. For our map, we will use <a href="https://matplotlib.org/stable/api/_as_gen/matplotlib.patches.FancyBboxPatch.html#matplotlib.patches.FancyBboxPatch">FancyBoxPatch</a> to draw rectangles with rounded corners at specific x, y coordinates.</p><p>Patches are added to a pre-existing matplotlib Axes object by creating a <a href="https://matplotlib.org/stable/api/collections_api.html?highlight=patchcollection#matplotlib.collections.PatchCollection">PatchCollection</a> that you can instantiate with a list of patches and respective colors. Creating our map is then pretty simple, all we need to do is create a <a href="https://matplotlib.org/stable/api/_as_gen/matplotlib.patches.FancyBboxPatch.html#matplotlib.patches.FancyBboxPatch">Fanc&#8230;</a></p>
      <p>
          <a href="https://data4sci.substack.com/p/time-series-state-map">
              Read more
          </a>
      </p>
   ]]></content:encoded></item></channel></rss>