<?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:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Maption - Medium]]></title>
        <description><![CDATA[Maption is a mapping and data visualization studio. https://maption.io - Medium]]></description>
        <link>https://medium.com/maptian?source=rss----ac2f5cf630b3---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Maption - Medium</title>
            <link>https://medium.com/maptian?source=rss----ac2f5cf630b3---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 16:44:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/maptian" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Germ City: Mapping Cholera in NYC]]></title>
            <link>https://medium.com/maptian/germ-city-mapping-cholera-in-nyc-d7ebf40d91cd?source=rss----ac2f5cf630b3---4</link>
            <guid isPermaLink="false">https://medium.com/p/d7ebf40d91cd</guid>
            <category><![CDATA[cholera]]></category>
            <category><![CDATA[mapbox]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[epidemiology]]></category>
            <category><![CDATA[maps]]></category>
            <dc:creator><![CDATA[Dan McCarey]]></dc:creator>
            <pubDate>Thu, 24 Jan 2019 21:36:55 GMT</pubDate>
            <atom:updated>2019-01-24T22:08:55.268Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ywymh5iMa8ywS5JMTMudZg@2x.jpeg" /><figcaption>Mapping Cholera on display at Germ City at the Museum of the City of New York</figcaption></figure><p><a href="https://maptian.com/">Our</a> <a href="http://choleramap.pulitzercenter.org/">Mapping Cholera</a> data visualization is currently on display at the Museum of the City of New York as part of the <a href="https://www.mcny.org/exhibition/germ-city">Germ City: Microbes and the Metropolis</a> exhibit, so I wanted to share a bit of background on the project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*If14lj3DnK9dLmMOz7Hbuw@2x.jpeg" /><figcaption>The Germ City exhibit at the Museum of the City of New York runs until late April 2019</figcaption></figure><p>Cholera is not something we associate with modern NYC, but in the first half of the 19th century Cholera epidemics were a regular occurrence as you can see in this graphic from the exhibition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dSUF0eM2jQggeQwPfqD39Q@2x.jpeg" /><figcaption>Cholera epidemics hit NYC hard in the first half of the 19th century</figcaption></figure><p>Narrated by science journalist and prize-winning author, <a href="http://soniashah.com/">Sonia Shah</a>, and funded by the <a href="http://pulitzercenter.org/">Pulitzer Center</a>, <a href="https://choleramap.pulitzercenter.org/">Mapping Cholera</a> explains why conditions at the time were so favorable to <a href="https://en.wikipedia.org/wiki/Vibrio_cholerae"><em>Vibrio cholerae</em></a>.</p><p>The original visualization was built for <a href="https://www.scientificamerican.com/article/mapping-cholera-tale-of-2-cities/">Scientific American</a> in 2014 using <a href="https://www.scientificamerican.com/article/mapping-cholera-tale-of-2-cities/">Mapbox.js</a> and a dataset that Sonia had uncovered during her research that we geocoded using a historical map from the New York Public Library’s <a href="http://maps.nypl.org/warper/">Map Warper</a> project.</p><p>The Museum particularly liked the time series animations in the original, so I created some updated plots using <a href="https://docs.mapbox.com/mapbox-gl-js/api/">Mapbox GL</a> (which didn’t exist in 2014) specifically for the exhibit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fh2wMmLKWjSDaDprfbiWnA@2x.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aRDbTENSrH6h63_JwW8gEw@2x.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5v4LFbzx38YYy7bYTAdzyg@2x.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*51HiVCb-t2mgLBThSEVppw@2x.jpeg" /><figcaption>Mapping Cholera at Germ City: Microbes and the Metropolis</figcaption></figure><p>The Germ City exhibit is on display until late April 2019. It’s well worth a visit.</p><p><a href="https://maptian.com/">Maptian</a> is a mapping and data visualization studio. If you’re looking for help visualizing data around disease and epidemics, drop us a line at <a href="/service/mailto:hello@maptian.com">hello@maptian.com</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d7ebf40d91cd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/maptian/germ-city-mapping-cholera-in-nyc-d7ebf40d91cd">Germ City: Mapping Cholera in NYC</a> was originally published in <a href="https://medium.com/maptian">Maption</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Visualizing Near Surface Air Temperature in 2100]]></title>
            <link>https://medium.com/maptian/visualizing-near-surface-air-temperature-in-2100-d38816d61ad9?source=rss----ac2f5cf630b3---4</link>
            <guid isPermaLink="false">https://medium.com/p/d38816d61ad9</guid>
            <category><![CDATA[cartography]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[built-with-mapbox]]></category>
            <category><![CDATA[climate-change]]></category>
            <category><![CDATA[maps]]></category>
            <dc:creator><![CDATA[Dan McCarey]]></dc:creator>
            <pubDate>Mon, 12 Nov 2018 19:02:41 GMT</pubDate>
            <atom:updated>2018-11-12T22:30:28.082Z</atom:updated>
            <content:encoded><![CDATA[<h3>Visualizing Near Surface Air Temperature</h3><p>In the wake of the United Nation’s latest <a href="https://www.nytimes.com/2018/10/07/climate/ipcc-climate-report-2040.html">climate change report</a> released last month, I wanted to write about our process in creating <a href="https://08-28-2100.com/">this map</a> for the <a href="http://www.bread.org/about-bread-world-institute">Bread for the World Institute</a> as part of their attempt to raise awareness about the connection between <a href="http://hungerreport.org/2017/">climate change and hunger</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kAzDsjTzx9HwVLrD9il-8g.png" /><figcaption>Maximum Near Surface Air Temperature on August 28, 2100</figcaption></figure><h3>The Challenge</h3><p>Our goals for this visualization were:</p><ul><li>Communicate the impact of <a href="https://link.springer.com/article/10.1007/s10584-011-0149-y">RCP 8.5</a> (the most pessimistic climate change scenario)</li><li>Allow the user to observe changes at different time intervals up until 2100</li><li>Visualize change at the global as well as the local level</li><li>Create a beautiful map using <a href="https://www.mapbox.com/mapbox-gl-js/api">Mapbox GL</a></li></ul><h3>The Data</h3><p>We started looking for datasets that projected the impact of climate change up until 2100 and came across the <a href="https://nex.nasa.gov/nex/projects/1356/">NASA Earth Exchange Global Daily Downscaled Projections</a> (NEX-GDDP). This dataset contains the minimum and maximum daily temperature from 1950 to 2100 at a spatial resolution of 0.25 degrees (that works out at a value for every 25km x 25km). It has values for each of the two main climate change scenarios RCP 4.5 and RCP 8.5 and each of the 21 climate change models. That’s a lot of data, right?</p><p>The data is stored in the NetCDF format and the total size of the dataset is around 12TB with each individual file coming in at around 750MB. NetCDF is commonly used for storing scientific data. To take a look at the data, I grabbed a program called <a href="https://www.giss.nasa.gov/tools/panoply/download/">Panoply</a> that allows you to view geo-gridded data in NetCDF format. It generates images like the one below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*2Otj00zU_v1Moi8FDrDUUw.png" /><figcaption>Exploring the NEX-GDDP dataset in Panolpy</figcaption></figure><h3>NetCDF to GeoJSON</h3><p>Panoply worked great for exploring the data, but we needed to get the values out of the NetCDF file and into GeoJSON. Using Panoply, we exported the data to a 12GB text file. The file contained the coordinates for the value, the value itself and a timestamp.</p><p>We then wrote a <a href="https://nodejs.org/en/">Node.js</a> script using the great <a href="https://www.npmjs.com/package/line-by-line">Line-by-Line</a> module that extracted the data for the days we wanted, created a Feature for each row, pushed the temperature value to the Feature’s properties, and saved the FeatureCollection to file. The resulting GeoJSON was 125MB and contained more than a million point features. Here’s what it looked like in <a href="https://www.qgis.org/en/site/">QGIS</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*EHxY64lbCYyE4w8U5uVgQQ.png" /><figcaption>NetCDF data converted to GeoJSON and viewed in QGIS</figcaption></figure><h3>Do you Tippecanoe?</h3><p>We then uploaded our GeoJSON to Mapbox hoping that we’d see our beautiful gridded data in all its dreamy vector tile glory. However, after waiting for the file to process and pulling it into Studio, this is what we saw:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x6i3BL0tRM8JroT8Xklmrg.png" /><figcaption>Hey! Where’s our grid gone?</figcaption></figure><p>Turns out the density of the Points were causing the conversion process to drop Features because the size of each tile was getting too large. We needed more control over the vector tile conversion process so (as Mapbox recommends) we turned to <a href="https://github.com/mapbox/tippecanoe">Tippecanoe</a>.</p><p>Tippercanoe is a command line tool for building vector tile sets. It takes a GeoJSON (or a shapefile) as an input and outputs mbtiles. There are host of configuration options you can utilize to take control of the conversion process such as dropping unnecessary properties or adjusting the size limit per tile.</p><p>Using Tippercanoe we were able to export tiles that maintained the grid and didn’t drop any features but only up to zoom level 4. As we wanted the user to be able to zoom out far enough to see the entire world that just wasn’t going to cut it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*arpbYJ6Y488AOXZ7AIZ38Q.png" /><figcaption>Looking good, but how about a global view?</figcaption></figure><p>After a bit more experimentation, we eventually disabled all the size restrictions using Tippecanoe and rolled our own tile server using <a href="https://github.com/mapbox/tilelive">Tilelive</a>. The tiles themselves are quite large and you’ll notice they load quite slowly, but we were pleased with the result.</p><h3><strong>Repainting a million Features</strong></h3><p>Our next challenge was how to allow the user to switch between the different days so they could observe the changes over time. Initially, we created a different Tileset for each day but this led to a poor user experience when switching between layers because the tiles were loading too slowly (turns out there are limits on tile size for a reason). The app felt sluggish and unresponsive.</p><p>It then occurred to us that we could merge the temperature values from each of the three days into the same Feature’s properties and instead of switching layers, we could just adjust the Feature’s style using the setPaintProperty method. But how would Mapbox GL handle repainting over a million features on demand? Turns out, pretty well.</p><h3>The Result</h3><p>With the temperature data for each of the days accessible within each Feature not only could we repaint all the data on the fly, but it also allowed us to easily graph the values for 1950, 2017 and 2100 for any given point. This allows the user to compare the temperature change over time.</p><p>Here’s a few shots of the different regions of the world in 2017 and 2100 under <a href="https://link.springer.com/article/10.1007/s10584-011-0149-y">RCP 8.5</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5nd3Cs1SiIR1zMO8f57PCQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uTKo2IR-ggwBDaXThuJkiA.png" /><figcaption><strong>Africa:</strong> Maximum Near Surface Air Temperature on August 28, 2017 (left) and 2100 (right)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kk9ee1WDCRBoRvaDyHVTbA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4tKn7Dusaz9sEBMySewqPQ.png" /><figcaption><strong>Asia: </strong>Maximum Near Surface Air Temperature on August 28, 2017 (left) and 2100 (right)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l0adg5PRHlLMPFcOfq8s0A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hDRtuxjshuGsHNeGf9XXoA.png" /><figcaption><strong>Southeast Asia</strong>: Maximum Near Surface Air Temperature on August 28, 2017 (left) and 2100 (right)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ClYUTi4ohMWlY8cJfBOOjA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IeOo_sxbuYfAG25Mc5dFUA.png" /><figcaption><strong>South America:</strong> Maximum Near Surface Air Temperature on August 28, 2017 (left) and 2100 (right)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AIO4cD3zSMYuwtUDvDM1yQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mEWmSEKTkTvscL4s9vCRuA.png" /><figcaption><strong>North America: </strong>Maximum Near Surface Air Temperature on August 28, 2017 (left) and 2100 (right)</figcaption></figure><h3>In Conclusion</h3><p>The map made the <a href="https://www.informationisbeautifulawards.com/showcase/3471-august-28-2100">Kantar Information is Beautiful Awards</a> long list and we were pleased with the final result. Working with dense geospatial datasets is something we do regularly and in retrospect we would have been better splitting our data across several layers instead of one. This is the approach we are taking on our latest projects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*01ZV7Qtd_LXeeoc7lazLxg.jpeg" /><figcaption>On display at the Maptian booth at SOTMUS 2018 Detroit</figcaption></figure><p><a href="https://maptian.com/">Maptian</a> is a mapping and data visualization studio. If you’re looking for help visualizing climate data, drop us a line at <a href="/service/mailto:hello@maptian.com">hello@maptian.com</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d38816d61ad9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/maptian/visualizing-near-surface-air-temperature-in-2100-d38816d61ad9">Visualizing Near Surface Air Temperature in 2100</a> was originally published in <a href="https://medium.com/maptian">Maption</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Visualizing the Rule of Law]]></title>
            <link>https://medium.com/maptian/visualizing-the-rule-of-law-c387f162d277?source=rss----ac2f5cf630b3---4</link>
            <guid isPermaLink="false">https://medium.com/p/c387f162d277</guid>
            <category><![CDATA[rule-of-law]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Dan McCarey]]></dc:creator>
            <pubDate>Tue, 06 Feb 2018 18:38:16 GMT</pubDate>
            <atom:updated>2018-11-12T21:24:27.784Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://maptian.com/">We</a> recently worked with the <a href="https://worldjusticeproject.org/">World Justice Project</a> to update the <a href="http://data.worldjusticeproject.org/">Rule of Law Index</a>. The Rule of Law Index tracks how the rule of law is experienced and perceived in more than a 100 countries.</p><p>Originally built in 2014 on <a href="http://backbone.js/">backbone.js</a>, the app has aged pretty well. Back then, one of the biggest design challenges was condensing 8 factors and 44 indicators into a single <a href="https://link.springer.com/article/10.1007/s11205-017-1804-0?wt_mc=Internal.Event.1.SEM.ArticleAuthorOnlineFirst">composite indicator</a> (CI) to visualize the status of a country as a whole.</p><p>Generally, the Scandinavian countries top the index each year. This year, <a href="http://data.worldjusticeproject.org/#groups/DNK">Denmark</a> took the honors. I like that the CI for Denmark instantly communicates a sense of good health. With a little further inspection, you can see that the Danes still have some work to do around Criminal Justice, but generally the picture is pretty good.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/508/1*mk6xr6c4za_a3zK-rwrS5w.png" /><figcaption>This 2018 composite indicator for Denmark</figcaption></figure><p>Things look a whole lot less healthy when we compare it to <a href="http://data.worldjusticeproject.org/#groups/VEN">Venezuela</a> (the lowest performing country this year). The CI instantly communicates a lot of fragmentation with uneven shards and we can see that they score highest in Order and Security (specifically indicator 5.2 absence of civil conflict). Interestingly, If conditions in Venezuela continue to worsen, we’ll likely see a decline there as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/511/1*IthzPgYfaA-anQiqHbQsrw.png" /><figcaption>This 2018 composite indicator for Venezuela</figcaption></figure><p>The other challenge was developing a country profile that could communicate scores for all 8 factors and 44 indicators, whilst maintaining enough page real estate to give prominence to the CI. An additional layer of complexity was that the profile also needed to be exportable to a single page PDF (allowing the entire index to be bulk exported and printed with minimal fuss each year).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f-cuh-sfSXqnM23iykwbLg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MlwjuGQG8sDGGMQX5jE7vw.png" /><figcaption>The 2018 country profiles for Denmark and Venezuela</figcaption></figure><p>Looking back on the original design (which is largely unchanged), I think the country profile does a decent job of communicating a lot of information whilst still maintaining the centrality of the CI. As you browse profiles on the site or flip though the printed publication, I find the CI provides a useful summary point of reference. If you flip though the pages quickly, it almost feel like an animated flip book.</p><p>I’m fascinated by the development of composite indicators, and I’m a particular fan of layouts that combine <a href="https://en.wikipedia.org/wiki/Small_multiple">small multiples</a>. <a href="http://data.worldjusticeproject.org/#grid">Here’s</a> the CI for each country in this year’s Rule of Law Index ordered by best to worst.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zegk7YcmNVXr2fJxctdT7A.png" /><figcaption>Small multiples view of composite indicators in the Rule of Law Index</figcaption></figure><p>This is my favorite view. I like the way that the CI almost takes on an icon like quality and that when you view them all side by side, you get a visual summary of every data point in the index, all 4,972 of them.</p><p>When you take into account that the data is based on thousands of individual interviews you get a sense for how much work it is to collect and aggregate each year and how many stories are waiting to be uncovered. <a href="http://data.worldjusticeproject.org/">Go find some</a>.</p><p><a href="https://maptian.com/">Maptian</a> is a mapping and data visualization studio. If you’re looking for help creating impactful visualizations with your data, drop us a line at <a href="/service/mailto:hello@maptian.com">hello@maptian.com</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c387f162d277" width="1" height="1" alt=""><hr><p><a href="https://medium.com/maptian/visualizing-the-rule-of-law-c387f162d277">Visualizing the Rule of Law</a> was originally published in <a href="https://medium.com/maptian">Maption</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>