<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Google Chart API Challange</title>
	<atom:link href="http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=google-chart-api-challange</link>
	<description>a discussion of visual report design &#038; web analytics</description>
	<lastBuildDate>Sat, 04 Jun 2011 07:27:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Geoff</title>
		<link>http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/comment-page-1/#comment-19549</link>
		<dc:creator>Geoff</dc:creator>
		<pubDate>Sat, 01 Mar 2008 04:40:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/#comment-19549</guid>
		<description>Here&#039;s what all the query parameters mean:

cht=bhs
&gt;&gt; horizontal bar chart

chs=300x40
&gt;&gt; &#039;300&#039; pixels wide
&gt;&gt; &#039;40&#039; pixels tall

chxt=x,y
&gt;&gt; enable x-axis and y-axis labels

chxl=0:&#124;0&#124;50&#124;100&#124;150&#124;200&#124;250&#124;300&#124;1:&#124;&#124;Revenue&#124;
&gt;&gt; &#039;0:&#124;0&#124;50&#124;100&#124;150&#124;200&#124;250&#124;300&#124;&#039; x-axis labels
&gt;&gt; &#039;1:&#124;&#124;Revenue&#124;&#039; y-axis labels

chxs=0,000000,9&#124;1,000000,12
&gt;&gt; &#039;0,000000,9&#039; makes the x-axis labels black and 9px tall
&gt;&gt; &#039;1,000000,12&#039; makes the y-axis labels black and 12px tall

chbh=7,0,0
&gt;&gt; &#039;7&#039; specifies that each bar is 7 pixels tall
&gt;&gt; &#039;0&#039; specifies 0 pixels between each bar which gives the illusion of a single bar
&gt;&gt; &#039;0&#039; specifies 0 pixels between each group which ensures that the bottom bar touches the x-axis

chco=7f7f7f,b2b2b2,e6e6e6,000000,e6e6e6,000000,e6e6e6
&gt;&gt; &#039;7f7f7f&#039; is the horizontal dark gray &quot;background&quot; on bars 1 and 3
&gt;&gt; &#039;b2b2b2&#039; is the horizontal medium gray &quot;background&quot; on bars 1 and 3
&gt;&gt; &#039;e6e6e6&#039; is the horizontal first section of light gray &quot;background&quot; on bars 1 and 3
&gt;&gt; &#039;000000&#039; is the vertical 1 pixel black marker on bars 1 and 3
&gt;&gt; &#039;e6e6e6&#039; is the horizontal remaining section of light gray &quot;background&quot; on bars 1 and 3
&gt;&gt; &#039;000000&#039; is the horizontal black bar in the middle
&gt;&gt; &#039;e6e6e6&#039; is the horizontal light gray &quot;background&quot; to the right of the horizontal black bar

chd=t:50,0,50&#124;25,0,25&#124;7.5,0,7.5&#124;1,0,1&#124;16.5,0,16.5&#124;0,90,0&#124;0,10,0
&gt;&gt; &#039;t:&#039; is text encoding which basically mean each number is a percentage, so a bar with length of 50 fills 50% of the graph
&gt;&gt; &#039;50,0,50&#039; is the horizontal dark gray &quot;background&quot; on bars 1 and 3, bar 2 does not have this section
&gt;&gt; &#039;25,0,25&#039; is the medium dark gray &quot;background&quot; on bars 1 and 3, bar 2 does not have this section
&gt;&gt; &#039;7.5,0,7.5&#039; first section of light gray &quot;background&quot; on bars 1 and 3, bar 2 does not have this section
&gt;&gt; &#039;1,0,1&#039; is the vertical 1 pixel black marker on bars 1 and 3, bar 2 does not have this section
&gt;&gt; &#039;16.5,0,16.5&#039; is the horizontal remaining section of light gray &quot;background&quot; on bars 1 and 3, bar 2 does not have this section
&gt;&gt; &#039;0,90,0&#039; is the horizontal black bar in the middle, bars 1 and 3 do not have this section
&gt;&gt; &#039;0,10,0&#039; is the horizontal light gray &quot;background&quot; to the right of the horizontal black bar, bars 1 and 3 do not have this section

Notice how the colors and datasets match up. If the horizontal black bar ended in the dark gray section, the data sets and colors would have to change.</description>
		<content:encoded><![CDATA[<p>Here&#8217;s what all the query parameters mean:</p>
<p>cht=bhs<br />
&gt;&gt; horizontal bar chart</p>
<p>chs=300&#215;40<br />
&gt;&gt; &#8217;300&#8242; pixels wide<br />
&gt;&gt; &#8217;40&#8242; pixels tall</p>
<p>chxt=x,y<br />
&gt;&gt; enable x-axis and y-axis labels</p>
<p>chxl=0:|0|50|100|150|200|250|300|1:||Revenue|<br />
&gt;&gt; &#8217;0:|0|50|100|150|200|250|300|&#8217; x-axis labels<br />
&gt;&gt; &#8217;1:||Revenue|&#8217; y-axis labels</p>
<p>chxs=0,000000,9|1,000000,12<br />
&gt;&gt; &#8217;0,000000,9&#8242; makes the x-axis labels black and 9px tall<br />
&gt;&gt; &#8217;1,000000,12&#8242; makes the y-axis labels black and 12px tall</p>
<p>chbh=7,0,0<br />
&gt;&gt; &#8217;7&#8242; specifies that each bar is 7 pixels tall<br />
&gt;&gt; &#8217;0&#8242; specifies 0 pixels between each bar which gives the illusion of a single bar<br />
&gt;&gt; &#8217;0&#8242; specifies 0 pixels between each group which ensures that the bottom bar touches the x-axis</p>
<p>chco=7f7f7f,b2b2b2,e6e6e6,000000,e6e6e6,000000,e6e6e6<br />
&gt;&gt; &#8217;7f7f7f&#8217; is the horizontal dark gray &#8220;background&#8221; on bars 1 and 3<br />
&gt;&gt; &#8216;b2b2b2&#8242; is the horizontal medium gray &#8220;background&#8221; on bars 1 and 3<br />
&gt;&gt; &#8216;e6e6e6&#8242; is the horizontal first section of light gray &#8220;background&#8221; on bars 1 and 3<br />
&gt;&gt; &#8217;000000&#8242; is the vertical 1 pixel black marker on bars 1 and 3<br />
&gt;&gt; &#8216;e6e6e6&#8242; is the horizontal remaining section of light gray &#8220;background&#8221; on bars 1 and 3<br />
&gt;&gt; &#8217;000000&#8242; is the horizontal black bar in the middle<br />
&gt;&gt; &#8216;e6e6e6&#8242; is the horizontal light gray &#8220;background&#8221; to the right of the horizontal black bar</p>
<p>chd=t:50,0,50|25,0,25|7.5,0,7.5|1,0,1|16.5,0,16.5|0,90,0|0,10,0<br />
&gt;&gt; &#8216;t:&#8217; is text encoding which basically mean each number is a percentage, so a bar with length of 50 fills 50% of the graph<br />
&gt;&gt; &#8217;50,0,50&#8242; is the horizontal dark gray &#8220;background&#8221; on bars 1 and 3, bar 2 does not have this section<br />
&gt;&gt; &#8217;25,0,25&#8242; is the medium dark gray &#8220;background&#8221; on bars 1 and 3, bar 2 does not have this section<br />
&gt;&gt; &#8217;7.5,0,7.5&#8242; first section of light gray &#8220;background&#8221; on bars 1 and 3, bar 2 does not have this section<br />
&gt;&gt; &#8217;1,0,1&#8242; is the vertical 1 pixel black marker on bars 1 and 3, bar 2 does not have this section<br />
&gt;&gt; &#8217;16.5,0,16.5&#8242; is the horizontal remaining section of light gray &#8220;background&#8221; on bars 1 and 3, bar 2 does not have this section<br />
&gt;&gt; &#8217;0,90,0&#8242; is the horizontal black bar in the middle, bars 1 and 3 do not have this section<br />
&gt;&gt; &#8217;0,10,0&#8242; is the horizontal light gray &#8220;background&#8221; to the right of the horizontal black bar, bars 1 and 3 do not have this section</p>
<p>Notice how the colors and datasets match up. If the horizontal black bar ended in the dark gray section, the data sets and colors would have to change.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clint</title>
		<link>http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/comment-page-1/#comment-19548</link>
		<dc:creator>Clint</dc:creator>
		<pubDate>Sat, 01 Mar 2008 04:08:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/#comment-19548</guid>
		<description>Hey Geoff, care to write up how you created your bullet chart?
These are great!</description>
		<content:encoded><![CDATA[<p>Hey Geoff, care to write up how you created your bullet chart?<br />
These are great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff</title>
		<link>http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/comment-page-1/#comment-19547</link>
		<dc:creator>Geoff</dc:creator>
		<pubDate>Sat, 01 Mar 2008 04:05:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/#comment-19547</guid>
		<description>Okay, last post for today, promise. The URL above isn&#039;t working, so here&#039;s a tinyurl version that&#039;s been dressed up a bit: 

http://tinyurl.com/2qsfma</description>
		<content:encoded><![CDATA[<p>Okay, last post for today, promise. The URL above isn&#8217;t working, so here&#8217;s a tinyurl version that&#8217;s been dressed up a bit: </p>
<p><a href="http://tinyurl.com/2qsfma" rel="nofollow">http://tinyurl.com/2qsfma</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff</title>
		<link>http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/comment-page-1/#comment-19546</link>
		<dc:creator>Geoff</dc:creator>
		<pubDate>Sat, 01 Mar 2008 03:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/#comment-19546</guid>
		<description>Oops -- I didn&#039;t realize Jeff Donnici’s solution was for sparklines only. I guess mine is the only other bullet graph solution. It looks like my link stops at the first pipe, so you&#039;ll have to copy/paste the full URL manually.</description>
		<content:encoded><![CDATA[<p>Oops &#8212; I didn&#8217;t realize Jeff Donnici’s solution was for sparklines only. I guess mine is the only other bullet graph solution. It looks like my link stops at the first pipe, so you&#8217;ll have to copy/paste the full URL manually.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff</title>
		<link>http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/comment-page-1/#comment-19545</link>
		<dc:creator>Geoff</dc:creator>
		<pubDate>Sat, 01 Mar 2008 03:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/#comment-19545</guid>
		<description>I came up with another solution for bullet charts. I&#039;m not sure if it&#039;s better than Jeff Donnici&#039;s solution, but it&#039;s workable:

http://chart.apis.google.com/chart?cht=bhs&amp;chs=200x25&amp;chd=t:50,0,50&#124;30,0,30&#124;5,0,5&#124;1,0,1&#124;14,0,14&#124;0,90,0&#124;0,10,0&amp;chco=666666,999999,cccccc,000000,cccccc,000000,cccccc&amp;chbh=8,0,0</description>
		<content:encoded><![CDATA[<p>I came up with another solution for bullet charts. I&#8217;m not sure if it&#8217;s better than Jeff Donnici&#8217;s solution, but it&#8217;s workable:</p>
<p><a href="http://chart.apis.google.com/chart?cht=bhs&#038;chs=200x25&#038;chd=t:50,0,50" rel="nofollow">http://chart.apis.google.com/chart?cht=bhs&#038;chs=200&#215;25&#038;chd=t:50,0,50</a>|30,0,30|5,0,5|1,0,1|14,0,14|0,90,0|0,10,0&amp;chco=666666,999999,cccccc,000000,cccccc,000000,cccccc&amp;chbh=8,0,0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clint</title>
		<link>http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/comment-page-1/#comment-17993</link>
		<dc:creator>Clint</dc:creator>
		<pubDate>Sun, 16 Dec 2007 01:51:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/#comment-17993</guid>
		<description>Hey Jeff,
thanks for the entries. Simple bars and lines, agreed - pretty easy. The win loss, I haven&#039;t looked so see if google supports that kind of chart - let us know what you find out.

-Clint</description>
		<content:encoded><![CDATA[<p>Hey Jeff,<br />
thanks for the entries. Simple bars and lines, agreed &#8211; pretty easy. The win loss, I haven&#8217;t looked so see if google supports that kind of chart &#8211; let us know what you find out.</p>
<p>-Clint</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Donnici</title>
		<link>http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/comment-page-1/#comment-17992</link>
		<dc:creator>Jeff Donnici</dc:creator>
		<pubDate>Sun, 16 Dec 2007 01:42:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/#comment-17992</guid>
		<description>Here&#039;s a simple line-style Sparkline:

http://chart.apis.google.com/chart?chs=120x20&amp;chd=s:thequickbrownfoxjumpedoverthelazydogs&amp;cht=lc&amp;chco=999999

... and another, with a banded range:

http://chart.apis.google.com/chart?chs=120x20&amp;chd=s:thequickbrownfoxjumpedoverthelazydogs&amp;cht=lc&amp;chm=r,DDDDDD,0,0.2,0.8&amp;chco=999999

... I think both bar and line styles of Sparklines can be pretty easily created with the API. Keep the dimensions small and don&#039;t include any sort of axis or data labels. 

The up-down style of Sparklines (e.g., the ones that Tufte used to show MLB win/loss and home/away over time) might be more difficult.

But now I&#039;m curious HOW MUCH more difficult. Hmm.</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a simple line-style Sparkline:</p>
<p><a href="http://chart.apis.google.com/chart?chs=120x20&#038;chd=s:thequickbrownfoxjumpedoverthelazydogs&#038;cht=lc&#038;chco=999999" rel="nofollow">http://chart.apis.google.com/chart?chs=120&#215;20&#038;chd=s:thequickbrownfoxjumpedoverthelazydogs&#038;cht=lc&#038;chco=999999</a></p>
<p>&#8230; and another, with a banded range:</p>
<p><a href="http://chart.apis.google.com/chart?chs=120x20&#038;chd=s:thequickbrownfoxjumpedoverthelazydogs&#038;cht=lc&#038;chm=r,DDDDDD,0,0.2,0.8&#038;chco=999999" rel="nofollow">http://chart.apis.google.com/chart?chs=120&#215;20&#038;chd=s:thequickbrownfoxjumpedoverthelazydogs&#038;cht=lc&#038;chm=r,DDDDDD,0,0.2,0.8&#038;chco=999999</a></p>
<p>&#8230; I think both bar and line styles of Sparklines can be pretty easily created with the API. Keep the dimensions small and don&#8217;t include any sort of axis or data labels. </p>
<p>The up-down style of Sparklines (e.g., the ones that Tufte used to show MLB win/loss and home/away over time) might be more difficult.</p>
<p>But now I&#8217;m curious HOW MUCH more difficult. Hmm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clint</title>
		<link>http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/comment-page-1/#comment-17944</link>
		<dc:creator>Clint</dc:creator>
		<pubDate>Wed, 12 Dec 2007 16:02:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/#comment-17944</guid>
		<description>Chris,
I suspected that ... if you create one, just drop the link in the comments and I&#039;ll put it into the post so we can see your work!

Thanks!</description>
		<content:encoded><![CDATA[<p>Chris,<br />
I suspected that &#8230; if you create one, just drop the link in the comments and I&#8217;ll put it into the post so we can see your work!</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Gemignani</title>
		<link>http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/comment-page-1/#comment-17936</link>
		<dc:creator>Chris Gemignani</dc:creator>
		<pubDate>Wed, 12 Dec 2007 14:12:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/#comment-17936</guid>
		<description>They do not.</description>
		<content:encoded><![CDATA[<p>They do not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Gemignani</title>
		<link>http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/comment-page-1/#comment-17935</link>
		<dc:creator>Chris Gemignani</dc:creator>
		<pubDate>Wed, 12 Dec 2007 14:08:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.instantcognition.com/visualization/2007/12/09/google-chart-api-challange/#comment-17935</guid>
		<description>Genius! The bullet chart looks great. 

I wonder if embedded charts work in comments.

</description>
		<content:encoded><![CDATA[<p>Genius! The bullet chart looks great. </p>
<p>I wonder if embedded charts work in comments.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

