Skip to content

Instantly share code, notes, and snippets.

@caseywatts
Forked from mbostock/.block
Last active December 16, 2015 05:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caseywatts/5384460 to your computer and use it in GitHub Desktop.
Save caseywatts/5384460 to your computer and use it in GitHub Desktop.
date value
2013-04-07 11
2013-04-06 2
2013-04-05 0
2013-04-04 4
2013-04-03 0
2013-04-02 4
2013-04-01 3
2013-03-31 1
2013-03-30 0
2013-03-29 4
2013-03-28 2
2013-03-27 4
2013-03-26 1
2013-03-25 3
2013-03-24 0
2013-03-23 2
2013-03-22 0
2013-03-21 2
2013-03-20 4
2013-03-19 2
2013-03-18 0
2013-03-17 0
2013-03-16 1
2013-03-15 3
2013-03-14 5
2013-03-13 8
2013-03-12 0
2013-03-11 0
2013-03-10 3
2013-03-09 5
2013-03-08 2
2013-03-07 1
2013-03-06 0
2013-03-05 3
2013-03-04 2
2013-03-03 1
2013-03-02 0
2013-03-01 4
2013-02-28 0
2013-02-27 3
2013-02-26 0
2013-02-25 0
2013-02-24 2
2013-02-23 1
2013-02-22 2
2013-02-21 0
2013-02-20 0
2013-02-19 0
2013-02-18 3
2013-02-17 0
2013-02-16 3
2013-02-15 1
2013-02-14 0
2013-02-13 1
2013-02-12 1
2013-02-11 0
2013-02-10 1
2013-02-09 2
2013-02-08 0
2013-02-07 1
2013-02-06 0
2013-02-05 0
2013-02-04 0
2013-02-03 2
2013-02-02 1
2013-02-01 0
2013-01-31 0
2013-01-30 4
2013-01-29 7
2013-01-28 0
2013-01-27 0
2013-01-26 0
2013-01-25 0
2013-01-24 0
2013-01-23 0
2013-01-22 0
2013-01-21 2
2013-01-20 1
2013-01-19 0
2013-01-18 0
2013-01-17 0
2013-01-16 0
2013-01-15 0
2013-01-14 0
2013-01-13 0
2013-01-12 0
2013-01-11 0
2013-01-10 1
2013-01-09 2
2013-01-08 1
2013-01-07 0
2013-01-06 3
2013-01-05 0
2013-01-04 1
2013-01-03 1
2013-01-02 0
2013-01-01 0
2012-12-31 2
2012-12-30 0
2012-12-29 1
2012-12-28 0
2012-12-27 0
2012-12-26 1
2012-12-25 0
2012-12-24 11
2012-12-23 1
2012-12-22 1
2012-12-21 0
2012-12-20 0
2012-12-19 0
2012-12-18 2
2012-12-17 1
2012-12-16 0
2012-12-15 0
2012-12-14 0
2012-12-13 1
2012-12-12 2
2012-12-11 0
2012-12-10 1
2012-12-09 0
2012-12-08 0
2012-12-07 0
2012-12-06 0
2012-12-05 0
2012-12-04 0
2012-12-03 1
2012-12-02 1
2012-12-01 1
2012-11-30 2
2012-11-29 0
2012-11-28 0
2012-11-27 3
2012-11-26 2
2012-11-25 0
2012-11-24 0
2012-11-23 3
2012-11-22 0
2012-11-21 0
2012-11-20 0
2012-11-19 0
2012-11-18 0
2012-11-17 0
2012-11-16 1
2012-11-15 0
2012-11-14 1
2012-11-13 0
2012-11-12 0
2012-11-11 1
2012-11-10 0
2012-11-09 0
2012-11-08 0
2012-11-07 1
2012-11-06 0
2012-11-05 0
2012-11-04 0
2012-11-03 0
2012-11-02 0
2012-11-01 2
2012-10-31 0
2012-10-30 7
2012-10-29 2
2012-10-28 0
2012-10-27 1
2012-10-26 0
2012-10-25 0
2012-10-24 0
2012-10-23 0
2012-10-22 1
2012-10-21 0
2012-10-20 0
2012-10-19 0
2012-10-18 0
2012-10-17 1
2012-10-16 2
2012-10-15 3
2012-10-14 0
2012-10-13 0
2012-10-12 0
2012-10-11 0
2012-10-10 3
2012-10-09 3
2012-10-08 0
2012-10-07 0
2012-10-06 0
2012-10-05 0
2012-10-04 1
2012-10-03 0
2012-10-02 1
2012-10-01 0
2012-09-30 0
2012-09-29 0
2012-09-28 0
2012-09-27 0
2012-09-26 1
2012-09-25 0
2012-09-24 0
2012-09-23 4
2012-09-22 1
2012-09-21 0
2012-09-20 6
2012-09-19 0
2012-09-18 3
2012-09-17 5
2012-09-16 2
2012-09-15 0
2012-09-14 0
2012-09-13 1
2012-09-12 1
2012-09-11 2
2012-09-10 1
2012-09-09 1
2012-09-08 0
2012-09-07 1
2012-09-06 0
2012-09-05 12
2012-09-04 28
2012-09-03 1
2012-09-02 12
2012-09-01 1
2012-08-31 20
2012-08-30 25
2012-08-29 15
2012-08-28 24
2012-08-27 7
2012-08-26 5
2012-08-25 17
2012-08-24 11
2012-08-23 5
2012-08-22 8
2012-08-21 10
2012-08-20 6
2012-08-19 4
2012-08-18 4
2012-08-17 7
2012-08-16 5
2012-08-15 8
2012-08-14 8
2012-08-13 9
2012-08-12 1
2012-08-11 2
2012-08-10 0
2012-08-09 6
2012-08-08 0
2012-08-07 3
2012-08-06 3
2012-08-05 8
2012-08-04 4
2012-08-03 3
2012-08-02 0
2012-08-01 3
2012-07-31 4
2012-07-30 7
2012-07-29 4
2012-07-28 2
2012-07-27 10
2012-07-26 4
2012-07-25 22
2012-07-24 4
2012-07-23 11
2012-07-22 2
2012-07-21 0
2012-07-20 3
2012-07-19 7
2012-07-18 3
2012-07-17 7
2012-07-16 2
2012-07-15 3
2012-07-14 1
2012-07-13 6
2012-07-12 16
2012-07-11 8
2012-07-10 2
2012-07-09 9
2012-07-08 0
2012-07-07 4
2012-07-06 3
2012-07-05 10
2012-07-04 5
2012-07-03 11
2012-07-02 6
2012-07-01 3
2012-06-30 13
2012-06-29 13
2012-06-28 19
2012-06-27 8
2012-06-26 14
2012-06-25 16
2012-06-24 2
2012-06-23 0
2012-06-22 6
2012-06-21 5
2012-06-20 16
2012-06-19 20
2012-06-18 13
2012-06-17 2
2012-06-16 4
2012-06-15 14
2012-06-14 15
2012-06-13 15
2012-06-12 11
2012-06-11 15
2012-06-10 9
2012-06-09 0
2012-06-08 18
2012-06-07 6
2012-06-06 16
2012-06-05 15
2012-06-04 9
2012-06-03 4
2012-06-02 6
2012-06-01 29
2012-05-31 15
2012-05-30 10
2012-05-29 10
2012-05-28 10
2012-05-27 7
2012-05-26 9
2012-05-25 21
2012-05-24 12
2012-05-23 8
2012-05-22 1
2012-05-21 4
2012-05-20 11
2012-05-19 2
2012-05-18 14
2012-05-17 8
2012-05-16 20
2012-05-15 4
2012-05-14 2
2012-05-13 10
2012-05-12 8
2012-05-11 8
2012-05-10 14
2012-05-09 9
2012-05-08 29
2012-05-07 14
2012-05-06 18
2012-05-05 14
2012-05-04 12
2012-05-03 14
2012-05-02 26
2012-05-01 29
2012-04-30 28
2012-04-29 27
2012-04-28 33
2012-04-27 26
2012-04-26 51
2012-04-25 29
2012-04-24 8
2012-04-23 9
2012-04-22 17
2012-04-21 18
2012-04-20 8
2012-04-19 10
2012-04-18 28
2012-04-17 9
2012-04-16 30
2012-04-15 7
2012-04-14 10
2012-04-13 10
2012-04-12 29
2012-04-11 70
2012-04-10 26
2012-04-09 55
2012-04-08 31
2012-04-07 13
2012-04-06 18
2012-04-05 9
2012-04-04 14
2012-04-03 16
2012-04-02 52
2012-04-01 34
2012-03-31 19
2012-03-30 13
2012-03-29 28
2012-03-28 19
2012-03-27 19
2012-03-26 28
2012-03-25 20
2012-03-24 12
2012-03-23 24
2012-03-22 52
2012-03-21 26
2012-03-20 34
2012-03-19 25
2012-03-18 17
2012-03-17 14
2012-03-16 52
2012-03-15 33
2012-03-14 30
2012-03-13 2
2012-03-12 16
2012-03-11 1
2012-03-10 6
2012-03-09 12
2012-03-08 29
2012-03-07 22
2012-03-06 28
2012-03-05 32
2012-03-04 25
2012-03-03 15
2012-03-02 31
2012-03-01 22
2012-02-29 30
2012-02-28 21
2012-02-27 58
2012-02-26 21
2012-02-25 19
2012-02-24 9
2012-02-23 29
2012-02-22 17
2012-02-21 45
2012-02-20 18
2012-02-19 31
2012-02-18 19
2012-02-17 12
2012-02-16 14
2012-02-15 12
2012-02-14 21
2012-02-13 24
2012-02-12 17
2012-02-11 25
2012-02-10 10
2012-02-09 28
2012-02-08 23
2012-02-07 26
2012-02-06 41
2012-02-05 20
2012-02-04 15
2012-02-03 36
2012-02-02 25
2012-02-01 20
2012-01-31 16
2012-01-30 39
2012-01-29 27
2012-01-28 19
2012-01-27 10
2012-01-26 19
2012-01-25 11
2012-01-24 20
2012-01-23 14
2012-01-22 27
2012-01-21 10
2012-01-20 20
2012-01-19 26
2012-01-18 27
2012-01-17 23
2012-01-16 5
2012-01-15 15
2012-01-14 28
2012-01-13 38
2012-01-12 32
2012-01-11 37
2012-01-10 7
2012-01-09 37
2012-01-08 19
2012-01-07 10
2012-01-06 1
2012-01-05 15
2012-01-04 7
2012-01-03 20
2012-01-02 14
2012-01-01 4
2011-12-31 3
2011-12-30 4
2011-12-29 6
2011-12-28 5
2011-12-27 10
2011-12-26 0
2011-12-25 0
2011-12-24 1
2011-12-23 7
2011-12-22 15
2011-12-21 24
2011-12-20 5
2011-12-19 0
2011-12-18 4
2011-12-17 4
2011-12-16 12
2011-12-15 4
2011-12-14 6
2011-12-13 15
2011-12-12 9
2011-12-11 20
2011-12-10 5
2011-12-09 23
2011-12-08 21
2011-12-07 19
2011-12-06 20
2011-12-05 18
2011-12-04 32
2011-12-03 29
2011-12-02 33
2011-12-01 18
2011-11-30 23
2011-11-29 5
2011-11-28 21
2011-11-27 15
2011-11-26 13
2011-11-25 1
2011-11-24 7
2011-11-23 50
2011-11-22 9
2011-11-21 6
2011-11-20 2
2011-11-19 1
2011-11-18 8
2011-11-17 11
2011-11-16 7
2011-11-15 16
2011-11-14 43
2011-11-13 14
2011-11-12 16
2011-11-11 19
2011-11-10 17
2011-11-09 29
2011-11-08 5
2011-11-07 21
2011-11-06 25
2011-11-05 6
2011-11-04 21
2011-11-03 10
2011-11-02 10
2011-11-01 15
2011-10-31 13
2011-10-30 29
2011-10-29 19
2011-10-28 15
2011-10-27 12
2011-10-26 14
2011-10-25 16
2011-10-24 18
2011-10-23 23
2011-10-22 9
2011-10-21 19
2011-10-20 28
2011-10-19 13
2011-10-18 29
2011-10-17 16
2011-10-16 27
2011-10-15 18
2011-10-14 28
2011-10-13 19
2011-10-12 10
2011-10-11 10
2011-10-10 23
2011-10-09 20
2011-10-08 22
2011-10-07 19
2011-10-06 28
2011-10-05 16
2011-10-04 17
2011-10-03 16
2011-10-02 12
2011-10-01 21
2011-09-30 27
2011-09-29 36
2011-09-28 34
2011-09-27 19
2011-09-26 10
2011-09-25 42
2011-09-24 16
2011-09-23 14
2011-09-22 15
2011-09-21 8
2011-09-20 10
2011-09-19 9
2011-09-18 26
2011-09-17 10
2011-09-16 20
2011-09-15 7
2011-09-14 18
2011-09-13 14
2011-09-12 14
2011-09-11 10
2011-09-10 12
2011-09-09 5
2011-09-08 25
2011-09-07 4
2011-09-06 17
2011-09-05 17
2011-09-04 17
2011-09-03 7
2011-09-02 12
2011-09-01 13
2011-08-31 25
2011-08-30 18
2011-08-29 19
2011-08-28 30
2011-08-27 7
2011-08-26 6
2011-08-25 6
2011-08-24 2
2011-08-23 1
2011-08-22 10
2011-08-21 2
2011-08-20 3
2011-08-19 24
2011-08-18 3
2011-08-17 6
2011-08-16 10
2011-08-15 1
2011-08-14 5
2011-08-13 24
2011-08-12 25
2011-08-11 22
2011-08-10 11
2011-08-09 3
2011-08-08 6
2011-08-07 6
2011-08-06 2
2011-08-05 11
2011-08-04 28
2011-08-03 15
2011-08-02 11
2011-08-01 7
2011-07-31 8
2011-07-30 14
2011-07-29 5
2011-07-28 11
2011-07-27 0
2011-07-26 12
2011-07-25 2
2011-07-24 0
2011-07-23 5
2011-07-22 12
2011-07-21 10
2011-07-20 4
2011-07-19 16
2011-07-18 23
2011-07-17 8
2011-07-16 1
2011-07-15 2
2011-07-14 6
2011-07-13 4
2011-07-12 7
2011-07-11 13
2011-07-10 8
2011-07-09 13
2011-07-08 4
2011-07-07 11
2011-07-06 8
2011-07-05 11
2011-07-04 9
2011-07-03 8
2011-07-02 5
2011-07-01 2
2011-06-30 9
2011-06-29 21
2011-06-28 12
2011-06-27 12
2011-06-26 6
2011-06-25 5
2011-06-24 15
2011-06-23 6
2011-06-22 2
2011-06-21 16
2011-06-20 5
2011-06-19 9
2011-06-18 7
2011-06-17 4
2011-06-16 12
2011-06-15 1
2011-06-14 9
2011-06-13 5
2011-06-12 14
2011-06-11 2
2011-06-10 4
2011-06-09 10
2011-06-08 7
2011-06-07 10
2011-06-06 5
2011-06-05 0
2011-06-04 2
2011-06-03 11
2011-06-02 10
2011-06-01 3
2011-05-31 15
2011-05-30 8
2011-05-29 1
2011-05-28 4
2011-05-27 3
2011-05-26 2
2011-05-25 7
2011-05-24 4
2011-05-23 3
2011-05-22 13
2011-05-21 4
2011-05-20 9
2011-05-19 8
2011-05-18 9
2011-05-17 3
2011-05-16 9
2011-05-15 0
2011-05-14 5
2011-05-13 1
2011-05-12 1
2011-05-11 4
2011-05-10 3
2011-05-09 5
2011-05-08 9
2011-05-07 3
2011-05-06 2
2011-05-05 9
2011-05-04 13
2011-05-03 13
2011-05-02 7
2011-05-01 21
2011-04-30 8
2011-04-29 12
2011-04-28 22
2011-04-27 12
2011-04-26 3
2011-04-25 21
2011-04-24 9
2011-04-23 22
2011-04-22 11
2011-04-21 27
2011-04-20 10
2011-04-19 26
2011-04-18 16
2011-04-17 23
2011-04-16 9
2011-04-15 12
2011-04-14 9
2011-04-13 24
2011-04-12 15
2011-04-11 14
2011-04-10 54
2011-04-09 20
2011-04-08 16
2011-04-07 19
2011-04-06 13
2011-04-05 18
2011-04-04 13
2011-04-03 43
2011-04-02 20
2011-04-01 10
2011-03-31 13
2011-03-30 13
2011-03-29 17
2011-03-28 21
2011-03-27 17
2011-03-26 21
2011-03-25 20
2011-03-24 10
2011-03-23 3
2011-03-22 13
2011-03-21 9
2011-03-20 7
2011-03-19 3
2011-03-18 0
2011-03-17 4
2011-03-16 2
2011-03-15 6
2011-03-14 14
2011-03-13 15
2011-03-12 2
2011-03-11 8
2011-03-10 5
2011-03-09 23
2011-03-08 8
2011-03-07 19
2011-03-06 8
2011-03-05 15
2011-03-04 8
2011-03-03 16
2011-03-02 20
2011-03-01 14
2011-02-28 38
2011-02-27 30
2011-02-26 7
2011-02-25 10
2011-02-24 14
2011-02-23 9
2011-02-22 6
2011-02-21 13
2011-02-20 14
2011-02-19 8
2011-02-18 13
2011-02-17 15
2011-02-16 14
2011-02-15 14
2011-02-14 15
2011-02-13 17
2011-02-12 13
2011-02-11 45
2011-02-10 14
2011-02-09 14
2011-02-08 19
2011-02-07 6
2011-02-06 18
2011-02-05 7
2011-02-04 19
2011-02-03 10
2011-02-02 9
2011-02-01 25
2011-01-31 9
2011-01-30 25
2011-01-29 11
2011-01-28 8
2011-01-27 15
2011-01-26 6
2011-01-25 13
2011-01-24 17
2011-01-23 25
2011-01-22 10
2011-01-21 15
2011-01-20 4
2011-01-19 23
2011-01-18 19
2011-01-17 25
2011-01-16 3
2011-01-15 0
2011-01-14 16
2011-01-13 8
2011-01-12 23
2011-01-11 27
2011-01-10 14
2011-01-09 6
2011-01-08 4
2011-01-07 9
2011-01-06 4
2011-01-05 1
2011-01-04 2
2011-01-03 1
2011-01-02 4
2011-01-01 6
2010-12-31 4
2010-12-30 6
2010-12-29 15
2010-12-28 9
2010-12-27 2
2010-12-26 3
2010-12-25 2
2010-12-24 3
2010-12-23 1
2010-12-22 3
2010-12-21 9
2010-12-20 3
2010-12-19 4
2010-12-18 1
2010-12-17 7
2010-12-16 15
2010-12-15 17
2010-12-14 7
2010-12-13 23
2010-12-12 2
2010-12-11 9
2010-12-10 20
2010-12-09 3
2010-12-08 4
2010-12-07 25
2010-12-06 27
2010-12-05 23
2010-12-04 18
2010-12-03 1
2010-12-02 12
2010-12-01 16
2010-11-30 29
2010-11-29 14
2010-11-28 25
2010-11-27 2
2010-11-26 2
2010-11-25 5
2010-11-24 4
2010-11-23 1
2010-11-22 2
2010-11-21 1
2010-11-20 1
2010-11-19 16
2010-11-18 16
2010-11-17 15
2010-11-16 8
2010-11-15 20
2010-11-14 5
2010-11-13 5
2010-11-12 6
2010-11-11 11
2010-11-10 5
2010-11-09 11
2010-11-08 12
2010-11-07 13
2010-11-06 7
2010-11-05 18
2010-11-04 37
2010-11-03 12
2010-11-02 31
2010-11-01 17
2010-10-31 30
2010-10-30 14
2010-10-29 17
2010-10-28 17
2010-10-27 22
2010-10-26 25
2010-10-25 29
2010-10-24 17
2010-10-23 1
2010-10-22 12
2010-10-21 26
2010-10-20 33
2010-10-19 10
2010-10-18 23
2010-10-17 17
2010-10-16 17
2010-10-15 26
2010-10-14 16
2010-10-13 29
2010-10-12 12
2010-10-11 8
2010-10-10 17
2010-10-09 5
2010-10-08 10
2010-10-07 19
2010-10-06 21
2010-10-05 14
2010-10-04 16
2010-10-03 18
2010-10-02 7
2010-10-01 19
2010-09-30 22
2010-09-29 22
2010-09-28 23
2010-09-27 20
2010-09-26 17
2010-09-25 4
2010-09-24 7
2010-09-23 27
2010-09-22 24
2010-09-21 17
2010-09-20 25
2010-09-19 18
2010-09-18 3
2010-09-17 4
2010-09-16 9
2010-09-15 14
2010-09-14 27
2010-09-13 15
2010-09-12 21
2010-09-11 8
2010-09-10 4
2010-09-09 17
2010-09-08 12
2010-09-07 13
2010-09-06 10
2010-09-05 19
2010-09-04 2
2010-09-03 6
2010-09-02 15
2010-09-01 8
2010-08-31 34
2010-08-30 11
2010-08-29 7
2010-08-28 2
2010-08-27 13
2010-08-26 1
2010-08-25 4
2010-08-24 5
2010-08-23 8
2010-08-22 1
2010-08-21 2
2010-08-20 5
2010-08-19 23
2010-08-18 14
2010-08-17 15
2010-08-16 4
2010-08-15 3
2010-08-14 4
2010-08-13 26
2010-08-12 11
2010-08-11 6
2010-08-10 15
2010-08-09 24
2010-08-08 3
2010-08-07 3
2010-08-06 8
2010-08-05 8
2010-08-04 22
2010-08-03 21
2010-08-02 7
2010-08-01 1
2010-07-31 2
2010-07-30 14
2010-07-29 13
2010-07-28 10
2010-07-27 24
2010-07-26 22
2010-07-25 2
2010-07-24 6
2010-07-23 22
2010-07-22 4
2010-07-21 14
2010-07-20 5
2010-07-19 9
2010-07-18 6
2010-07-17 1
2010-07-16 14
2010-07-15 7
2010-07-14 13
2010-07-13 6
2010-07-12 9
2010-07-11 1
2010-07-10 4
2010-07-09 0
2010-07-08 11
2010-07-07 27
2010-07-06 20
2010-07-05 10
2010-07-04 1
2010-07-03 0
2010-07-02 3
2010-07-01 9
2010-06-30 8
2010-06-29 16
2010-06-28 13
2010-06-27 6
2010-06-26 0
2010-06-25 5
2010-06-24 8
2010-06-23 6
2010-06-22 6
2010-06-21 9
2010-06-20 3
2010-06-19 0
2010-06-18 3
2010-06-17 8
2010-06-16 8
2010-06-15 3
2010-06-14 2
2010-06-13 0
2010-06-12 0
2010-06-11 6
2010-06-10 8
2010-06-09 8
2010-06-08 13
2010-06-07 7
2010-06-06 0
2010-06-05 0
2010-06-04 5
2010-06-03 5
2010-06-02 10
2010-06-01 6
2010-05-31 12
2010-05-30 3
2010-05-29 0
2010-05-28 2
2010-05-27 3
2010-05-26 6
2010-05-25 2
2010-05-24 8
2010-05-23 8
2010-05-22 4
2010-05-21 9
2010-05-20 8
2010-05-19 1
2010-05-18 10
2010-05-17 14
2010-05-16 1
2010-05-15 2
2010-05-14 1
2010-05-13 15
2010-05-12 2
2010-05-11 10
2010-05-10 22
2010-05-09 8
2010-05-08 1
2010-05-07 6
2010-05-06 10
2010-05-05 14
2010-05-04 2
2010-05-03 25
2010-05-02 25
2010-05-01 13
2010-04-30 13
2010-04-29 5
2010-04-28 8
2010-04-27 3
2010-04-26 14
2010-04-25 10
2010-04-24 8
2010-04-23 4
2010-04-22 6
2010-04-21 16
2010-04-20 7
2010-04-19 13
2010-04-18 10
2010-04-17 5
2010-04-16 8
2010-04-15 18
2010-04-14 12
2010-04-13 27
2010-04-12 18
2010-04-11 22
2010-04-10 11
2010-04-09 19
2010-04-08 5
2010-04-07 11
2010-04-06 18
2010-04-05 15
2010-04-04 11
2010-04-03 2
2010-04-02 4
2010-04-01 14
2010-03-31 8
2010-03-30 15
2010-03-29 15
2010-03-28 31
2010-03-27 9
2010-03-26 0
2010-03-25 20
2010-03-24 15
2010-03-23 14
2010-03-22 16
2010-03-21 23
2010-03-20 11
2010-03-19 7
2010-03-18 17
2010-03-17 4
2010-03-16 2
2010-03-15 13
2010-03-14 3
2010-03-13 2
2010-03-12 6
2010-03-11 15
2010-03-10 4
2010-03-09 3
2010-03-08 11
2010-03-07 0
2010-03-06 8
2010-03-05 1
2010-03-04 6
2010-03-03 13
2010-03-02 11
2010-03-01 19
2010-02-28 14
2010-02-27 10
2010-02-26 3
2010-02-25 13
2010-02-24 28
2010-02-23 17
2010-02-22 15
2010-02-21 38
2010-02-20 7
2010-02-19 3
2010-02-18 7
2010-02-17 13
2010-02-16 32
2010-02-15 33
2010-02-14 16
2010-02-13 4
2010-02-12 2
2010-02-11 6
2010-02-10 6
2010-02-09 19
2010-02-08 8
2010-02-07 11
2010-02-06 0
2010-02-05 6
2010-02-04 5
2010-02-03 13
2010-02-02 16
2010-02-01 17
2010-01-31 5
2010-01-30 8
2010-01-29 9
2010-01-28 4
2010-01-27 14
2010-01-26 28
2010-01-25 14
2010-01-24 8
2010-01-23 8
2010-01-22 2
2010-01-21 9
2010-01-20 9
2010-01-19 12
2010-01-18 14
2010-01-17 7
2010-01-16 2
2010-01-15 6
2010-01-14 4
2010-01-13 11
2010-01-12 4
2010-01-11 11
2010-01-10 18
2010-01-09 15
2010-01-08 8
2010-01-07 4
2010-01-06 7
2010-01-05 4
2010-01-04 3
2010-01-03 0
2010-01-02 0
2010-01-01 2
2009-12-31 9
2009-12-30 8
2009-12-29 2
2009-12-28 8
2009-12-27 4
2009-12-26 6
2009-12-25 10
2009-12-24 8
2009-12-23 3
2009-12-22 2
2009-12-21 12
2009-12-20 6
2009-12-19 1
2009-12-18 6
2009-12-17 10
2009-12-16 3
2009-12-15 8
2009-12-14 3
2009-12-13 4
2009-12-12 3
2009-12-11 9
2009-12-10 6
2009-12-09 4
2009-12-08 12
2009-12-07 12
2009-12-06 5
2009-12-05 2
2009-12-04 7
2009-12-03 5
2009-12-02 1
2009-12-01 3
2009-11-30 9
2009-11-29 4
2009-11-28 11
2009-11-27 3
2009-11-26 0
2009-11-25 21
2009-11-24 5
2009-11-23 0
2009-11-22 0
2009-11-21 1
2009-11-20 2
2009-11-19 9
2009-11-18 3
2009-11-17 12
2009-11-16 9
2009-11-15 5
2009-11-14 0
2009-11-13 3
2009-11-12 3
2009-11-11 8
2009-11-10 12
2009-11-09 24
2009-11-08 9
2009-11-07 4
2009-11-06 2
2009-11-05 10
2009-11-04 11
2009-11-03 8
2009-11-02 0
2009-11-01 3
2009-10-31 2
2009-10-30 0
2009-10-29 4
2009-10-28 4
2009-10-27 11
2009-10-26 12
2009-10-25 16
2009-10-24 1
2009-10-23 1
2009-10-22 15
2009-10-21 7
2009-10-20 3
2009-10-19 14
2009-10-18 15
2009-10-17 1
2009-10-16 3
2009-10-15 6
2009-10-14 10
2009-10-13 6
2009-10-12 5
2009-10-11 1
2009-10-10 0
2009-10-09 1
2009-10-08 12
2009-10-07 7
2009-10-06 9
2009-10-05 2
2009-10-04 7
2009-10-03 0
2009-10-02 6
2009-10-01 6
2009-09-30 3
2009-09-29 1
2009-09-28 6
2009-09-27 7
2009-09-26 2
2009-09-25 5
2009-09-24 8
2009-09-23 2
2009-09-22 4
2009-09-21 6
2009-09-20 4
2009-09-19 5
2009-09-18 2
2009-09-17 2
2009-09-16 9
2009-09-15 10
2009-09-14 3
2009-09-13 4
2009-09-12 1
2009-09-11 5
2009-09-10 2
2009-09-09 5
2009-09-08 1
2009-09-07 12
2009-09-06 6
2009-09-05 5
2009-09-04 0
2009-09-03 9
2009-09-02 10
2009-09-01 13
2009-08-31 7
2009-08-30 1
2009-08-29 0
2009-08-28 1
2009-08-27 0
2009-08-26 5
2009-08-25 2
2009-08-24 4
2009-08-23 3
2009-08-22 6
2009-08-21 6
2009-08-20 2
2009-08-19 1
2009-08-18 2
2009-08-17 0
2009-08-16 4
2009-08-15 1
2009-08-14 1
2009-08-13 3
2009-08-12 2
2009-08-11 1
2009-08-10 1
2009-08-09 0
2009-08-08 5
2009-08-07 0
2009-08-06 0
2009-08-05 1
2009-08-04 0
2009-08-03 3
2009-08-02 1
2009-08-01 0
2009-07-31 0
2009-07-30 0
2009-07-29 2
2009-07-28 1
2009-07-27 0
2009-07-26 1
2009-07-25 4
2009-07-24 0
2009-07-23 6
2009-07-22 7
2009-07-21 3
2009-07-20 9
2009-07-19 8
2009-07-18 3
2009-07-17 7
2009-07-16 1
2009-07-15 1
2009-07-14 4
2009-07-13 3
2009-07-12 5
2009-07-11 0
2009-07-10 0
2009-07-09 0
2009-07-08 1
2009-07-07 2
2009-07-06 3
2009-07-05 8
2009-07-04 0
2009-07-03 2
2009-07-02 10
2009-07-01 2
2009-06-30 3
2009-06-29 3
2009-06-28 1
2009-06-27 0
2009-06-26 5
2009-06-25 4
2009-06-24 2
2009-06-23 12
2009-06-22 6
2009-06-21 1
2009-06-20 1
2009-06-19 0
2009-06-18 4
2009-06-17 1
2009-06-16 5
2009-06-15 1
2009-06-14 5
2009-06-13 1
2009-06-12 12
2009-06-11 2
2009-06-10 4
2009-06-09 11
2009-06-08 6
2009-06-07 11
2009-06-06 1
2009-06-05 3
2009-06-04 1
2009-06-03 5
2009-06-02 5
2009-06-01 1
2009-05-31 0
2009-05-30 1
2009-05-29 1
2009-05-28 1
2009-05-27 3
2009-05-26 5
2009-05-25 1
2009-05-24 3
2009-05-23 6
2009-05-22 1
2009-05-21 5
2009-05-20 4
2009-05-19 1
2009-05-18 0
2009-05-17 4
2009-05-16 5
2009-05-15 1
2009-05-14 0
2009-05-13 0
2009-05-12 5
2009-05-11 9
2009-05-10 7
2009-05-09 4
2009-05-08 3
2009-05-07 6
2009-05-06 4
2009-05-05 4
2009-05-04 11
2009-05-03 0
2009-05-02 3
2009-05-01 0
2009-04-30 2
2009-04-29 3
2009-04-28 2
2009-04-27 7
2009-04-26 11
2009-04-25 0
2009-04-24 8
2009-04-23 7
2009-04-22 6
2009-04-21 6
2009-04-20 18
2009-04-19 13
2009-04-18 8
2009-04-17 6
2009-04-16 12
2009-04-15 13
2009-04-14 17
2009-04-13 6
2009-04-12 8
2009-04-11 5
2009-04-10 3
2009-04-09 18
2009-04-08 1
2009-04-07 9
2009-04-06 7
2009-04-05 4
2009-04-04 1
2009-04-03 2
2009-04-02 5
2009-04-01 1
2009-03-31 2
2009-03-30 0
2009-03-29 1
2009-03-28 0
2009-03-27 1
2009-03-26 1
2009-03-25 2
2009-03-24 0
2009-03-23 0
2009-03-22 0
2009-03-21 0
2009-03-20 0
2009-03-19 1
2009-03-18 0
2009-03-17 1
2009-03-16 0
2009-03-15 0
2009-03-14 1
2009-03-13 0
2009-03-12 0
2009-03-11 1
2009-03-10 0
2009-03-09 0
2009-03-08 0
2009-03-07 0
2009-03-06 1
2009-03-05 1
2009-03-04 0
2009-03-03 1
2009-03-02 3
2009-03-01 1
2009-02-28 2
2009-02-27 1
2009-02-26 2
2009-02-25 1
2009-02-24 2
2009-02-23 15
2009-02-22 1
2009-02-21 0
2009-02-20 0
2009-02-19 1
2009-02-18 0
2009-02-17 1
2009-02-16 0
2009-02-15 2
2009-02-14 0
2009-02-13 1
2009-02-12 2
2009-02-11 0
2009-02-10 0
2009-02-09 0
2009-02-08 2
2009-02-07 1
2009-02-06 1
2009-02-05 1
2009-02-04 2
2009-02-03 3
2009-02-02 0
2009-02-01 1
2009-01-31 1
2009-01-30 2
2009-01-29 3
2009-01-28 1
2009-01-27 4
2009-01-26 1
2009-01-25 2
2009-01-24 0
2009-01-23 1
2009-01-22 0
2009-01-21 1
2009-01-20 1
2009-01-19 3
2009-01-18 0
2009-01-17 0
2009-01-16 1
2009-01-15 0
2009-01-14 2
2009-01-13 3
2009-01-12 3
2009-01-11 0
2009-01-10 0
2009-01-09 2
2009-01-08 5
2009-01-07 2
2009-01-06 2
2009-01-05 2
2009-01-04 3
2009-01-03 3
2009-01-02 0
2009-01-01 0
2008-12-31 0
2008-12-30 12
2008-12-29 0
2008-12-28 0
2008-12-27 0
2008-12-26 1
2008-12-25 1
2008-12-24 0
2008-12-23 2
2008-12-22 0
2008-12-21 1
2008-12-20 0
2008-12-19 0
2008-12-18 0
2008-12-17 0
2008-12-16 2
2008-12-15 1
2008-12-14 0
2008-12-13 0
2008-12-12 0
2008-12-11 0
2008-12-10 0
2008-12-09 0
2008-12-08 0
2008-12-07 0
2008-12-06 0
2008-12-05 0
2008-12-04 0
2008-12-03 1
2008-12-02 0
2008-12-01 0
2008-11-30 0
2008-11-29 0
2008-11-28 0
2008-11-27 0
2008-11-26 0
2008-11-25 2
2008-11-24 2
2008-11-23 2
2008-11-22 0
2008-11-21 1
2008-11-20 0
2008-11-19 2
2008-11-18 4
2008-11-17 0
2008-11-16 0
2008-11-15 1
2008-11-14 1
2008-11-13 0
2008-11-12 2
2008-11-11 0
2008-11-10 2
2008-11-09 0
2008-11-08 0
2008-11-07 0
2008-11-06 0
2008-11-05 0
2008-11-04 1
2008-11-03 1
2008-11-02 0
2008-11-01 0
2008-10-31 1
2008-10-30 1
2008-10-29 1
2008-10-28 1
2008-10-27 3
2008-10-26 0
2008-10-25 0
2008-10-24 0
2008-10-23 0
2008-10-22 0
2008-10-21 4
2008-10-20 2
2008-10-19 2
2008-10-18 0
2008-10-17 3
2008-10-16 1
2008-10-15 0
2008-10-14 2
2008-10-13 0
2008-10-12 0
2008-10-11 0
2008-10-10 0
2008-10-09 2
2008-10-08 1
2008-10-07 0
2008-10-06 1
2008-10-05 2
2008-10-04 0
2008-10-03 1
2008-10-02 1
2008-10-01 0
2008-09-30 0
2008-09-29 0
2008-09-28 1
2008-09-27 0
2008-09-26 1
2008-09-25 0
2008-09-24 0
2008-09-23 0
2008-09-22 0
2008-09-21 1
2008-09-20 0
2008-09-19 1
2008-09-18 0
2008-09-17 1
2008-09-16 1
2008-09-15 0
2008-09-14 0
2008-09-13 3
2008-09-12 0
2008-09-11 1
2008-09-10 0
2008-09-09 0
2008-09-08 0
2008-09-07 2
2008-09-06 1
2008-09-05 0
2008-09-04 2
2008-09-03 2
2008-09-02 2
2008-09-01 1
2008-08-31 1
2008-08-30 1
2008-08-29 0
2008-08-28 0
2008-08-27 0
2008-08-26 0
2008-08-25 4
2008-08-24 6
2008-08-23 4
2008-08-22 4
2008-08-21 0
2008-08-20 0
2008-08-19 5
2008-08-18 0
2008-08-17 0
2008-08-16 1
2008-08-15 0
2008-08-14 0
2008-08-13 0
2008-08-12 1
2008-08-11 0
2008-08-10 0
2008-08-09 1
2008-08-08 2
2008-08-07 1
2008-08-06 3
2008-08-05 13
2008-08-04 1
2008-08-03 1
2008-08-02 0
2008-08-01 0
2008-07-31 0
2008-07-30 3
2008-07-29 6
2008-07-28 3
2008-07-27 0
2008-07-26 1
2008-07-25 0
2008-07-24 2
2008-07-23 3
2008-07-22 2
2008-07-21 2
2008-07-20 10
2008-07-19 0
2008-07-18 1
2008-07-17 2
2008-07-16 6
2008-07-15 10
2008-07-14 9
2008-07-13 3
2008-07-12 0
2008-07-11 0
2008-07-10 0
2008-07-09 0
2008-07-08 3
2008-07-07 2
2008-07-06 1
2008-07-05 3
2008-07-04 0
2008-07-03 4
2008-07-02 1
2008-07-01 9
2008-06-30 19
2008-06-29 5
2008-06-28 0
2008-06-27 0
2008-06-26 0
2008-06-25 0
2008-06-24 0
2008-06-23 0
2008-06-22 0
2008-06-21 7
2008-06-20 6
2008-06-19 7
2008-06-18 16
2008-06-17 11
2008-06-16 0
2008-06-15 0
2008-06-14 1
2008-06-13 4
2008-06-12 1
2008-06-11 0
2008-06-10 1
2008-06-09 0
2008-06-08 0
2008-06-07 1
2008-06-06 0
2008-06-05 1
2008-06-04 2
2008-06-03 5
2008-06-02 1
2008-06-01 1
2008-05-31 0
2008-05-30 0
2008-05-29 6
2008-05-28 13
2008-05-27 1
2008-05-26 10
2008-05-25 0
2008-05-24 4
2008-05-23 1
2008-05-22 4
2008-05-21 1
2008-05-20 1
2008-05-19 3
2008-05-18 1
2008-05-17 1
2008-05-16 0
2008-05-15 3
2008-05-14 5
2008-05-13 0
2008-05-12 7
2008-05-11 2
2008-05-10 6
2008-05-09 0
2008-05-08 1
2008-05-07 6
2008-05-06 8
2008-05-05 7
2008-05-04 4
2008-05-03 2
2008-05-02 0
2008-05-01 1
2008-04-30 6
2008-04-29 3
2008-04-28 6
2008-04-27 2
2008-04-26 3
2008-04-25 0
2008-04-24 6
2008-04-23 3
2008-04-22 1
2008-04-21 0
2008-04-20 3
2008-04-19 10
2008-04-18 0
2008-04-17 1
2008-04-16 6
2008-04-15 0
2008-04-14 6
2008-04-13 2
2008-04-12 0
2008-04-11 0
2008-04-10 3
2008-04-09 1
2008-04-08 0
2008-04-07 2
2008-04-06 2
2008-04-05 1
2008-04-04 1
2008-04-03 0
2008-04-02 1
2008-04-01 2
2008-03-31 5
2008-03-30 7
2008-03-29 4
2008-03-28 7
2008-03-27 12
2008-03-26 10
2008-03-25 1
2008-03-24 2
2008-03-23 6
2008-03-22 5
2008-03-21 1
2008-03-20 2
2008-03-19 0
2008-03-18 4
2008-03-17 5
2008-03-16 12
2008-03-15 0
2008-03-14 0
2008-03-13 0
2008-03-12 7
2008-03-11 2
2008-03-10 7
2008-03-09 2
2008-03-08 2
2008-03-07 7
2008-03-06 3
2008-03-05 2
2008-03-04 2
2008-03-03 7
2008-03-02 2
2008-03-01 1
2008-02-29 1
2008-02-28 1
2008-02-27 3
2008-02-26 0
2008-02-25 0
2008-02-24 0
2008-02-23 5
2008-02-22 1
2008-02-21 3
2008-02-20 1
2008-02-19 3
2008-02-18 2
2008-02-17 0
2008-02-16 5
2008-02-15 2
2008-02-14 0
2008-02-13 3
2008-02-12 2
2008-02-11 0
2008-02-10 2
2008-02-09 0
2008-02-08 2
2008-02-07 2
2008-02-06 0
2008-02-05 2
2008-02-04 2
2008-02-03 2
2008-02-02 1
2008-02-01 0
2008-01-31 2
2008-01-30 2
2008-01-29 3
2008-01-28 6
2008-01-27 0
2008-01-26 1
2008-01-25 1
2008-01-24 4
2008-01-23 0
2008-01-22 1
2008-01-21 3
2008-01-20 4
2008-01-19 0
2008-01-18 2
2008-01-17 2
2008-01-16 4
2008-01-15 1
2008-01-14 1
2008-01-13 4
2008-01-12 1
2008-01-11 1
2008-01-10 1
2008-01-09 1
2008-01-08 1
2008-01-07 1
2008-01-06 4
2008-01-05 3
2008-01-04 1
2008-01-03 0
2008-01-02 6
2008-01-01 4
2007-12-31 6
2007-12-30 5
2007-12-29 0
2007-12-28 2
2007-12-27 1
2007-12-26 2
2007-12-25 0
2007-12-24 2
2007-12-23 2
2007-12-22 0
2007-12-21 1
2007-12-20 1
2007-12-19 2
2007-12-18 0
2007-12-17 3
2007-12-16 4
2007-12-15 1
2007-12-14 1
2007-12-13 7
2007-12-12 1
2007-12-11 2
2007-12-10 1
2007-12-09 1
2007-12-08 2
2007-12-07 1
2007-12-06 4
2007-12-05 4
2007-12-04 2
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<style>
body {
font: 10px sans-serif;
shape-rendering: crispEdges;
}
h1 {
font:40px sans-serif;
}
h2 {
font:15px sans-serif;
}
.day {
fill: #fff;
stroke: #ccc;
z-index:1;
}
.month {
fill: none;
stroke: #000;
stroke-width: 2px;
}
.toplink {
z-index: 100000;
display:block;
position:relative;
}
rect:hover
{
opacity: 0.75;
}
.RdYlGn .q10-11{fill:rgb(165,0,38)}
.RdYlGn .q9-11{fill:rgb(215,48,39)}
.RdYlGn .q8-11{fill:rgb(244,109,67)}
.RdYlGn .q7-11{fill:rgb(253,174,97)}
.RdYlGn .q6-11{fill:rgb(254,224,139)}
.RdYlGn .q5-11{fill:rgb(255,255,191)}
.RdYlGn .q4-11{fill:rgb(217,239,139)}
.RdYlGn .q3-11{fill:rgb(166,217,106)}
.RdYlGn .q2-11{fill:rgb(102,189,99)}
.RdYlGn .q1-11{fill:rgb(26,152,80)}
.RdYlGn .q0-11{fill:rgb(0,104,55)}
</style>
<title>Calendar Heatmap</title>
</head>
<body>
<h1 id="pagetitle">Calendar Heatmap</h1>
<h2>Hover over a day and it'll show you the date and the value.</h2>
<h2>Click on a day! It will search for things from that day.</h2>
<script src="d3.v3.min.js"></script>
<script>
//Step 1) Title the document
var pagetitle = "Calendar Heatmap"
document.title = pagetitle
document.getElementById("pagetitle").innerHTML = pagetitle
//Step 2) You can choose the input csv name here. This assumes there are at least two columns in the csv wit headers "date" and "value".
var csvfile = "data.csv";
//Step 3) If you'd like the calendar to link to something based on the date, construct your query here.
// Alternatively, disable links altogether
function boxlink(d) {
date = d.getFullYear().toString() + '-' + (d.getMonth() + 1).toString() + '-' + d.getDate().toString()
//uncomment "return null;" if you'd like to disable links
//return null;
return 'https://mail.google.com/mail/u/0/#advanced-search/to='
+ 'ypmb-discuss%40panlists.yale.edu'
+ '%2c&subset=all&within=1d&date=' + date;
}
//
//all of the heavy lifting is below
//
var width = 960,
height = 136,
cellSize = 17; // cell size
var day = d3.time.format("%w"),
week = d3.time.format("%U"),
percent = d3.format(".1%"),
format = d3.time.format("%Y-%m-%d");
var svg = d3.select("body").selectAll("svg")
.data(d3.range(2012, 2014))
.enter().append("svg")
.attr("width", width)
.attr("height", height)
.attr("class", "RdYlGn")
.append("g")
.attr("transform", "translate(" + ((width - cellSize * 53) / 2) + "," + (height - cellSize * 7 - 1) + ")");
//Display Year
svg.append("text")
.attr("transform", "translate(-6," + cellSize * 3.5 + ")rotate(-90)")
.style("text-anchor", "middle")
.text(function(d) { return d; });
//Color each of the day squares?
var rect = svg.selectAll(".day")
.data(function(d) { return d3.time.days(new Date(d, 0, 1), new Date(d + 1, 0, 1)); })
.enter()
.append("a")
.attr("xlink:href",function(d){
return window.boxlink(d);
;})
.attr("xlink:show","new")
.append("rect")
.attr("class", "day")
.attr("width", cellSize)
.attr("height", cellSize)
.attr("x", function(d) { return week(d) * cellSize; })
.attr("y", function(d) { return day(d) * cellSize; })
.datum(format);
rect.append("title")
.text(function(d) { return d; });
svg.selectAll(".month")
.data(function(d) { return d3.time.months(new Date(d, 0, 1), new Date(d + 1, 0, 1)); })
.enter().append("path")
.attr("class", "month")
.attr("d", monthPath);
//get all the datas! from the csv
d3.csv(csvfile, function(error, csv) {
var data = d3.nest()
.key(function(d) { return d.date; })
.rollup(function(d) { return (d[0].value); })
.map(csv);
//There must be a cleaner way to get the max of the data
var max = d3.max(d3.values(data).map(function(d) { return +d; }));
var color = d3.scale.quantize()
.domain([0, max])
.range(d3.range(11).map(function(d) { return "q" + d + "-11"; }));
rect.filter(function(d) { return d in data; })
.attr("class", function(d) { return "day " + color(data[d]); })
.select("title")
.text(function(d) { return d + ": " + data[d]; });
});
//Draw boxes around the months
function monthPath(t0) {
var t1 = new Date(t0.getFullYear(), t0.getMonth() + 1, 0),
d0 = +day(t0), w0 = +week(t0),
d1 = +day(t1), w1 = +week(t1);
return "M" + (w0 + 1) * cellSize + "," + d0 * cellSize
+ "H" + w0 * cellSize + "V" + 7 * cellSize
+ "H" + w1 * cellSize + "V" + (d1 + 1) * cellSize
+ "H" + (w1 + 1) * cellSize + "V" + 0
+ "H" + (w0 + 1) * cellSize + "Z";
}
d3.select(self.frameElement).style("height", "2910px");
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment