<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Spatial Analysis &#187; Population</title>
	<atom:link href="http://spatialanalysis.co.uk/tag/population/feed/" rel="self" type="application/rss+xml" />
	<link>http://spatialanalysis.co.uk</link>
	<description>Spatial data visualisation, analysis and resources</description>
	<lastBuildDate>Thu, 02 Feb 2012 21:50:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Mapping London&#8217;s Population Change 1801-2030</title>
		<link>http://spatialanalysis.co.uk/2011/02/mapping-londons-population-change-2011-2030/</link>
		<comments>http://spatialanalysis.co.uk/2011/02/mapping-londons-population-change-2011-2030/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 10:34:20 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Britain]]></category>
		<category><![CDATA[Featured Maps]]></category>
		<category><![CDATA[London]]></category>
		<category><![CDATA[R Spatial Tips]]></category>
		<category><![CDATA[Visualisation]]></category>
		<category><![CDATA[london datastore]]></category>
		<category><![CDATA[Map]]></category>
		<category><![CDATA[opendata]]></category>
		<category><![CDATA[Population]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[R Maps]]></category>
		<category><![CDATA[R spatial]]></category>
		<category><![CDATA[RColorBrewer]]></category>
		<category><![CDATA[rspatialtips]]></category>
		<category><![CDATA[rstats]]></category>

		<guid isPermaLink="false">http://jamescheshire.co.uk.blogs.splintdev.geog.ucl.ac.uk/?p=2200</guid>
		<description><![CDATA[Buried in the London Datastore are the population estimates for each of the London Boroughs between 2001 &#8211; 2030. They predict a declining population for most boroughs with the exception of a few to the east. I was surprised by this general decline and also the numbers involved- I expected larger changes from one year to ...]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://spatialanalysis.co.uk/wp-content/uploads/2011/02/london_pop_change1.png"><img class="aligncenter size-full wp-image-2205" title="london_pop_change" src="http://spatialanalysis.co.uk/wp-content/uploads/2011/02/london_pop_change1.png" alt="" width="601" height="412" /></a></p>
<p style="text-align: left;">Buried in the <a href="http://data.london.gov.uk/" target="_blank">London Datastore</a> are the <a href="http://data.london.gov.uk/datastore/package/gla-population-projections-2009-round-revised-shlaa-borough-sya" target="_blank">population estimates</a> for each of the <a href="http://en.wikipedia.org/wiki/London_borough" target="_blank">London Boroughs</a> between 2001 &#8211; 2030. They predict a declining population for most boroughs with the exception of a few to the east. I was surprised by this general decline and also the numbers involved- I expected larger changes from one year to the next. I think this is because my perception of migration is of the volume of people moving rather than the net effects on the baseline population of these movements. I don&#8217;t envy the <a href="http://www.london.gov.uk/" target="_blank">GLA</a> for making <a href="http://data.london.gov.uk/datastore/package/gla-population-projections-2009-round-revised-shlaa-borough-sya" target="_blank">predictions</a> so far into the future, but can understand why they have to do it (think how long it took initiate <a href="http://en.wikipedia.org/wiki/Crossrail" target="_blank">Crossrail</a>!). Last year I produced a simple animation showing past changes in London&#8217;s population density (<a href="http://data.london.gov.uk/datastore/package/historic-census-population" target="_blank">data</a>) and it provides a nice comparison to the above. In total I have squeezed 40 maps on this page!</p>
<p style="text-align: left;"><a href="http://spatialanalysis.co.uk/wp-content/uploads/2010/01/london_pop_density.gif"><img class="aligncenter size-full wp-image-534" title="london_pop_density" src="http://spatialanalysis.co.uk/wp-content/uploads/2010/01/london_pop_density.gif" alt="" width="600" height="400" /></a></p>
<h3>Technical Stuff</h3>
<p>These maps were all produced to demonstrate the mapping capabilities of <a href="http://www.r-project.org/" target="_blank">R</a>. The first uses <a href="http://had.co.nz/ggplot2/" target="_blank">ggplot2</a> (plus <a href="http://cran.r-project.org/web/packages/classInt/index.html" target="_blank">classInt</a> + <a href="http://cran.r-project.org/web/packages/RColorBrewer/index.html" target="_blank">RColorBrewer</a>) and is based on some <a href="https://bitbucket.org/markbulling/open-source/src/ded7d7392a5c/London%20Immigration.R" target="_blank">code</a> (see below) written by <a href="http://dotlinking.blogspot.com/" target="_blank">Mark Bulling</a>. If you follow the code below you will end up with<a href="http://www.flickr.com/photos/everheardofaspacebar/4259967972/in/photostream/" target="_blank"> this map</a>, not the one I have produced above. I will stick my code in a formal tutorial soon. The animation uses the standard plot functions (plus spatial packages) in R as per this <a href="http://rspatialtips.org.uk/2011/01/19/r-maps/" target="_blank">example</a>.<br />
<script type="text/javascript" src="https://bitbucket.org/markbulling/open-source/src/ded7d7392a5c/London%20Immigration.R?embed=t"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://spatialanalysis.co.uk/2011/02/mapping-londons-population-change-2011-2030/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>R interface to Google Chart Tools</title>
		<link>http://spatialanalysis.co.uk/2011/01/r-interface-to-google-chart-tools/</link>
		<comments>http://spatialanalysis.co.uk/2011/01/r-interface-to-google-chart-tools/#comments</comments>
		<pubDate>Mon, 10 Jan 2011 09:54:03 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[Visualisation]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[Gapminder]]></category>
		<category><![CDATA[Hans Rosling]]></category>
		<category><![CDATA[Income]]></category>
		<category><![CDATA[Life Expectancy]]></category>
		<category><![CDATA[Population]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[R spatial]]></category>
		<category><![CDATA[rspatialtips]]></category>
		<category><![CDATA[rstats]]></category>

		<guid isPermaLink="false">http://jamescheshire.co.uk.blogs.splintdev.geog.ucl.ac.uk/?p=1882</guid>
		<description><![CDATA[Hans Rosling eat your heart out! It is now possible to interface R statistics software to Google’s Gapminder inspired Chart Tools. The plots below were produced using the googleVis R package and three datasets from the Gapminder website. The first shows the relationship between income, life expectancy and population for 20 countries with the highest ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Hans_Rosling">Hans Rosling</a> eat your heart out! It is now possible to interface <a href="http://www.r-project.org/" target="_blank">R</a> statistics software to Google’s <a href="http://www.gapminder.org/" target="_blank">Gapminder</a> inspired <a href="http://code.google.com/apis/visualization/documentation/gallery.html" target="_blank">Chart Tools</a>. The plots below were produced using the <a href="http://cran.r-project.org/web/packages/googleVis/index.html" target="_blank">googleVis</a> R package and three datasets from the <a href="http://www.gapminder.org/" target="_blank">Gapminder</a> website. The first shows the relationship between income, life expectancy and population for 20 countries with the highest life expectancy in 1979 and the bottom plot shows the countries with the lowest 1979 life expectancy. Press play to see how the countries have faired over the past 50 years. You can also change the variables represented on each axes, the colours and the variable that controls the size of the bubbles.<br />
<script type="text/javascript" src="http://www.google.com/jsapi">// <![CDATA[</p>
<p>// ]]&gt;</script><br />
<script type="text/javascript" src="http://splintmap.geog.ucl.ac.uk/~james/googlevis.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<div id="MotionChart_2011-01-10-10-16-25"></div>
<p>Data: all_date, Chart ID: MotionChart_2011-01-10-10-16-25</p>
<p>R version 2.12.1 (2010-12-16),<br />
<a href="http://code.google.com/apis/visualization/terms.html"><br />
Google Terms of Use</a></p>
<p><script type="text/javascript" src="http://www.google.com/jsapi">// <![CDATA[</p>
<p>// ]]&gt;</script><br />
<script type="text/javascript" src="http://splintmap.geog.ucl.ac.uk/~james/googlevis2.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<div id="MotionChart_2011-01-10-10-10-46"></div>
<p>Data: all_date, Chart ID: MotionChart_2011-01-10-10-10-46</p>
<p>R version 2.12.1 (2010-12-16),<br />
<a href="http://code.google.com/apis/visualization/terms.html"><br />
Google Terms of Use</a></p>
<p>It was a bit fiddly to get the data formatted correctly and I couldn’t manage to get the complete dataset in one plot because my browser kept crashing (Chrome is best). Even with these teething problems it is a great way to get people creating better visualizations with their data. If you want to see Hans Rosling demonstrating these plots with his trademark enthusiasm I thoroughly recommend “The Joy of Stats” a program produced for the BBC. <a href="http://www.gapminder.org/videos/the-joy-of-stats/" target="_blank">You can watch it here</a>.</p>
<p>For those who want to create their own plots, I’m not proud of the code I used to format the data above so to get you started try this example (provided with the package).</p>
<p>library(googleVis)</p>
<p>data(Fruits)</p>
<p>M1 &lt;- gvisMotionChart(Fruits, idvar=&#8221;Fruit&#8221;, timevar=&#8221;Year&#8221;)</p>
<p>plot(M1)</p>
<p>Thanks to the <a href="http://r-ecology.blogspot.com/2011/01/r-and-google-visualization-api.html" target="_blank">Recology</a> blog for promoting this.</p>
]]></content:encoded>
			<wfw:commentRss>http://spatialanalysis.co.uk/2011/01/r-interface-to-google-chart-tools/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Top 60 Chinese Cities</title>
		<link>http://spatialanalysis.co.uk/2010/06/top-60-chinese-cities/</link>
		<comments>http://spatialanalysis.co.uk/2010/06/top-60-chinese-cities/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 10:19:58 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Visualisation]]></category>
		<category><![CDATA[China]]></category>
		<category><![CDATA[Cities]]></category>
		<category><![CDATA[Long Tail]]></category>
		<category><![CDATA[Population]]></category>
		<category><![CDATA[Wordle]]></category>

		<guid isPermaLink="false">http://spatialanalysis.co.uk/?p=942</guid>
		<description><![CDATA[Cities are one of the many phenomena that follow a long-tailed distribution. In simple terms there are a few big cities and lots of small ones. The classic way of showing a long tailed distribution (and the method from which the name is taken) is to produce as plot such as that below: The infographic ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://chinfographics.com/wp-content/uploads/2010/05/China-population-60-chinese-cities.gif"><img title="China-population-60-chinese-cities" src="http://chinfographics.com/wp-content/uploads/2010/05/China-population-60-chinese-cities.gif" alt="60 Cities with more than 1 Million inhabitants" width="421" height="525" /></a></p>
<p>Cities are one of the many phenomena that follow a long-tailed distribution. In simple terms there are a few big cities and lots of small ones. The classic way of showing a long tailed distribution (and the method from which the name is taken) is to produce as plot such as that below:</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-945" title="chinese_cities_graph" src="http://spatialanalysis.co.uk/wp-content/uploads/2010/06/chinese_cities_graph1.png" alt="" width="489" height="257" /></p>
<p>The<a href="http://en.wikipedia.org/wiki/Information_graphics" target="_blank"> infographic </a>at the top of the post by<a href="http://chinfographics.com/2010/05/20/the-long-tail-%E2%80%93-60-chinese-cities-with-a-population-of-over-1-million/" target="_blank"> chinfographics.com</a> demonstrates the distribution in a more engaging and constructive way.</p>
<p>One method I have <a href="http://spatialanalysis.co.uk/2010/02/09/a-global-surname-cloud/" target="_blank">used in the past</a> to demonstrate data with a long tailed distribution is the excellent <a href="http://www.wordle.net/" target="_blank">Wordle tool</a>. I have created a Wordle (below) for the same data (downloaded from <a href="http://chinfographics.com/2010/05/20/the-long-tail-%E2%80%93-60-chinese-cities-with-a-population-of-over-1-million/" target="_blank">Chinfographics</a>). Whilst it does not compete with the Chinfographics infographic in terms of quality,  I still think Wordles provide a very simple, and effective, method of displaying data with a &#8220;long tail&#8221;.</p>
<p style="text-align: center;"><a href="http://spatialanalysis.co.uk/wp-content/uploads/2010/06/chinese_cities_wordle11.png"><img class="aligncenter size-medium wp-image-950" title="chinese_cities_wordle" src="http://spatialanalysis.co.uk/wp-content/uploads/2010/06/chinese_cities_wordle11.png" alt="" width="630" height="381" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://spatialanalysis.co.uk/2010/06/top-60-chinese-cities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Good Example of Misleading Visualization</title>
		<link>http://spatialanalysis.co.uk/2009/09/a-good-example-of-misleading-visualization/</link>
		<comments>http://spatialanalysis.co.uk/2009/09/a-good-example-of-misleading-visualization/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 21:34:25 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ONS]]></category>
		<category><![CDATA[Population]]></category>
		<category><![CDATA[Visualization]]></category>

		<guid isPermaLink="false">http://jamescheshire.co.uk/?p=243</guid>
		<description><![CDATA[I recently attended the &#8220;Summer School in Practical Survey Analysis&#8221; hosted by Oxford Unversity&#8217;s Department of Sociology. One session was devoted to examples of good data visualization. The example used to demonstrate a good map is shown immediately below and is taken from this page on the Office for National Statistics website. Many of us ...]]></description>
			<content:encoded><![CDATA[<p>I recently attended the &#8220;Summer School in Practical Survey Analysis&#8221; hosted by Oxford Unversity&#8217;s<a href="http://www.sociology.ox.ac.uk/" target="_blank"> Department of Sociology</a>. One session was devoted to examples of good data visualization. The example used to demonstrate a good map is shown immediately below and is taken from <a href="http://www.statistics.gov.uk/CCI/nugget.asp?ID=457" target="_blank">this page</a> on the Office for National Statistics website.</p>
<p style="text-align: center;"><a href="http://spatialanalysis.co.uk/wp-content/uploads/2009/09/Slide21.png"><img class="aligncenter" src="http://spatialanalysis.co.uk/wp-content/uploads/2009/09/Slide21.png" alt="ONS Non-White Popn Map" width="215" height="322" /></a></p>
<p>Many of us felt it would actually serve as an example of poor visualization for reasons that I think are worth mentioning here. Aside from the fact that it is missing a North Arrow and Scale, the map is misleading. The highest category represents areas where between 6.4% to 60.6% of the population are non-white. This range of values grouped together is too large in this context. Additional categories in the data would highlight the exceptional areas and prevent areas with a population of only 7% non-white, for example, being grouped with areas characterised by a population that is over 60% non-white.  In addition the spatial units (Administrative Districts) used to plot the data are too course. The Admin. Districts create an impression that the non-white ethnic groups are fairly evenly spread across Central and Southern England, and, aside from London, not clustered in major urban centres as the associated text suggests (<a href="http://www.statistics.gov.uk/CCI/nugget.asp?ID=457">ONS, 2004</a>). Reproducing this map with smaller spatial units (such as Super Output Areas) and a greater number of categories for the data would produce a much more accurate picture of the spatial distribution of the non-white population in the UK today. This example demonstrates the importance of a critical eye when viewing all visualizations, no matter how official the publication may be!</p>
]]></content:encoded>
			<wfw:commentRss>http://spatialanalysis.co.uk/2009/09/a-good-example-of-misleading-visualization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

