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.
Sexy Charts with Chart::Clicker
No TrackBacks
TrackBack URL: http://www.catalyzed.org/mt/mt-tb.fcgi/91
Leave a comment
All comments are moderated. Spammers don't waste your timeNote to spammers: all comments are moderated. Don't waste your time




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");