tungwaiyip.info

home

about me

links

Media

Yucatán Photos

St Lucia Photos

Photo Album

Videos

Blog

< February 2010 >
SuMoTuWeThFrSa
  1 2 3 4 5 6
7 8 910111213
14151617181920
21222324252627
28      

past articles »

Click for San Francisco, California Forecast

San Francisco, USA

 

Visualization Using Variable Width Bar Chart

I was plotting a chart to visualize various development project in my area. The primary concern is in development density. But the project footprint itself is also a factor. We want to focus on big project that matters. We also want to identify outliers that has very high or very low density, but otherwise has small overall size and less relevance.

My solution is to use a variable with bar chart below. The height of each bar represents the density. The width represents the lot size. The area of each rectangle bar reflects the total number of units. The full article is posted in Potrero Boosters Neighborhood Association's website.

potrero condo density

I thought everything that worth inventing has been invented. So I was frustrated that I cannot find a tool to generate this chart. Nothing in Excel (that I know) can generate a chart like this. I end up turning to matplotlib. But even matplotlib does not seem to have a function that support this directly. Fortunately a small twist to its histogram function does the job for me. See my (unpolished) source code here. In any case working with matplotlib is fun and the quality of the chart is excellent.

2010.02.26 [, ] - comments

 

 

blog comments powered by Disqus

past articles »

 

BBC News

 

Russia 'tried to hijack US election', says US senator (30 Mar 2017)

 

Brexit: UK sets out plans to replace all EU laws (30 Mar 2017)

 

Kim Jong-nam's body to be released to North Korea (30 Mar 2017)

 

Ronaldo statue: Sculptor Emanuel Santos defends his bizarre work (30 Mar 2017)

 

Campaigners seek 'to sell US politicians' browsing data' (30 Mar 2017)

 

US Kabul embassy fires staff over drugs (30 Mar 2017)

 

US hails Turkey as 'a trusted ally' in Ankara talks (30 Mar 2017)

 

Insurer Lloyd's of London confirms new Brussels subsidiary (30 Mar 2017)

 

American Airlines pilot dies on Dallas-Albuquerque flight (30 Mar 2017)

 

Italian police in Venice arrest three Jihadists (30 Mar 2017)

more »

 

SF Gate

 

Bay Area News (7 Jan 2012)

 

City Insider (11 Feb 2012)

 

Crime Scene (13 Feb 2012)

 

C.W Newius Column (10 Jan 2012)

 

C.W. Nevius Blog (11 Feb 2012)

 

Education News (10 Jan 2012)

 

KALW (11 Feb 2012)

 

Matier and Ross Blog (11 Feb 2012)

 

Pizza by robot, Apple’s brand less hot, and BuzzFeed’s IPO shot (30 Mar 2017)

 

App store sales for Android to overtake Apple’s iOS, report says (30 Mar 2017)

 

Business News Roundup, March 30 (29 Mar 2017)

 

Bill to let bars serve alcohol until 4 a.m. advances (29 Mar 2017)

 

Man sentenced in iPhone frauds (29 Mar 2017)

 

PG&E agrees to .5m penalty in San Bruno fallout; bills to drop (29 Mar 2017)

more »

 


Site feed Updated: 2017-Mar-30 09:00