tungwaiyip.info

home

about me

links

my software

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 »

 

Kontagent

Kontagent is hiring software engineers

BBC News

 

Suicide attack targets Yemen army (21 May 2012)

 

Protesters attack Mali president (21 May 2012)

 

Nato endorses Afghan timetable (21 May 2012)

 

Jail for US webcam spy student (21 May 2012)

 

Facebook closes below float price (21 May 2012)

 

'Lake red' after Breivik killings (21 May 2012)

 

Three climbers die on Mt Everest (21 May 2012)

 

Dutch pre-school abuser is jailed (21 May 2012)

 

Stars pay tribute to Robin Gibb (21 May 2012)

 

Lockerbie bomber's funeral held (21 May 2012)

more »

 

Slashdot News for nerds, stuff that matters

 

Rutger's Student Dharun Ravi Sentenced To 30-Day Jail Time (2012-05-21T21:15:00+00:00)

 

Perl 5.16.0 Released (2012-05-21T20:47:00+00:00)

 

Mega-Uploads: The Cloud's Unspoken Hurdle (2012-05-21T20:26:00+00:00)

 

SCOTUS Refuses To Hear Tenenbaum Appeal (2012-05-21T19:38:00+00:00)

 

White House Petition For Open Access To Research (2012-05-21T19:13:00+00:00)

 

Maryland Teen Wins World's Largest Science Fair (2012-05-21T18:50:00+00:00)

 

Allowing the Mind To Wander Aids Creative Problem Solving (2012-05-21T18:09:00+00:00)

 

Google Chrome Becomes World's No. 1 Browser (2012-05-21T17:23:00+00:00)

more »

 

TechPsychic Tech Rumors and Invented News

 

TechPsychic: AT&T: more money, says it's disruptive in funding from. (08 May 2010)

 

TechPsychic: I know that Apple is close to Apple Dominates, Hires ex-Googler - Yes, Android phones. (08 May 2010)

 

TechPsychic: AT&T says: Facebook Connect. (08 May 2010)

 

TechPsychic: Google's Nexus One of Google Chrome Release Adds Support subscriptions accounted for Amazon: Apple. (08 May 2010)

 

TechPsychic: Another stat: Twitter's Design of this is giving rise of BlackBerry Foursquare Map App store end. (07 May 2010)

 

TechPsychic: Like educational sales Up around Apple iPad makes money Plan costs half an Apple. (07 May 2010)

 

TechPsychic: Instead added extensions, social Networks than double, everyone jumps in Silicon Valley? (07 May 2010)

 

TechPsychic: So why iTunes App lets Social Networks Verizon Wireless Internet. (07 May 2010)

more »

 

SF Gate

 

Woman killed in Berkeley crash was new Cal grad (2012-05-21T21:43:45PDT)

 

Eclipse crosses Asia, US: Millions look skyward (2012-05-21T21:43:45PDT)

 

Bay to Breakers - sun, fun and a few fast runners (2012-05-21T21:43:45PDT)

 

Chicago braces for last day of large NATO protests (2012-05-21T21:43:45PDT)

 

96 Yemeni soldiers killed in suicide bombing (2012-05-21T21:43:45PDT)

 

Muni uses feds' funds for cameras it doesn't use (2012-05-21T21:43:45PDT)

 

Support for pot in 2nd District House race (2012-05-21T21:43:45PDT)

 

Presented By: (21 May 2012)

 

Price-comparison services help cut medical costs (2012-05-21T21:31:23PDT)

 

Presented By: (21 May 2012)

 

Penthouse in N.Y. sets record price: million (2012-05-21T21:31:23PDT)

 

Chinese company to buy US movie theater chain AMC (2012-05-21T21:31:23PDT)

 

Wheat rises again, other grains settle mixed (2012-05-21T21:31:23PDT)

 

Head of US nuclear safety agency to step down (2012-05-21T21:31:23PDT)

more »

 

Asia Times Online

 

Riddle of the Scarborough Shoals (18 May 2012)

 

THE ROVING EYE : NATO occupies sweet home Chicago (18 May 2012)

 

US Iran hawks in some disarray (18 May 2012)

 

Tehran: To talk or not to talk (18 May 2012)

 

The 'illogic' of China's North Korea policy (18 May 2012)

 

BOOK REVIEW : Cherry-picking from China's success (18 May 2012)

 

SPEAKING FREELY : Nepal's constitution: Respect the dissenters (18 May 2012)

 

China's start-ups hold global potential (18 May 2012)

 

US gives green light to investment in Myanmar (18 May 2012)

 

IT WORLD : Facebook floats (18 May 2012)

more »

 


Site feed Updated: 2012-May-21 15:00