Skip to content

Instantly share code, notes, and snippets.

@elktamer
elktamer / constraints.json
Last active December 31, 2016 23:20
schedule vis
[
[{}],
[{"date":"2017-03-13","shiftType":null,"employee":"THOM","constraintName":"maxAssignmentPerWeek ","weight":-10,"level":1},{"date":"2017-02-17","shiftType":null,"employee":"WSH","constraintName":"maxAssignmentPerWeek ","weight":-10,"level":1},{"date":"2017-03-14","shiftType":null,"employee":"WSH","constraintName":"maxAssignmentPerWeek ","weight":-10,"level":1},{"date":"2017-03-19","shiftType":null,"employee":"WSH","constraintName":"maxAssignmentPerWeek ","weight":-10,"level":1},{"date":"2017-03-22","shiftType":null,"employee":"WSH","constraintName":"maxAssignmentPerWeek ","weight":-10,"level":1},{"date":"2017-03-27","shiftType":null,"employee":"WSH","constraintName":"maxAssignmentPerWeek ","weight":-10,"level":1},{"date":"2017-01-03","shiftType":null,"employee":"W/C/E","constraintName":"maxAssignmentPerWeek ","weight":-10,"level":1},{"date":"2017-01-04","shiftType":null,"employee":"W/C/E","constraintName":"maxAssignmentPerWeek ","weight":-10,"level":1},{"date":"2017-01-05","shiftType":null,"employee":"
@elktamer
elktamer / .block
Last active January 15, 2017 01:11 — forked from mbostock/.block
Calendar View
license: gpl-3.0
height: 2910
border: no
@elktamer
elktamer / index.html
Last active March 22, 2017 14:58 — forked from d3noob/.block
Test of Sankey for Canada Budget
<!DOCTYPE html>
<meta charset="utf-8">
<title>Canada Budget 2016</title>
<style>
.node rect {
cursor: move;
fill-opacity: .9;
shape-rendering: crispEdges;
}
@elktamer
elktamer / index.html
Last active March 18, 2017 16:37
Alberta Budget in Sankey
<!DOCTYPE html>
<meta charset="utf-8">
<title>AB Budget 2017/2018</title>
<style>
.node rect {
cursor: move;
fill-opacity: .9;
shape-rendering: crispEdges;
}
@elktamer
elktamer / 2016.csv
Last active February 28, 2018 20:23
Federal Budget 2018
source target value
Personal income tax Income taxes 143.2
Corporate income tax Income taxes 42.5
Non-resident income tax Income taxes 6.6
Income taxes Tax Revenue 192.4
Goods and Services Tax Excise taxes and duties 33.7
Customs import duties Excise taxes and duties 5.4
Other excise taxes/duties Excise taxes and duties 11.6
Excise taxes and duties Tax Revenue 50.6
Tax Revenue Revenue 243
source target value
Personal income tax Income taxes 143.2
Corporate income tax Income taxes 42.5
@elktamer
elktamer / .block
Created March 28, 2017 15:31 — forked from mbostock/.block
Chord Diagram
license: gpl-3.0
@elktamer
elktamer / .block
Last active April 6, 2021 15:46 — forked from mbostock/.block
Hierarchical Edge Bundling
license: gpl-3.0
height: 960
border: no
@elktamer
elktamer / .block
Last active August 29, 2017 19:13 — forked from mbostock/.block
CTAS Arrivals
license: gpl-3.0
@elktamer
elktamer / .block
Last active January 21, 2020 23:55 — forked from mbostock/.block
YYC Firestation Voronoi
license: gpl-3.0
height: 600