#mvelection2013

2013 Maldives presidential election results analytics

function r(id, label, mdp, ppm, jp, gi, invalid, nonvoters, max) {
  var total = mdp+ppm+jp+gi+invalid+nonvoters+max;
  var canvas = document.createElement('canvas');
  var chartwidth = 2100;
  var chartheight = 50;
  var top = 2;
  if (max < 10000 && max != 0) {
    canvas.width = 2100; 
  } else {
    chartwidth = 800;
    canvas.width = chartwidth ;   
  }
Remembering victims to stop street violence

Posters for Human Rights Day 2013

                                                __                    _         
   _____  ___    ____ ___   ___    ____ ___    / /_   ___    _____   (_)   ____ 
  / ___/ / _ \  / __ `__ \ / _ \  / __ `__ \  / __ \ / _ \  / ___/  / /   / __ \
 / /    /  __/ / / / / / //  __/ / / / / / / / /_/ //  __/ / /     / /   / / / /
/_/     \___/ /_/ /_/ /_/ \___/ /_/ /_/ /_/ /_.___/ \___/ /_/     /_/   /_/ /_/ 
                                                                                
                           _           __     _                     
   ____ _        _   __   (_)  _____  / /_   (_)   ____ ___    _____
  / __ `/       | | / /  / /  / ___/ / __/  / /   / __ `__ \  / ___/
 / /_/ /        | |/ /  / /  / /__  / /_   / /   / / / / / / (__  ) 
 \__, /         |___/  /_/   \___/  \__/  /_/   /_/ /_/ /_/ /____/  
/____/                                                              
mvmurders

Mapping & documenting murders that have taken place in the Maldives

                                                      __                      
   ____ ___  _   __   ____ ___   __  __   _____  ____/ /  ___    _____   _____
  / __ `__ \| | / /  / __ `__ \ / / / /  / ___/ / __  /  / _ \  / ___/  / ___/
 / / / / / /| |/ /  / / / / / // /_/ /  / /    / /_/ /  /  __/ / /     (__  ) 
/_/ /_/ /_/ |___/  /_/ /_/ /_/ \__,_/  /_/     \__,_/   \___/ /_/     /____/  
                                                                              
Islands of Maldives

Islands of Maldives (aligning together)

import processing.video.*;
MovieMaker mm;
....
float x = -7000 + float(pieces[6])*100;
float y = 715 + float(pieces[7])*-100;
scale(50);
String[] shapes = split(pieces[0], ',');

beginShape();
  for (int nodes = 0; nodes < shapes.length; nodes = nodes+1) {
    String[] xy = split(shapes[nodes]," ");  
    float x1 = -7000 + float(xy[0])*100 - x+6.4;
    float y1 = 715 + float(xy[1])*-100 - y+4.0;
    vertex(x1, y1);
  }
endShape(CLOSE);
Maldives 2006 Census Data Visualizations

For UNDP’s disaster awareness campaign research

function population_density() {
  $content = '';
  $fp2 = fopen('source.csv', 'r');    
  while (!feof($fp2)) {
    $line = fgetcsv($fp2, 4096);
    if ($line[0] == "138") { continue; }; // remove male' 
    if (is_numeric($line[4]) AND  is_numeric($line[5]) AND  !empty($line[6]) AND  !empty($line[17]) ) {
       $content .= '';
       $content .= '';
    }
  }
  fclose($fp2);
  $content .= '';
  return $content;
}
UNDP Rakaavethibeyyaa Dhivehiraaje

Generative logo design

foreach ($xml->children() as $atolls) {
  $island_count = 0;
  foreach ($atolls->children() as $atoll){
    $content .= '';
    foreach ($atoll->children() as $island){
      $content .= 'x  . '" y="' . $island->y . '" 
              width="' . $island->size . '" height="'. $height .'" 
              fill="black"  />  ';  
    }
    $content .= '';
  }
}
mvblogosphere

Mapping of the Maldivian blogosphere (2006-2014)

                       __      __                                            __  
   ____ ___  _   __   / /_    / /  ____    ____ _  ____    _____    ____    / /_ 
  / __ `__ \| | / /  / __ \  / /  / __ \  / __ `/ / __ \  / ___/   / __ \  / __ \
 / / / / / /| |/ /  / /_/ / / /  / /_/ / / /_/ / / /_/ / (__  )   / /_/ / / / / /
/_/ /_/ /_/ |___/  /_.___/ /_/   \____/  \__, /  \____/ /____/   / .___/ /_/ /_/ 
                                        /____/                  /_/              
                    
  ___    _____  ___ 
 / _ \  / ___/ / _ \
/  __/ / /    /  __/
\___/ /_/     \___/ 
                    
Drawing With Light

Mapping photography & its links to social, political & aesthetic systems

       __                              _                  
  ____/ /   _____  ____ _ _      __   (_)   ____    ____ _
 / __  /   / ___/ / __ `/| | /| / /  / /   / __ \  / __ `/
/ /_/ /   / /    / /_/ / | |/ |/ /  / /   / / / / / /_/ / 
\__,_/   /_/     \__,_/  |__/|__/  /_/   /_/ /_/  \__, /  
                                                 /____/   
              _    __     __             __    _              __     __ 
 _      __   (_)  / /_   / /_           / /   (_)   ____ _   / /_   / /_
| | /| / /  / /  / __/  / __ \         / /   / /   / __ `/  / __ \ / __/
| |/ |/ /  / /  / /_   / / / /        / /   / /   / /_/ /  / / / // /_  
|__/|__/  /_/   \__/  /_/ /_/        /_/   /_/    \__, /  /_/ /_/ \__/  
                                                 /____/