Skip to content

Instantly share code, notes, and snippets.

View chelm's full-sized avatar

Christopher Helm chelm

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chelm
chelm / index.html
Last active February 2, 2017 18:09
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title></title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.28.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.28.0/mapbox-gl.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
body {
font: 10px sans-serif;
}
.axis path,
.axis line {
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>GDDP Annual Averages</title>
<link rel="stylesheet" href="http://bigearth.habitatseven.ca/stockcharts/amcharts/style.css" type="text/css">
<script src="http://bigearth.habitatseven.ca/stockcharts/jquery.js"></script>
<script src="http://bigearth.habitatseven.ca/stockcharts/amcharts/amcharts.js" type="text/javascript"></script>
<script src="http://bigearth.habitatseven.ca/stockcharts/amcharts/serial.js" type="text/javascript"></script>
@chelm
chelm / index.html
Last active December 5, 2015 05:01
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
body {
font: 10px sans-serif;
}
<!DOCTYPE html>
<meta charset="utf-8">
<style>
svg {
font: 10px sans-serif;
}
.area {
fill: steelblue;
@chelm
chelm / 73sxsc94u
Created July 31, 2015 16:58
Map from WebMapJson
{"item":{"title":"New Map","snippet":"Map from WebMapJson","extent":[[-74.20396678888578,40.787254107974555],[-68.60093944513606,43.40350656905478]]},"itemData":{"operationalLayers":[{"url":"http://services.massdot.state.ma.us/ArcGIS/rest/services/Transit/ParkandRideLots/MapServer/0","visibility":true,"opacity":0.78,"mode":1,"id":"graphicsLayer1","layerDefinition":{"drawingInfo":{"renderer":{"type":"simple","label":"","description":"","symbol":{"color":[8,88,158,200],"size":13.999999999999998,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[255,255,255,255],"width":1.3,"type":"esriSLS","style":"esriSLSSolid"}}}}}}],"baseMap":{"baseMapLayers":[{"opacity":1,"visibility":true,"url":"http://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Light_Gray_Base/MapServer"},{"opacity":0.3,"visibility":true,"url":"http://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer"}],"title":"basemap"},"version":"1.0"}}
@chelm
chelm / o46p7kb41
Created July 31, 2015 16:58
Map from WebMapJson
{"item":{"title":"New Map","snippet":"Map from WebMapJson","extent":[[-115.85,-38.82],[119.25,52.58]]},"itemData":{"operationalLayers":[{"url":"https://services.arcgis.com/P8Cok4qAP1sTVE59/arcgis/rest/services/Stunting_among_children_under_five/FeatureServer/0","visibility":true,"opacity":0.78,"mode":1,"id":"graphicsLayer0","layerDefinition":{"drawingInfo":{"renderer":{"visualVariables":[{"type":"colorInfo","field":"CODE","stops":[{"value":0,"color":[255,247,251,200],"label":null},{"value":29626250.5,"color":[236,226,240,200],"label":null},{"value":59252501,"color":[208,209,230,200],"label":null},{"value":88878751.5,"color":[166,189,219,200],"label":null},{"value":118505002,"color":[103,169,207,200],"label":null},{"value":148131252.5,"color":[54,144,192,200],"label":null},{"value":177757503,"color":[2,129,138,200],"label":null},{"value":207383753.5,"color":[1,100,80,200],"label":null}]}],"type":"simple","label":"","description":"","symbol":{"color":[43,140,190,200],"outline":{"color":[255,255,255,255],"width"
@chelm
chelm / 7csewgxp6
Created July 31, 2015 16:58
Map from WebMapJson
{"item":{"title":"New Map","snippet":"Map from WebMapJson","extent":[[-115.85,-38.82],[119.25,52.58]]},"itemData":{"operationalLayers":[{"url":"https://services.arcgis.com/P8Cok4qAP1sTVE59/arcgis/rest/services/Stunting_among_children_under_five/FeatureServer/0","visibility":true,"opacity":0.78,"mode":1,"id":"graphicsLayer0","layerDefinition":{"drawingInfo":{"renderer":{"type":"simple","label":"","description":"","symbol":{"color":[43,140,190,200],"outline":{"color":[255,255,255,255],"width":0.5,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"}}}}}],"baseMap":{"baseMapLayers":[{"opacity":1,"visibility":true,"url":"http://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Light_Gray_Base/MapServer"},{"opacity":0.3,"visibility":true,"url":"http://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer"}],"title":"basemap"},"version":"1.0"}}