<?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>writing &#124; ben fry &#187; api</title>
	<atom:link href="http://benfry.com/writing/archives/category/api/feed" rel="self" type="application/rss+xml" />
	<link>http://benfry.com/writing</link>
	<description>Visualizing Data</description>
	<lastBuildDate>Sat, 04 Sep 2010 18:50:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Subjectively Attractive Client-Side Scripted Browser-Delivered Charts and Plots</title>
		<link>http://benfry.com/writing/archives/223</link>
		<comments>http://benfry.com/writing/archives/223#comments</comments>
		<pubDate>Tue, 09 Dec 2008 16:20:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[api]]></category>
		<category><![CDATA[represent]]></category>

		<guid isPermaLink="false">http://benfry.com/writing/archives/223</guid>
		<description><![CDATA[&#8230;also known as Bluff, though they call it “Beautiful Graphs in JavaScript.” And who can argue with pink?

Bluff is a JavaScript port of the Gruff graphing library         for Ruby. It is designed to support all the features of Gruff with minimal dependencies; the only    [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://benfry.com/wp/wp-content/uploads/2008/12/annual-fruit-sales.png" title="annual-fruit-sales.png"><img src="http://benfry.com/wp/wp-content/uploads/2008/12/annual-fruit-sales.thumbnail.png" alt="annual-fruit-sales.png" align="right" hspace="13" vspace="8" /></a>&#8230;also known as <a href="http://bluff.jcoglan.com/">Bluff</a>, though they call it “Beautiful Graphs in JavaScript.” And who can argue with pink?</p>
<blockquote>
<p align="left">Bluff is a JavaScript port of the <a href="http://nubyonrails.com/pages/gruff">Gruff graphing library</a>         for Ruby. It is designed to support all the features of Gruff with minimal dependencies; the only         third-party scripts you need to run it are a copy of <a href="http://jsclass.jcoglan.com/">JS.Class</a>         (about 2kb gzipped) and a copy of Google’s ExCanvas to support <code>canvas</code> in Internet Explorer.         Both these scripts are supplied with the Bluff download. Bluff itself is around 8kb gzipped.</p>
</blockquote>
<p>There&#8217;s something cool (and hilarious) about the fact that even though we&#8217;re talking about bleeding edge features (decent JavaScript and Canvas support) only available in the most recent of modern browser releases, the criteria of awesomeness and usefulness is still the same as 1997 — that it&#8217;s only 8 Kb.</p>
<p>(The only thing that strikes me as odd, strictly from an interface perspective, is the fact that I can&#8217;t drag the “image” to the Desktop, the way that I would a JPEG or GIF image. Certainly that&#8217;s also the case for Flash and Java, but there&#8217;s something that strikes me as strange the way that JavaScript is so lightweight — part of the browser — yet  the thing isn&#8217;t really “there”.)</p>
<p>At any rate, I&#8217;m fairly <a href="http://benfry.com/writing/archives/194">fascinated</a> by this idea of JavaScript being a useful client-side means of generating images. Something very exciting is bound to happen.</p>
]]></content:encoded>
			<wfw:commentRss>http://benfry.com/writing/archives/223/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chart API</title>
		<link>http://benfry.com/writing/archives/26</link>
		<comments>http://benfry.com/writing/archives/26#comments</comments>
		<pubDate>Wed, 05 Mar 2008 05:43:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[api]]></category>
		<category><![CDATA[represent]]></category>

		<guid isPermaLink="false">http://benfry.com/writing/archives/26</guid>
		<description><![CDATA[I&#8217;ve not had a chance to try these out with an actual project yet, but the Google Chart API seems to be a decent way to get Tufte® compliant chart images using simple web requests. Just pack the info for the chart&#8217;s appearance and data into a specially crafted URL and you&#8217;re set.
It&#8217;s a nice [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://chart.apis.google.com/chart?cht=p3&amp;chd=s:hW&amp;chs=250x100&amp;chl=Potato|Tomato" align="left" height="100" hspace="10" width="260" />I&#8217;ve not had a chance to try these out with an actual project yet, but the <a href="http://code.google.com/apis/chart/">Google Chart API</a> seems to be a decent way to get Tufte® compliant chart images using simple web requests. Just pack the info for the chart&#8217;s appearance and data into a specially crafted URL and you&#8217;re set.</p>
<p>It&#8217;s a nice idea for a service, and I also appreciate that Google has kept it simple, rather than implementing it through a series of obfuscated and strangely-crafted embedded JavaScript (like, say, Google maps or their newer search APIs after discontinuing the SOAP protocol).</p>
]]></content:encoded>
			<wfw:commentRss>http://benfry.com/writing/archives/26/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
