When Google Analytics return data, it is in XML:
(this is just for the data of IE. there is also data for Firefox, Safari, etc, for the pageview counts)
<entry gd:etag='W/"AkMEQX47eSp7I2A9Wx5SE3Z."' gd:kind='analytics#datarow'>
<id>http://www.google.com/analytics/feeds/data?ids=ga:1234567&ga:browser=Internet%20Explorer&start-date=2010-08-03&end-date=2010-08-10</id>
<updated>2010-08-09T17:00:00.001-07:00</updated>
<title>ga:browser=Internet Explorer</title>
<link rel='alternate' type='text/html' href='http://www.google.com/analytics'/>
<dxp:dimension name='ga:browser' value='Internet Explorer'/>
<dxp:metric confidenceInterval='0.0' name='ga:pageviews' type='integer' value='276395'/>
</entry>
Is there a way to quickly view it in a nice table format? Such as by applying a CSS to it? Seems like Google Analytics can possibly provide a CSS file that works well with their datafeed?
CSS could do something with it, especially in those browsers that implement the features required to take an attribute value as the value to a content rule.
However, it will only go so far (pretty much as far as you could go if the above were some new HTML elements, and you were CSSing for it, it’s essentially the same thing).
Using XSLT to produce XHTML is a much more reasonable solution. So reasonable in fact that I’m guessing you don’t know XSLT simply from it not already occurring to you before CSS did. It’s a nice declarative language for turning one form of XML into another (the output doesn’t have to be XML, but it often is – I’m just adding this parenthetical statement to head off the person who’ll add “the output doesn’t have to be XML” as a comment to this post 😉
The third alternative is just to parse through it in your language of choice, simply because that’ll probably be easier as a one-off than learning XSLT. However, learning XSLT will likely pay the effort back pretty quickly, so that’s my real suggestion.