This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| year | month | yearmonth | date | failures | |
|---|---|---|---|---|---|
| 2007 | 1 | 200701 | 2007-01 | 0 | |
| 2007 | 2 | 200702 | 2007-02 | 1 | |
| 2007 | 3 | 200703 | 2007-03 | 0 | |
| 2007 | 4 | 200704 | 2007-04 | 0 | |
| 2007 | 5 | 200705 | 2007-05 | 0 | |
| 2007 | 6 | 200706 | 2007-06 | 0 | |
| 2007 | 7 | 200707 | 2007-07 | 0 | |
| 2007 | 8 | 200708 | 2007-08 | 0 | |
| 2007 | 9 | 200709 | 2007-09 | 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var margin = {top: 15, right: 20, bottom: 40, left: 40}, | |
| width = 575 - margin.left - margin.right, | |
| height = 460 - margin.top - margin.bottom; | |
| var parseYear = d3.time.format("%Y").parse, | |
| parseDate = d3.time.format("%Y%m").parse, | |
| parseMonth = d3.time.format("%m-%Y").parse, | |
| numberFormat = d3.format(",.0f"), | |
| numberFormatDetailed = d3.format(",.1f"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var margin = {top: 35, right: 45, bottom: 40, left: 25}, | |
| width = 565 - margin.left - margin.right, | |
| height = 460 - margin.top - margin.bottom; | |
| var parseYear = d3.time.format("%Y").parse, | |
| parseDate = d3.time.format("%Y%m").parse, | |
| parseMonth = d3.time.format("%m-%Y").parse, | |
| numberFormat = d3.format(",.0f"), | |
| numberFormatDetailed = d3.format(",.1f"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var margin = {top: 15, right: 45, bottom: 40, left: 25}, | |
| width = 565 - margin.left - margin.right, | |
| height = 460 - margin.top - margin.bottom; | |
| var parseYear = d3.time.format("%Y").parse, | |
| parseDate = d3.time.format("%Y%m").parse, | |
| parseMonth = d3.time.format("%m-%Y").parse, | |
| numberFormat = d3.format(",.0f"), | |
| numberFormatDetailed = d3.format(",.1f"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var margin = {top: 15, right: 38, bottom: 20, left: 12}, | |
| width = 575 - margin.left - margin.right, | |
| height = 460 - margin.top - margin.bottom; | |
| var parseYear = d3.time.format("%Y").parse, | |
| parseMonth = d3.time.format("%m-%Y").parse, | |
| formatPercent = d3.format("%"), | |
| formatPercentDetailed = d3.format(".1%"); | |
| var x = d3.time.scale() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var margin = {top: 30, right: 25, bottom: 20, left: 23}, | |
| width = 565 - margin.left - margin.right, | |
| height = 400 - margin.top - margin.bottom; | |
| var parseDate = d3.time.format("%m-%d-%Y").parse, | |
| formatPercent = d3.format(".0"), | |
| formatPercentDetailed = d3.format(".1%"), | |
| numberFormat = d3.format(",.0f"); | |
| var x = d3.time.scale() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var margin = {top: 15, right: 30, bottom: 20, left: 0}, | |
| width = 575 - margin.left - margin.right, | |
| height = 400 - margin.top - margin.bottom; | |
| var parseDate = d3.time.format("%m-%d-%Y").parse; | |
| var x = d3.time.scale() | |
| .range([0, width]); | |
| var y = d3.scale.linear() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var margin = {top: 10, right: 65, bottom: 25, left: 55}, | |
| width = 675 - margin.left - margin.right, | |
| height = 450 - margin.top - margin.bottom, | |
| numberFormat = d3.format(",.0f"), | |
| dollarFormat = d3.format("$,.0f"), | |
| labelBuffer = 7; | |
| var xScale = d3.time.scale() | |
| .range([0, width]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var margin = {top: 20, right: 75, bottom: 30, left: 30}, | |
| width = 700 - margin.left - margin.right, | |
| height = 400 - margin.top - margin.bottom, | |
| xScale = d3.time.scale().range([0, width]), | |
| yScale = d3.scale.linear().range([height, 0]), | |
| parseDate = d3.time.format("%Y").parse, | |
| formatPercent = d3.format(".0%"); | |
| var birthData, | |
| filtered, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var margin = {top: 30, right: 20, bottom: 30, left: 22}, | |
| width = 400 - margin.left - margin.right, | |
| height = 500 - margin.top - margin.bottom; | |
| var x = d3.scale.ordinal() | |
| .rangeRoundBands([0, width], .1); | |
| var y = d3.scale.linear() | |
| .rangeRound([height, 0]); |
NewerOlder