Sexy Charts with Chart::Clicker

user-pic

Wiki Extras for this post

Chart::Clicker is a Perl distribution that is capable of producing some decent charts. This article explores the charting of both high and low temperature forecasts using Chart::Clicker. We'll scrape forecast data from the web and then use it to plot a high and low temperature forecast over the next five days.

Full article

No TrackBacks

TrackBack URL: http://www.catalyzed.org/mt/mt-tb.fcgi/91

1 Comment

| Leave a comment

Nice! I changed the URL, so you can put in your own city.

# URL from which we scrape the temperature forecast data
my $url = 'http://www.wunderground.com/cgi-bin/findweather/getForecast';
my $zip_city = shift // 'Boston, MA';
my $uri = "$url?query=${zip_city}&wuSelect=WEATHER";

Then I added it to the title, as well

$chart->title->text("Temperature Forecast: $zip_city");

Leave a comment

All comments are moderated. Spammers don't waste your time

Sponsored By


Ionzero: Rescue your dev project.

Following

Not following anyone

Note to spammers: all comments are moderated. Don't waste your time