Skip to content

Instantly share code, notes, and snippets.

@danjharrington danharr

Block or report user

Report or block danharr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@danharr
danharr / .block
Created Jan 21, 2019
company portal
View .block
license: mit
@danharr
danharr / .block
Last active Jan 17, 2019
explaining a dataset
View .block
license: mit
@danharr
danharr / .block
Last active Sep 7, 2018
vue.js training
View .block
license: mit
@danharr
danharr / index.html
Created Aug 13, 2018 — forked from emeeks/index.html
Brush Snapping
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font-family: sans-serif;
color: #000;
text-rendering: optimizeLegibility;
}
@danharr
danharr / index.html
Created Aug 6, 2018 — forked from IPWright83/index.html
D3 Stacked Area Chart with Increasing Uncertainty Over Time
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<head>
<link type="text/css" rel="stylesheet" href="style.css"/>
<script src="http://d3js.org/d3.v3.js"></script>
</head>
<body>
<script>
// Dimensions of the visualization
var width = 960;
@danharr
danharr / designs.json
Last active May 31, 2018
table plans
View designs.json
[["No image" , "No image.svg","free banner","black","Caveat","PT Sans"],
["bg-ink" , "watercolour-2038248_640.jpg","free background","black","Pacifico","Caveat"],
["royal-wedding" , "royal-wedding.svg","free banner","black","Pacifico","Caveat"],
["pink-bunting" , "pink-bunting.svg","free banner","black","Pacifico","Caveat"],
["bg-seamless1" , "seamless-2109393_640.jpg","free background","white","Pacifico","Caveat"],
["abstract1" , "abstract1.svg","free banner","black","Quicksand","Caveat"],
["abstract2" , "abstract2.svg","free banner","black","Quicksand","Caveat"],
["abstract3" , "abstract3.svg","free banner","black","Quicksand","Caveat"],
["abstract4" , "abstract4.svg","free banner","black","Quicksand","Caveat"],
["abstract5" , "abstract5.svg","free banner","black","Quicksand","Caveat"],
View broadcast.js
//read in gameplay data
var title = "FIFA 17";
d3.json("gameplay-data.json", function(data) {
@danharr
danharr / index.html
Last active Jul 3, 2017
anniversarycode
View index.html
<html><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" type="text/css">
<link rel="stylesheet" href="theme.css" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Frijole" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Satisfy" rel="stylesheet">
</head>
@danharr
danharr / ps.js
Last active Jun 1, 2016
time series example
View ps.js
var USER_SPEED = "slow";
var sched_objs = [];
var act_codes = [
{"index": "0", "short": "Downloads", "desc": "Sleeping"},
{"index": "1", "short": "PS Store", "desc": "Personal Care"},
{"index": "2", "short": "Games", "desc": "Eating and Drinking"},
{"index": "3", "short": "Video App", "desc": "Education"},
{"index": "4", "short": "PS Now", "desc": "Work and Work-Related Activities"},
You can’t perform that action at this time.