Global Suicide Rates

February 15, 2008

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: , .

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 Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

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?

Top Posts

Recent Comments

Kelly on Lithium Orotate: Just a dietar…
Stephanie on HEY YOU!
Experienced on Lithium Orotate: Just a dietar…
Barend on Taking the Easy Way Out
Ann on Lamotrigine and Rashes: Not a …

Links

Archives

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.

Meta