Google Charts API and E. E. Cummings
8 December, 2009 § 2 Comments
Today I was working on some charts using the Google Charts API and I decided to take a look at some of the documentation. Many of the X-axis labels on the chart I have are overlapping and I’m trying to fix it:
So in the process, I started looking at the data scaling section of their documentation, and they had a nice graph with a lot of data points but only a couple labels:
I wanted to see exactly how this was done and so I viewed the source of the image, which when using the Google Charts API tells exactly how the chart is being rendered.
That’s when I came across E. E. Cumming‘s poem “i thank You God for most this amazing” embedded in the URL.
http://chart.apis.google.com/chart?cht=lc&chs=200x100&chd=s:ithankYouGodformostthisamazingdayforthel&chxt=x,y&chxl=0:|Apr|May|June|1:||50+Kb
You can read the poem in its entirety at poetry-chaikhana.com.