Advertise here.

sparklines_infosthetics.jpgsince a couple of weeks, the infosthetics website contains a sparkline diagram of its relative daily Google Adsense earnings, updated hourly. in contrast to the quite static "unique visitors" graph, this sparkline is more volatile & shows more complex patterns that are interesting to grasp. it is loosely based on a script that creates an Adsense RSS feed. instead of a RSS file, it now parses the data into a sparkline.
for those wanting to have their own Adsense sparklines on their website, the source code (PHP) can be downloaded here. one also needs the sparkline PHP library & some basic knowledge of crontab on your webserver to set up the automatic hourly execution of the script.
but most importantly, one must first kindly ask Google Adsense permission for its use! note that this display is in accordance to the Google Adsense policy, as it does not disclose the earnings directly, but only shows its relative fluctuations. see more information about this issue after the break.

MORE

this was the answer from Google Adsense on the request of using the sparkline display: "Thank you for taking the time to email us. Gen­er­ally publishers are not permitted to disclose daily earnings information in any form. However, you may implement the chart you have de­scribed, as long as it does not display any numbers or draw undue attention to the ads.
The above permission applies specifically to websites administered by you, and may not be transferred to any other publishers. We appreciate your efforts to remain in compliance with our program policies."

so be sure to ask permission first!

43 COMMENTS

Perhaps this is a good place to ask; I've often wondered why some columns are black and others dark(er) grey? And does everyone get the same greys in your sparklines?

Wed 31 May 2006 at 7:30 PM
Andrea

a visual distinction is made between weekdays & weekends, & between the current & all previous months.
any visual attribute can be altered in the code, of course!

Wed 31 May 2006 at 8:06 PM
infosthetics

hey, what a really nice hack, I'd never thought of something like this when I wrote the Adsense to RSS script :)

(I'm also happy to be mentionned in your blog that has been in my feedreader for quite a while now:)

Wed 31 May 2006 at 9:51 PM

Very cool.

Thu 01 Jun 2006 at 5:39 AM

This is great! Is there any way to make the background transparent?

Thu 01 Jun 2006 at 11:13 AM

sujay: the sparklines PHP library generates a png image, & png supports transparency, so in principle: yes. you'll have to look into the sparklines code itself, however.

Thu 01 Jun 2006 at 1:06 PM
infosthetics

hi editor,

Does the sparklines package also produce that flat "pie"/line segment sparkline for browser use?

aloha,
Eric

Fri 02 Jun 2006 at 6:51 PM

Eric,
all the other sparklines, including the flat line diagram for browser use, are based on the AWStats log file of this website.

in particular, the flat line is a pure HTML hack with 4 stretched grey pixels (i.e. img src=pixel.gif width=value height=1).

Fri 02 Jun 2006 at 6:56 PM
infosthetics

Interesting script indeed. Im mailing google right now :) btw... I hope I can use logs that are in cPanel ?

Sun 25 Jun 2006 at 4:04 AM

david, the script you can download on this page only generates the Adsense sparklines.

Sun 25 Jun 2006 at 5:06 PM
infosthetics

google

Fri 14 Jul 2006 at 10:45 PM

Comments: (you may use HTML tags for style)

Tue 25 Jul 2006 at 3:18 AM

Hi, my aim is gonna be to make other people know about it. it's incredible i am not the only one who thinks so.
My JavaScript knowledge is not extensive, but I'm a quick learner.

Thu 27 Jul 2006 at 1:19 AM

Wanted to use this place to ask; I've often wondered why some columns are black and others dark(er) grey? And does everyone get the same greys in your sparklines?

Fri 28 Jul 2006 at 6:33 PM

tito, see the 2nd comment in this section. you can choose the colors yourself by altering the code.

Fri 28 Jul 2006 at 6:56 PM
infosthetics

Like many others, ithink application of this technologies is going to be bountiful.Thank you

Tue 01 Aug 2006 at 8:45 PM
Bertrand Martin

This is great! Is there any way to make the background transparent?

Mon 14 Aug 2006 at 8:41 AM

Wonderful and beautiful stuff!

I'll be sending this to my companies' design team, my system architects and my web analytics business unit.

Visualisation of data remains one of the pain points in Web Analytics, my line of work, as it's a lot of data to diggest.

These kinds of initiatives will certainly help adoption of Web analytics: make the data interesting and a pleasure to look at!

Thanks for this great initiative, great blog!


Aurélie Pols

Only European member of the WebTrends Insight Network

Wed 16 Aug 2006 at 12:05 AM

Great feature. It's really interesting to have a look at the diagram.

Tue 22 Aug 2006 at 10:01 PM

When will I start getting paid.

Thu 24 Aug 2006 at 1:04 AM
Aileen Almodovar

This would be a great fit for our organization. Sparklines are a great fit for this type of report.

Fri 13 Oct 2006 at 3:15 PM

v.attractive scipt ..

Mon 30 Oct 2006 at 5:18 PM

Adsens with context of aesthetics follows a simple rule...Be very simple with ads..

http://students.50webs.org

Tue 02 Jan 2007 at 6:52 PM

blah.

Aggravated white space.

Fri 19 Jan 2007 at 8:39 PM
anthropocentric

AMAZING system...I'm out of words...It's genius

Fri 23 Feb 2007 at 10:09 AM

On personal opinion, I find this very helpful.
Guys, I have also posted some more relevant info further on this, not sure if you find it

useful: http://www.bidmaxhost.com/forum/

Fri 23 Mar 2007 at 7:40 PM

Fine, this technologies is going to be bountiful, thanks.

Mon 02 Apr 2007 at 8:21 AM

Wonderful and beautiful stuff!


I'll be sending this to my companies' design team, my system architects and my web analytics busin

Sun 08 Apr 2007 at 5:15 AM

That's a very nice hack. I like to have all my informations in graphs. Only downside is, you have to wait for Google reply :)

Thu 03 May 2007 at 10:17 PM

Oh man, This is awesome! Many Kudos to you. I love the graphs!

Tue 08 May 2007 at 9:18 AM

It's a beautiful stuff!if it can used to My blog,will a wonderful thing.

Fri 18 May 2007 at 5:34 PM

hi i like your site

Sat 02 Jun 2007 at 4:19 AM

thank you

www.issagheit.blogspot.com
google adsense

Sat 30 Jun 2007 at 10:10 AM

What do you think about the design of Kleinanzeigen online.

Nice Greetings

Sun 08 Jul 2007 at 6:16 AM
Tom

comments (you may use HTML tags for style)comments (you may use HTML tags for style)comments (you may use HTML tags for style)

Fri 10 Aug 2007 at 6:26 AM

note that this display is in accordance to the Google Adsense policy, as it does not disclose the earnings directly, but only shows its relative fluctuations
electronic projects

Wed 29 Aug 2007 at 12:00 AM

It doesn't show the absolute values - too bad! But because it's obviously never zero it's more than I earn from my adsense :-)

Tue 09 Oct 2007 at 9:29 PM

Thanks for the interesting article and the discussion afterwards.

Sat 12 Jan 2008 at 1:04 AM

Gotta love google adsense

Fri 18 Apr 2008 at 6:56 AM

hey guys, Sparkline charts are available on silverlight, thinking of where to chk it out? ok here is the link visifire an amazing charting component powered by silverlight offered under open source just for free

Wed 18 Jun 2008 at 9:09 PM
col58

how to draw adsense earnings graph? any tool?

I saw some people have bar chart-alike for daily adsense earnings.


thanks.

Wed 20 Aug 2008 at 5:58 AM

This blog Is very informative , I am really pleased to post my comment on this blog . It helped me with ocean of knowledge so I really belive you will do much better in the future . Good job web master .

Mon 13 Oct 2008 at 5:11 PM

Wow, this was good that you actually got permission from Google to use this. They are usually quite strict on disclosing any type of earnings information. But I guess that this was sufficient vague for them.

Thu 04 Dec 2008 at 11:01 PM
ADD A COMMENT
Commenting has been temporarily disabled.