Feeds:
Posts
Comments

Posts Tagged ‘bar graph’

Day 1 : The basics

Number of words

Google Chart 'Number of words'

I start off with a very simple visualization. The number of words in the bible.

All visualizations will be based on the openly available text of the bible with the folowing reference: The King James Bible from Bill McGinnis Ministries (http://patriot.net/~bmcgin/kjvpage.html).

I use a few java programs (java.sun.com) to process the text in different ways and make calculations. The text processing goes very fast (few seconds to process the text). I devlop he programs using the eclipse IDE (www.eclipse.org)

This visualization was made with Google Charts API, an open source graphing solution by Google (http://code.google.com/intl/nl/apis/chart/image_charts.html).

The exact number of words in (this version of) the bible is 789.173. This number is generated by 12.687 distinct words. The most popular distinct word is ‘the’ and is mentioned 63.924 times. TODO : I should make a visualization on the most common words.

For some strange reasons, the graph api always relates values to a 0-1 range, and therefore we cannot show the actual value on top of the bar.

The parameters for this graph are :

cht=bvg
chs=200×300
chma=100,50,50,20
chtt=Number_of_words
chts=000000,16
chf=bg,lg,90,FFE7C6,0,76A4FB,0.5
chxt=x,y
chxr=1,0,1000000,100000
chd=t:78.9173
chxt=x,y
chxs=0,000000,12,0,lt
1,000000,12,1,lt

All documentation can by found at Google Code, Google Chart Api.

Read Full Post »