posts tagged 'code'

just as easy, but with the added advantage of being correct

Cheers, folks. So, just 1.5 months ago I posted my own Python script to load shapefile data. Well, recently — while doing some pretty hardcore shapefile loading + cartogram generation — I realized I had a pretty significant error in my shapefile loading module.

This link (to my corrected shpUtils.py), corrects the mistake. [...]

dorling.py

update: Here’s the dorling.py code, which is just a port of Danny Dorling’s C to Python. Remember, this only works with a particular topological input format (see county.in). I’ve done some more experiments with the circular cartogram algorithm: here, here, and most recently here.

Dr. Daniel Dorling was recently nice enough to provide me [...]

TimeSeriesGraph — now with flags!!

I’ve made a few changes to my AS3 Time Series Graph charting class. The biggest is the addition of flagging. Now you (the Flash programmer using the TimeSeriesGraph class) can easily add flags to your application’s chart (much like on the Google Finance charts, upon which TimeSeriesGraph is based).

It’s easy. To add [...]