Skip to content

Instantly share code, notes, and snippets.

View Migrant-Report's full-sized avatar

Migrant Report Migrant-Report

View GitHub Profile
@Migrant-Report
Migrant-Report / index.html
Last active August 11, 2016 12:59
Senegal/Mauritania border
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Swipe between layers</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js'></script>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
<style>
body { margin:0; padding:0; }
@Migrant-Report
Migrant-Report / index.html
Last active July 21, 2016 07:44
Migrant Status
<!DOCTYPE html>
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<title>Migrant Report</title>
@Migrant-Report
Migrant-Report / index.html
Created May 10, 2016 15:32
Myanmar - Thailand
<!doctype><html><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>M</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="http://migrantreport.org/wp-content/uploads/migrant-report-logo.jpg">
<link rel="icon" type="image/png" href="http://migrantreport.org/wp-content/uploads/migrant-report-logo.jpg">
@Migrant-Report
Migrant-Report / README.md
Created March 30, 2016 04:30 — forked from d3noob/.block
New Zealand Earthquakes

Pattern of life graph of earthquakes in New Zealand between July 2010 and August 2012. Magnitude 3 and above.

@Migrant-Report
Migrant-Report / force.csv
Created March 30, 2016 04:22 — forked from d3noob/.block
Directional Force Layout Diagram with node colouring
source target value
Harry Sally 1.2
Harry Mario 1.3
Sarah Alice 0.2
Eveie Alice 0.5
Peter Alice 1.6
Mario Alice 0.4
James Alice 0.6
Harry Carol 0.7
Harry Nicky 0.8
@Migrant-Report
Migrant-Report / index.html
Created March 28, 2016 11:20
Leaftlet opacity control - wms base maps
<html>
<head>
<title>Leaflet.OpacityControls Demo</title>
<link rel="stylesheet" href="lib/leaflet/leaflet.css" />
<!--[if lte IE 8]><link rel="stylesheet" href="libs/leaflet.ie.css" /><![endif]-->
<script src="lib/leaflet/leaflet.js"></script>
<link rel="stylesheet" href="lib/opacity/Control.Opacity.css" />
<script src="lib/opacity/Control.Opacity.js"></script>
@Migrant-Report
Migrant-Report / index.html
Last active March 28, 2016 10:37 — forked from And-How/index.html
trying leaflet slider public
<!DOCTYPE html>
<html>
<head>
<title>Leaflet Time Slider Example</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.2/leaflet.css" />
@Migrant-Report
Migrant-Report / index.html
Last active March 8, 2016 16:36
D3 animated path
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" />
<script src="http://d3js.org/d3.v3.min.js" type="text/javascript"></script>
<script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet.js"></script>
<script src='https://api.tiles.mapbox.com/mapbox.js/v1.6.4/mapbox.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v1.6.4/mapbox.css' rel='stylesheet' />
@Migrant-Report
Migrant-Report / index.html
Last active March 6, 2016 12:38 — forked from javisantana/index.html
highlight polygon on click with leaflet and cartodb.js
<!DOCTYPE html>
<html>
<head>
<title>Leaflet example | CartoDB.js</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" />
<style>
html, body, #map {
height: 100%;
@Migrant-Report
Migrant-Report / index.html
Created February 23, 2016 13:41 — forked from javisantana/index.html
example loading multiple layers from cartodb in a leaflet map
<!DOCTYPE html>
<html>
<head>
<title>Leaflet example | CartoDB.js</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" />
<style>
html, body, #map {
height: 100%;