Skip to content

Instantly share code, notes, and snippets.

Created January 24, 2014 19:24
Show Gist options
  • Save anonymous/8604220 to your computer and use it in GitHub Desktop.
Save anonymous/8604220 to your computer and use it in GitHub Desktop.
body {
font: 10px sans-serif;
}
.axis path,
.axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
.reason text {
text-anchor: end;
}
.legend
{
width: 640px;
white-space: nowrap;
overflow: hidden;
}
.legend li
{
list-style-type:none;
padding: .25em;
text-shadow: white 0 0 6px;
font-size:10pt;
text-overflow: ellipsis;
overflow: hidden;
}
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="[add your bin description]" />
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
<script src="http://d3js.org/d3.v3.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
</body>
</html>
var otData = [
[
1372032000000,
"Other (add a comment explaining what is wrong)",
190
],
[
1372032000000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
190
],
[
1372032000000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
149
],
[
1372032000000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
107
],
[
1372032000000,
"Questions must **demonstrate a minimal understanding of the problem being solved**. Tell us what you've tried to do, why it didn't work, and how it *s",
522
],
[
1372032000000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
65
],
[
1372032000000,
"This question belongs on another site in the Stack Exchange network",
56
],
[
1372032000000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
30
],
[
1372636800000,
"Other (add a comment explaining what is wrong)",
252
],
[
1372636800000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
296
],
[
1372636800000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1
],
[
1372636800000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
296
],
[
1372636800000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
214
],
[
1372636800000,
"Questions must **demonstrate a minimal understanding of the problem being solved**. Tell us what you've tried to do, why it didn't work, and how it *s",
1118
],
[
1372636800000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
85
],
[
1372636800000,
"This question belongs on another site in the Stack Exchange network",
118
],
[
1372636800000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
13
],
[
1373241600000,
"Other (add a comment explaining what is wrong)",
267
],
[
1373241600000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
379
],
[
1373241600000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
959
],
[
1373241600000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
392
],
[
1373241600000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
309
],
[
1373241600000,
"Questions must **demonstrate a minimal understanding of the problem being solved**. Tell us what you've tried to do, why it didn't work, and how it *s",
663
],
[
1373241600000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
106
],
[
1373241600000,
"This question belongs on another site in the Stack Exchange network",
117
],
[
1373241600000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
7
],
[
1373846400000,
"Other (add a comment explaining what is wrong)",
226
],
[
1373846400000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
347
],
[
1373846400000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1508
],
[
1373846400000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
344
],
[
1373846400000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
307
],
[
1373846400000,
"Questions must **demonstrate a minimal understanding of the problem being solved**. Tell us what you've tried to do, why it didn't work, and how it *s",
27
],
[
1373846400000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
99
],
[
1373846400000,
"This question belongs on another site in the Stack Exchange network",
105
],
[
1373846400000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
19
],
[
1374451200000,
"Other (add a comment explaining what is wrong)",
263
],
[
1374451200000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
303
],
[
1374451200000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1435
],
[
1374451200000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
429
],
[
1374451200000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
315
],
[
1374451200000,
"Questions must **demonstrate a minimal understanding of the problem being solved**. Tell us what you've tried to do, why it didn't work, and how it *s",
2
],
[
1374451200000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
66
],
[
1374451200000,
"This question belongs on another site in the Stack Exchange network",
80
],
[
1374451200000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
10
],
[
1375056000000,
"Other (add a comment explaining what is wrong)",
266
],
[
1375056000000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
281
],
[
1375056000000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1500
],
[
1375056000000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
472
],
[
1375056000000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
342
],
[
1375056000000,
"Questions must **demonstrate a minimal understanding of the problem being solved**. Tell us what you've tried to do, why it didn't work, and how it *s",
3
],
[
1375056000000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
71
],
[
1375056000000,
"This question belongs on another site in the Stack Exchange network",
79
],
[
1375056000000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
6
],
[
1375660800000,
"Other (add a comment explaining what is wrong)",
247
],
[
1375660800000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
292
],
[
1375660800000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1536
],
[
1375660800000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
491
],
[
1375660800000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
410
],
[
1375660800000,
"Questions must **demonstrate a minimal understanding of the problem being solved**. Tell us what you've tried to do, why it didn't work, and how it *s",
2
],
[
1375660800000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
70
],
[
1375660800000,
"This question belongs on another site in the Stack Exchange network",
75
],
[
1375660800000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
9
],
[
1376265600000,
"Other (add a comment explaining what is wrong)",
255
],
[
1376265600000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
356
],
[
1376265600000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1510
],
[
1376265600000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
738
],
[
1376265600000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
382
],
[
1376265600000,
"Questions must **demonstrate a minimal understanding of the problem being solved**. Tell us what you've tried to do, why it didn't work, and how it *s",
1
],
[
1376265600000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
79
],
[
1376265600000,
"This question belongs on another site in the Stack Exchange network",
84
],
[
1376265600000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
6
],
[
1376870400000,
"Other (add a comment explaining what is wrong)",
331
],
[
1376870400000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
347
],
[
1376870400000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1596
],
[
1376870400000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
630
],
[
1376870400000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
441
],
[
1376870400000,
"Questions must **demonstrate a minimal understanding of the problem being solved**. Tell us what you've tried to do, why it didn't work, and how it *s",
1
],
[
1376870400000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
98
],
[
1376870400000,
"This question belongs on another site in the Stack Exchange network",
92
],
[
1376870400000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
14
],
[
1377475200000,
"Other (add a comment explaining what is wrong)",
272
],
[
1377475200000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
336
],
[
1377475200000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1592
],
[
1377475200000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
527
],
[
1377475200000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
492
],
[
1377475200000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
104
],
[
1377475200000,
"This question belongs on another site in the Stack Exchange network",
67
],
[
1377475200000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
10
],
[
1378080000000,
"Other (add a comment explaining what is wrong)",
228
],
[
1378080000000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
291
],
[
1378080000000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1516
],
[
1378080000000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
544
],
[
1378080000000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
538
],
[
1378080000000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
105
],
[
1378080000000,
"This question belongs on another site in the Stack Exchange network",
73
],
[
1378080000000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
4
],
[
1378684800000,
"Other (add a comment explaining what is wrong)",
274
],
[
1378684800000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
320
],
[
1378684800000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1560
],
[
1378684800000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
515
],
[
1378684800000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
491
],
[
1378684800000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
93
],
[
1378684800000,
"This question belongs on another site in the Stack Exchange network",
72
],
[
1378684800000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
5
],
[
1379289600000,
"Other (add a comment explaining what is wrong)",
259
],
[
1379289600000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
292
],
[
1379289600000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1750
],
[
1379289600000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
566
],
[
1379289600000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
468
],
[
1379289600000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
88
],
[
1379289600000,
"This question belongs on another site in the Stack Exchange network",
75
],
[
1379289600000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
8
],
[
1379894400000,
"Other (add a comment explaining what is wrong)",
258
],
[
1379894400000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
259
],
[
1379894400000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1807
],
[
1379894400000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
527
],
[
1379894400000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
495
],
[
1379894400000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
86
],
[
1379894400000,
"This question belongs on another site in the Stack Exchange network",
61
],
[
1379894400000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
6
],
[
1380499200000,
"Other (add a comment explaining what is wrong)",
253
],
[
1380499200000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
280
],
[
1380499200000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1850
],
[
1380499200000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
574
],
[
1380499200000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
507
],
[
1380499200000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
74
],
[
1380499200000,
"This question belongs on another site in the Stack Exchange network",
77
],
[
1380499200000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
2
],
[
1381104000000,
"Other (add a comment explaining what is wrong)",
227
],
[
1381104000000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
278
],
[
1381104000000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1699
],
[
1381104000000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
521
],
[
1381104000000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
490
],
[
1381104000000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
71
],
[
1381104000000,
"This question belongs on another site in the Stack Exchange network",
95
],
[
1381104000000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
8
],
[
1381708800000,
"Other (add a comment explaining what is wrong)",
233
],
[
1381708800000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
265
],
[
1381708800000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1924
],
[
1381708800000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
620
],
[
1381708800000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
546
],
[
1381708800000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
99
],
[
1381708800000,
"This question belongs on another site in the Stack Exchange network",
87
],
[
1381708800000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
29
],
[
1382313600000,
"Other (add a comment explaining what is wrong)",
218
],
[
1382313600000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
263
],
[
1382313600000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1690
],
[
1382313600000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
613
],
[
1382313600000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
416
],
[
1382313600000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
75
],
[
1382313600000,
"This question belongs on another site in the Stack Exchange network",
82
],
[
1382313600000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
37
],
[
1382918400000,
"Other (add a comment explaining what is wrong)",
228
],
[
1382918400000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
269
],
[
1382918400000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1746
],
[
1382918400000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
583
],
[
1382918400000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
504
],
[
1382918400000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
75
],
[
1382918400000,
"This question belongs on another site in the Stack Exchange network",
67
],
[
1382918400000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
6
],
[
1383523200000,
"Other (add a comment explaining what is wrong)",
244
],
[
1383523200000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
275
],
[
1383523200000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1671
],
[
1383523200000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
601
],
[
1383523200000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
480
],
[
1383523200000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
80
],
[
1383523200000,
"This question belongs on another site in the Stack Exchange network",
80
],
[
1383523200000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
4
],
[
1384128000000,
"Other (add a comment explaining what is wrong)",
215
],
[
1384128000000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
254
],
[
1384128000000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1693
],
[
1384128000000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
801
],
[
1384128000000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
455
],
[
1384128000000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
66
],
[
1384128000000,
"This question belongs on another site in the Stack Exchange network",
83
],
[
1384128000000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
6
],
[
1384732800000,
"Other (add a comment explaining what is wrong)",
248
],
[
1384732800000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
326
],
[
1384732800000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1940
],
[
1384732800000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
622
],
[
1384732800000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
582
],
[
1384732800000,
"Questions must **demonstrate a minimal understanding of the problem being solved**. Tell us what you've tried to do, why it didn't work, and how it *s",
2
],
[
1384732800000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
125
],
[
1384732800000,
"This question belongs on another site in the Stack Exchange network",
89
],
[
1384732800000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
7
],
[
1385337600000,
"Other (add a comment explaining what is wrong)",
239
],
[
1385337600000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
272
],
[
1385337600000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1829
],
[
1385337600000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
609
],
[
1385337600000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
622
],
[
1385337600000,
"Questions must **demonstrate a minimal understanding of the problem being solved**. Tell us what you've tried to do, why it didn't work, and how it *s",
1
],
[
1385337600000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
69
],
[
1385337600000,
"This question belongs on another site in the Stack Exchange network",
96
],
[
1385337600000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
7
],
[
1385942400000,
"Other (add a comment explaining what is wrong)",
321
],
[
1385942400000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
371
],
[
1385942400000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
2053
],
[
1385942400000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
683
],
[
1385942400000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
708
],
[
1385942400000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
97
],
[
1385942400000,
"This question belongs on another site in the Stack Exchange network",
91
],
[
1385942400000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
10
],
[
1386547200000,
"Other (add a comment explaining what is wrong)",
293
],
[
1386547200000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
270
],
[
1386547200000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
2084
],
[
1386547200000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
615
],
[
1386547200000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
669
],
[
1386547200000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
84
],
[
1386547200000,
"This question belongs on another site in the Stack Exchange network",
75
],
[
1386547200000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
9
],
[
1387152000000,
"Other (add a comment explaining what is wrong)",
354
],
[
1387152000000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
390
],
[
1387152000000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
2545
],
[
1387152000000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
725
],
[
1387152000000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
991
],
[
1387152000000,
"Questions must **demonstrate a minimal understanding of the problem being solved**. Tell us what you've tried to do, why it didn't work, and how it *s",
1
],
[
1387152000000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
123
],
[
1387152000000,
"This question belongs on another site in the Stack Exchange network",
105
],
[
1387152000000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
7
],
[
1387756800000,
"Other (add a comment explaining what is wrong)",
259
],
[
1387756800000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
387
],
[
1387756800000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1930
],
[
1387756800000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
582
],
[
1387756800000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
712
],
[
1387756800000,
"Questions must **demonstrate a minimal understanding of the problem being solved**. Tell us what you've tried to do, why it didn't work, and how it *s",
1
],
[
1387756800000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
99
],
[
1387756800000,
"This question belongs on another site in the Stack Exchange network",
72
],
[
1387756800000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
7
],
[
1388361600000,
"Other (add a comment explaining what is wrong)",
255
],
[
1388361600000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
336
],
[
1388361600000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1767
],
[
1388361600000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
558
],
[
1388361600000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
625
],
[
1388361600000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
92
],
[
1388361600000,
"This question belongs on another site in the Stack Exchange network",
82
],
[
1388966400000,
"Other (add a comment explaining what is wrong)",
311
],
[
1388966400000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
302
],
[
1388966400000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
1291
],
[
1388966400000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
579
],
[
1388966400000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
481
],
[
1388966400000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
108
],
[
1388966400000,
"This question belongs on another site in the Stack Exchange network",
83
],
[
1388966400000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
4
],
[
1388966400000,
"This question was caused by **a problem that can no longer be reproduced** or **a simple typographical error**. While similar questions may be on-topi",
119
],
[
1389571200000,
"Other (add a comment explaining what is wrong)",
341
],
[
1389571200000,
"Questions about **general computing hardware and software** are off-topic for Stack Overflow unless they directly involve tools used primarily for pro",
286
],
[
1389571200000,
"Questions asking for code must **demonstrate a minimal understanding of the problem being solved**. Include attempted solutions, why they didn't work,",
10
],
[
1389571200000,
"Questions asking us to **recommend or find a tool, library or favorite off-site resource** are off-topic for Stack Overflow as they tend to attract op",
521
],
[
1389571200000,
"Questions concerning problems with code you've written must **describe the specific problem** — and **include valid code** to reproduce it — in the qu",
4
],
[
1389571200000,
"Questions on **professional server, networking, or related infrastructure administration** are off-topic for Stack Overflow unless they directly invol",
94
],
[
1389571200000,
"This question appears to be off-topic because **it lacks sufficient information to diagnose the problem.** Describe your problem in more detail or [in",
69
],
[
1389571200000,
"This question belongs on another site in the Stack Exchange network",
73
],
[
1389571200000,
"This question does not appear to be about $Topic within the scope defined in the [help/on-topic].",
1
],
[
1389571200000,
"This question was caused by **a problem that can no longer be reproduced** or **a simple typographical error**. While similar questions may be on-topi",
311
]
];
var allOT = {};
var weekToOT = {};
otData.forEach(function(v,i) { allOT[v[1]] = 0; });
otData.forEach(function(v,i) { weekToOT[v[0]] = weekToOT[v[0]]||{}; weekToOT[v[0]][v[1]] = v[2]; });
var maxOTwk=0;
var ot = $.map(weekToOT, function(v,k)
{
var r = {week: new Date(Number(k))};
var wktotal = 0;
for (var ot in allOT)
{
r[ot] = v[ot]||0;
allOT[ot] += r[ot];
wktotal += r[ot];
}
maxOTwk = Math.max(maxOTwk, wktotal);
return r;
});
var margin = {top: 20, right: 0, bottom: 30, left: 50},
width = 680 - margin.left - margin.right,
height = 400 - margin.top - margin.bottom;
var format = d3.format(",.0f");
var x = d3.time.scale()
.range([0, width]);
var y = d3.scale.linear()
.domain([0,maxOTwk])
.range([height, 0]);
var color = d3.scale.category10();
var xAxis = d3.svg.axis()
.scale(x)
.orient("bottom");
var yAxis = d3.svg.axis()
.scale(y)
.orient("left")
.tickFormat(format);
var area = d3.svg.area()
.x(function(d) { return x(d.week); })
.y0(function(d) { return y(d.y0); })
.y1(function(d) { return y(d.y0 + d.y); });
var stack = d3.layout.stack()
.values(function(d) { return d.values; });
var svg = d3.select("body").append("svg")
.attr("width", width + margin.left + margin.right)
.attr("height", height + margin.top + margin.bottom)
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
color.domain(d3.keys(ot[0]).filter(function(key) { return key !== "week"; }));
var reasons = stack(color.domain().map(function(name) {
return {
name: name,
values: ot.map(function(d) {
return {week: d.week, y: d[name]};
})
};
})
.sort(function(a,b)
{
return allOT[b.name] - allOT[a.name];
}));
x.domain(d3.extent(ot, function(d) { return d.week; }));
var reason = svg.selectAll(".reason")
.data(reasons)
.enter().append("g")
.attr("class", "reason");
reason.append("path")
.attr("class", "area")
.attr("d", function(d) { return area(d.values); })
.style("fill", function(d) { return color(d.name); });
svg.append("g")
.attr("class", "x axis")
.attr("transform", "translate(0," + height + ")")
.call(xAxis);
svg.append("g")
.attr("class", "y axis")
.call(yAxis);
var legend = d3.select("body").append("ul").attr('class', 'legend');
legend.selectAll('li')
.data(color.domain())
.enter()
.append("li")
.style('background-color', function(c) { return color(c);})
.text(function(c) { return (new Array(6-(''+allOT[c]).length)).join('0') + allOT[c] + ': ' + c; })
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment