Skip to content

Instantly share code, notes, and snippets.

View zanarmstrong's full-sized avatar

zan zanarmstrong

View GitHub Profile
@zanarmstrong
zanarmstrong / drawacurve.js
Created January 18, 2021 07:32
draw your data
var img = new Image();
var canvas = document.getElementById('canvas');
var ctx = canvas.getContext('2d');
let coords = [];
img.onload = function() {
ctx.drawImage(img, 0, 0);
@zanarmstrong
zanarmstrong / .block
Created July 4, 2018 15:59
Choropleth-2
license: gpl-3.0
height: 600
border: no
@zanarmstrong
zanarmstrong / .block
Created July 4, 2018 15:56
Choropleth
license: gpl-3.0
height: 600
border: no
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<script src="https://d3js.org/d3.v4.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Anonymous+Pro|Roboto+Condensed" rel="stylesheet">
<style>
body {
position: relative;
font-family: 'Roboto Condensed', sans-serif;
color: #666666;
@zanarmstrong
zanarmstrong / .block
Created April 4, 2018 00:09
fresh block
license: mit
@zanarmstrong
zanarmstrong / .block
Created April 3, 2018 03:06
bar chart SF pop
license: mit
@zanarmstrong
zanarmstrong / .block
Last active July 4, 2018 15:59
Choropleth
license: gpl-3.0
height: 600
border: no
@zanarmstrong
zanarmstrong / .block
Last active March 19, 2018 16:59
Branched Random Walk
license: gpl-3.0
@zanarmstrong
zanarmstrong / .block
Created January 18, 2018 16:32
fresh block
license: mit