Global Suicide Rates

February 15, 2008 at 9:48 am 2 comments

I’m a bit of a geek. I’ve been looking for some nice software that can draw world maps and display all kinds of fun bits of data. And today I found it, which was a day late for my birthday, but I’m counting it as a birthday present anyway.

In fact, this is two bits of software. I doubt any of my regular readers are going to be very interested, but for the record, these are a python library and script called world map tool and a java library and set of scripts called batik, which can convert SVG files to PNG. I don’t do java, so I’m just using the script bit of it.

I also wrote a quick and dirty bit of python to test it out, but it’s better left unseen. It doesn’t do anything very spectacular anyway – just generates a .css file to style the map based on data.

At least the data I used to test it out is characteristic of my blog – this is a selection of suicide rates from around the world as seen on Wikipedia and originally collected by the UN.

Click on this small version for the really big version. Countries without any data are grey; the redder a country is, the higher the suicide rate there. Not all the data is to be trusted as some countries are likely to significantly under-report.

Global Suicide Rates


Entry filed under: Uncategorized. Tags: , .

On The Busses Mappy Goodness

2 Comments Add your own

  • 1. stelt  |  February 16, 2008 at 3:54 pm

    For me you don’t have to convert SVG to PNG, i can watch SVG in the browser

  • 2. experimental chimp  |  February 16, 2008 at 4:09 pm

    Stelt: Me too. Unfortunately, I can’t upload SVG files here, so I had to convert it.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed

Hi, I'm James. I'm a 26 year old guy from England with bipolar disorder (currently well controlled). I also have a circadian rhythm sleep disorder (not so well controlled). This blog has charted my journey from mental illness, through diagnosis and, recently, into recovery. It's not always easy, but then, what is?


Self-righteous note about smoking

As of 12th September 2008 it has been forty five weeks since I quit smoking. So in another seven weeks it'll have been a whole year.

%d bloggers like this: