Skip to content

Instantly share code, notes, and snippets.

@AndresAnayaIsaza
Created February 4, 2017 21:09
Show Gist options
  • Save AndresAnayaIsaza/c6e4f592f06b44755b4d9b20229e745f to your computer and use it in GitHub Desktop.
Save AndresAnayaIsaza/c6e4f592f06b44755b4d9b20229e745f to your computer and use it in GitHub Desktop.
Scatterplot: Labor Force Participation
license: mit
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");
var x = d3.scale.linear()
.range([0, width]);
var y0 = d3.scale.linear()
.range([height, 0]);
var y1 = d3.scale.linear()
.range([height, 0]);
var xAxis = d3.svg.axis()
.scale(x)
.orient("bottom")
.tickFormat(numberFormatDetailed);
var yAxisLeft = d3.svg.axis()
.scale(y1)
.orient("left")
.tickFormat(numberFormatDetailed)
.tickSize(-width);
var yAxisRight = d3.svg.axis()
.scale(y0)
.orient("right")
.tickFormat(numberFormatDetailed);
var line = d3.svg.line()
.x(function(d) { return x(d.lfpr); })
.y(function(d) { return y1(d.fitted); });
var lfprLine = d3.svg.line()
.x(function(d) { return x(d.dateid); })
.y(function(d) { return y0(d.lfpr); });
var unempLine = d3.svg.line()
.x(function(d) { return x(d.dateid); })
.y(function(d) { return y1(d.unemprate); });
var regLine = d3.svg.line()
.x(function(d) { return x(d.lfpr); })
.y(function(d) { return y1(d.fitted); });
var regLine2000s = d3.svg.line()
.x(function(d) { return x(d.fitted); })
.y(function(d) { return y1(d.unemprate); });
var svg = d3.select("#chart").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 + ")");
var group;
var selectedVariable;
var twodigits = d3.format("02d");
var year;
var month;
var dateid;
var duration;
var formatDate = d3.time.format("%B, %Y");
var slideout;
var slidein;
var delay;
var legendText = ["1970s", "1980s", "1990s", "2000s", "2009-present"];
var legendColors = ["#648d9e", "#00485d", "#772210", "#a5a6a7", "#00a1ce"];
d3.csv("data.csv", function(error, data) {
d3.select("#next").on("click", function(){
slideValue = d3.select("#next").attr("value");
if (slideValue=="start") {
document.getElementById("next").setAttribute("value", "one");
document.getElementById("again").setAttribute("value", "one");
linechart();
setTimeout(unemployment, 250);
setTimeout(lfpr, 5000);
} else if (slideValue=="one") {
document.getElementById("next").setAttribute("value", "two");
document.getElementById("again").setAttribute("value", "two");
formatDate = d3.time.format("%B, %Y");
duration = 240;
year = 1976;
month = 1;
dateid = year + twodigits(month);
scatter();
setTimeout(changeView1970s, 250);
setTimeout(showDots1970s, 250);
} else if (slideValue=="two") {
document.getElementById("next").setAttribute("value", "three");
document.getElementById("again").setAttribute("value", "three");
duration = 50;
year = 1982;
month = 12;
dateid = year + twodigits(month);
setTimeout(changeView1980s, 250);
setTimeout(showDots1980s, 250);
} else if (slideValue=="three") {
document.getElementById("next").setAttribute("value", "four");
document.getElementById("again").setAttribute("value", "four");
year = 1992;
month = 6;
dateid = year + twodigits(month);
setTimeout(changeView1990s, 250);
setTimeout(showDots1990s, 250);
} else if (slideValue=="four") {
document.getElementById("next").setAttribute("value", "five");
document.getElementById("again").setAttribute("value", "five");
year = 2003;
month = 7;
dateid = year + twodigits(month);
setTimeout(changeView2000s, 250);
setTimeout(showDots2000s, 250);
} else if (slideValue=="five") {
document.getElementById("next").setAttribute("value", "six");
document.getElementById("again").setAttribute("value", "six");
year = 2009;
month = 10;
dateid = year + twodigits(month);
setTimeout(changeViewCurrent, 250);
setTimeout(showDotsCurrent, 250);
} else if (slideValue=="six") {
document.getElementById("next").setAttribute("value", "seven");
document.getElementById("again").setAttribute("value", "seven");
setTimeout(changeViewAll, 250);
setTimeout(showDotsAll, 500);
} else if (slideValue=="seven") {
document.getElementById("next").setAttribute("value", "one");
d3.select("#next").html("Next<span class='fa fa-caret-right'></span>");
linechart();
setTimeout(unemployment, 250);
setTimeout(lfpr, 5000);
}
});
d3.select("#again").on("click", function(){
if (slideValue=="one") {
formatDate = d3.time.format("%B, %Y");
duration = 240;
year = 1976;
month = 1;
dateid = year + twodigits(month);
d3.select("#line1970s")
.transition()
.duration(250)
.style("opacity", 0);
d3.selectAll(".dot1970s")
.transition()
.duration(250)
.style("opacity", 0);
d3.select("#buttons")
.transition()
.duration(250)
.style("opacity", 0)
.style("display", "none")
.transition()
.delay(delay)
.duration(500)
.style("opacity", 1)
.style("display", "block");
d3.select("#again")
.transition()
.duration(250)
.style("opacity", 0)
.style("display", "none")
.transition()
.delay(delay)
.duration(500)
.style("opacity", 1)
.style("display", "block");
setTimeout(showDots1970s, 250);
} else if (slideValue=="two") {
duration = 50;
year = 1982;
month = 12;
dateid = year + twodigits(month);
d3.select("#line1980s")
.transition()
.duration(250)
.style("opacity", 0);
d3.selectAll(".dot1980s")
.transition()
.duration(250)
.style("opacity", 0);
d3.select("#buttons")
.transition()
.duration(250)
.style("opacity", 0)
.style("display", "none")
.transition()
.delay(delay)
.duration(500)
.style("opacity", 1)
.style("display", "block");
d3.select("#again")
.transition()
.duration(250)
.style("opacity", 0)
.style("display", "none")
.transition()
.delay(delay)
.duration(500)
.style("opacity", 1)
.style("display", "block");
setTimeout(showDots1980s, 250);
} else if (slideValue=="three") {
year = 1992;
month = 6;
dateid = year + twodigits(month);
d3.select("#line1990s")
.transition()
.duration(250)
.style("opacity", 0);
d3.selectAll(".dot1990s")
.transition()
.duration(250)
.style("opacity", 0);
d3.select("#buttons")
.transition()
.duration(250)
.style("opacity", 0)
.style("display", "none")
.transition()
.delay(delay)
.duration(500)
.style("opacity", 1)
.style("display", "block");
d3.select("#again")
.transition()
.duration(250)
.style("opacity", 0)
.style("display", "none")
.transition()
.delay(delay)
.duration(500)
.style("opacity", 1)
.style("display", "block");
setTimeout(showDots1990s, 250);
} else if (slideValue=="four") {
year = 2003;
month = 7;
dateid = year + twodigits(month);
d3.select("#line2000s")
.transition()
.duration(250)
.style("opacity", 0);
d3.selectAll(".dot2000s")
.transition()
.duration(250)
.style("opacity", 0);
d3.select("#buttons")
.transition()
.duration(250)
.style("opacity", 0)
.style("display", "none")
.transition()
.delay(delay)
.duration(500)
.style("opacity", 1)
.style("display", "block");
d3.select("#again")
.transition()
.duration(250)
.style("opacity", 0)
.style("display", "none")
.transition()
.delay(delay)
.duration(500)
.style("opacity", 1)
.style("display", "block");
setTimeout(showDots2000s, 250);
} else if (slideValue=="five") {
year = 2009;
month = 10;
dateid = year + twodigits(month);
d3.select("#lineCurrent")
.transition()
.duration(250)
.style("opacity", 0);
d3.selectAll(".dotcurrent")
.transition()
.duration(250)
.style("opacity", 0);
d3.select("#buttons")
.transition()
.duration(250)
.style("opacity", 0)
.style("display", "none")
.transition()
.delay(delay)
.duration(500)
.style("opacity", 1)
.style("display", "block");
d3.select("#again")
.transition()
.duration(250)
.style("opacity", 0)
.style("display", "none")
.transition()
.delay(delay)
.duration(500)
.style("opacity", 1)
.style("display", "block");
setTimeout(showDotsCurrent, 250);
}
});
data.forEach(function(d) {
d.year = +d.year;
d.dateid = parseDate(d.dateid);
d.idnumber = +d.idnumber;
d.lfpr = +d.lfpr;
d.unemprate = +d.unemprate;
d.fitted = +d.fitted;
});
var startData = data.filter(function(d) { return d.year > 1999; });
var data1970s = data.filter(function(d) { return d.expansion=="1970s"; });
var data1980s = data.filter(function(d) { return d.idnumber > 198211 && d.idnumber < 199007; });
var data1990s = data.filter(function(d) { return d.idnumber > 199205 && d.idnumber < 200103; });
var data2000s = data.filter(function(d) { return d.idnumber > 200306 && d.idnumber < 200712; });
var dataCurrent = data.filter(function(d) { return d.idnumber > 200909; });
function animateLine() {
var l = this.getTotalLength();
i = d3.interpolateString("0," + l, l + "," + l);
return function(t) { return i(t); };
}
function highlight() {
d3.select(marker)
.style("opacity", 1)
.transition()
.duration(250)
.attr("r", 6)
.style("stroke-width",3.75)
.transition()
.duration(250)
.attr("r", 4)
.style("stroke-width",2.5);
}
function fade() {
d3.selectAll("#slides")
.transition()
.duration(500)
.style("opacity", 0)
.transition()
.delay(500)
.duration(500)
.style("opacity", 1);
d3.select("#buttons")
.transition()
.delay(500)
.style("opacity", 0)
.style("display", "none")
.transition()
.delay(delay)
.duration(500)
.style("opacity", 1)
.style("display", "block");
d3.selectAll(slideout)
.transition()
.delay(500)
.style("opacity", 0)
.style("display", "none");
d3.selectAll(slidein)
.transition()
.delay(500)
.style("opacity", 1)
.style("display", "block");
}
x.domain([d3.min(dataCurrent,function (d) { return 0.99*d.lfpr}),d3.max(dataCurrent,function (d) { return 1.01*d.lfpr})]);
y1.domain([d3.min(dataCurrent,function (d) { return 0.90*d.unemprate}),d3.max(dataCurrent,function (d) { return 1.1*d.unemprate})]);
svg.append("g")
.attr("class", "x axis")
.attr("transform", "translate(0," + height + ")")
.call(xAxis)
.append("text")
.attr("dy", "2.8em")
.attr("dx", width/1.5)
.style("text-anchor","end")
.attr("class", "xlabel")
.text("Labour force participation rate, %");
svg.append("g")
.attr("class", "left axis")
.call(yAxisLeft);
svg.append("text")
.attr("class", "left label")
.text("Unemployment rate, %")
.attr("x", -margin.left)
.attr("y", 0);
currentgroup = svg.selectAll(".group")
.data(dataCurrent)
.enter().append("g")
.attr("class", "currentgroup")
.attr("id", function(d) { return "currentgroup" + [d.idnumber]; });
currentgroup.append("circle")
.attr("class", function(d) { return "dot" + [d.expansion]; })
.attr("id", function(d) { return "dot" + [d.idnumber]; })
.attr("r", 3.5)
.attr("cx", function(d) { return x(d.lfpr); })
.attr("cy", function(d) { return y1(d.unemprate); })
.style("opacity", 1);
svg.append("path")
.datum(dataCurrent)
.attr("class", "regLine")
.attr("id", "lineCurrent")
.attr("d", line)
.style("opacity", 1);
d3.selectAll("#dot200910")
.style("stroke", "#ff0000");
d3.select("#dot201408")
.style("stroke", "#ff0000");
d3.select("#currentgroup200910").append("text")
.attr("x", function(d) { return x(d.lfpr) + 3; })
.attr("y", function(d) { return y1(d.unemprate) - 7; })
.text("Start of recovery")
.attr("class", "currentlabel")
.style("opacity", 1);
d3.select("#currentgroup201408").append("text")
.attr("x", function(d) { return x(d.lfpr) + 8; })
.attr("y", function(d) { return y1(d.unemprate) + 15; })
.text("Today")
.attr("class", "currentlabel")
.style("opacity", 1);
svg.append("text")
.attr("id", "yearmonth")
.attr("dy", height-20)
.attr("dx", width/2-20);
function linechart() {
setTimeout(function(){
d3.select("#next").html("Next<span class='fa fa-caret-right'></span>");
}, 500);
slideout = ".slideintro";
slidein = ".slideone";
delay = 9000;
fade();
d3.selectAll(".dot")
.transition()
.duration(250)
.style("color", "#ccc");
d3.select("#dotone")
.transition()
.duration(250)
.style("color", "#747474");
d3.selectAll(".slideseven")
.transition()
.delay(500)
.style("opacity", 0)
.style("display", "none");
d3.selectAll("circle")
.transition()
.duration(250)
.style("opacity", 0)
.remove();
d3.select("#legend")
.transition()
.duration(250)
.style("opacity", 0)
.remove();
d3.selectAll(".currentlabel")
.transition()
.duration(250)
.style("opacity", 0)
.remove();
d3.select("#lineCurrent")
.transition()
.duration(250)
.style("opacity", 0)
.remove();
d3.select(".left.label")
.transition()
.duration(250)
.attr("x", -margin.left + 10)
.attr("y", 0);
svg.append("text")
.attr("class", "right label")
.text("Labour force participation rate, %")
.attr("x", width-160)
.attr("y", 0)
.style("opacity", 0);
d3.select(".xlabel")
.transition()
.duration(250)
.style("opacity", 0);
x = d3.time.scale()
.range([0, width])
.domain([parseDate("200001"),parseDate("201512")]);
y0 = d3.scale.linear()
.range([height, 0])
.domain([d3.min(startData,function (d) { return 0.9792*d.lfpr}),d3.max(startData,function (d) { return 1.0245*d.lfpr})]);
y1 = d3.scale.linear()
.range([height, 0])
.domain([d3.min(startData,function (d) { return 0.90*d.unemprate}),d3.max(startData,function (d) { return 1.1*d.unemprate})]);
xAxis = d3.svg.axis()
.scale(x)
.orient("bottom");
yAxisLeft = d3.svg.axis()
.scale(y1)
.orient("left")
.tickFormat(numberFormat)
.tickSize(-width);
yAxisRight = d3.svg.axis()
.scale(y0)
.orient("right")
.tickFormat(numberFormat)
.tickSize(width);
d3.select(".x.axis")
.attr("transform", "translate(0," + height + ")")
.transition()
.duration(250)
.call(xAxis);
d3.select(".left.axis")
.transition()
.duration(250)
.call(yAxisLeft);
svg.append("g")
.attr("class", "right axis")
.style("fill", "#772210")
.call(yAxisRight)
.style("opacity", 0);
svg.append("rect")
.attr("x", x(parseDate("200104")))
.attr("y", 0)
.attr("width", 19)
.attr("height", height-1)
.attr("fill", "#eee")
.style("opacity", 0);
svg.append("rect")
.attr("x", x(parseDate("200801")))
.attr("y", 0)
.attr("width", 43)
.attr("height", height-1)
.attr("fill", "#eee")
.style("opacity", 0);
svg.append("path")
.attr("class", "lfprLine");
svg.append("path")
.attr("class", "unempLine");
group = svg.selectAll(".group")
.data(startData)
.enter().append("g")
.attr("class", "group")
.attr("id", function(d) { return "group" + [d.idnumber]; });
group.append("circle")
.attr("class", "unempCircle")
.attr("transform", function(d) { return "translate(" + x(d.dateid) + "," + y1(d.unemprate) + ")"; } )
.attr("r", 4)
.attr("id", function(d) { return "unempCircle" + [d.idnumber]; });
d3.select("#group201408").append("text")
.attr("x", function(d) { return x(d.dateid) + 10; })
.attr("y", function(d) { return y1(d.unemprate) + 5; })
.attr("id", function(d) { return "unempSlide" + [d.idnumber]; })
.text(function(d) { return numberFormatDetailed([d.unemprate]); })
.style("fill", "#00a1ce");
group.append("circle")
.attr("class", "lfprCircle")
.attr("transform", function(d) { return "translate(" + x(d.dateid) + "," + y0(d.lfpr) + ")"; } )
.attr("r", 4)
.attr("id", function(d) { return "lfprCircle" + [d.idnumber]; });
d3.select("#group201408").append("text")
.attr("x", function(d) { return x(d.dateid) + 10; })
.attr("y", function(d) { return y0(d.lfpr) + 5; })
.attr("id", function(d) { return "lfprSlide" + [d.idnumber]; })
.text(function(d) { return numberFormatDetailed([d.lfpr]); })
.style("fill", "#772210");
}
function unemployment() {
d3.selectAll("rect")
.transition()
.duration(250)
.style("opacity", 1);
d3.select(".unempLine")
.datum(startData)
.attr("d", unempLine)
.transition()
.duration(2500)
.ease("linear")
.attrTween("stroke-dasharray", animateLine)
.each("end", function() {
marker = "#unempCircle201408";
highlight(marker);
d3.select("#unempSlide201408")
.transition()
.duration(500)
.style("opacity", 1);
});
d3.timer.flush();
}
function lfpr() {
d3.select(".right.axis")
.transition()
.duration(500)
.style("opacity", 1);
d3.select(".right.label")
.transition()
.duration(500)
.style("opacity", 1);
d3.selectAll(".left.axis text")
.transition()
.duration(500)
.style("fill", "#00a1ce");
d3.select(".left.label")
.transition()
.duration(500)
.style("fill", "#00a1ce");
d3.select(".lfprLine")
.datum(startData)
.attr("d", lfprLine)
.transition()
.duration(2500)
.ease("linear")
.attrTween("stroke-dasharray", animateLine)
.each("end", function() {
marker = "#lfprCircle201408";
highlight(marker);
d3.select("#lfprSlide201408")
.transition()
.duration(500)
.style("opacity", 1);
});
d3.timer.flush();
}
function scatter() {
slideout = ".slideone";
slidein = ".slidetwo";
delay = 8000;
fade();
d3.select("#dottwo")
.transition()
.duration(250)
.style("color", "#747474");
d3.select("#again")
.transition()
.duration(500)
.style("opacity", 0)
.transition()
.delay(delay)
.duration(500)
.style("opacity", 1);
d3.select(".lfprLine")
.transition()
.duration(500)
.style("opacity", 0)
.remove();
d3.select(".unempLine")
.transition()
.duration(500)
.style("opacity", 0)
.remove();
d3.selectAll("g.group")
.transition()
.duration(500)
.style("opacity", 0)
.remove();
d3.selectAll("g.currentgroup")
.transition()
.duration(500)
.style("opacity", 0)
.remove();
d3.selectAll(".group text")
.transition()
.duration(500)
.style("opacity", 0)
.remove();
d3.selectAll("rect")
.transition()
.duration(500)
.style("opacity", 0);
d3.select(".right.axis")
.transition()
.duration(500)
.style("opacity", 0);
d3.select(".right.label")
.transition()
.duration(500)
.style("opacity", 0);
d3.selectAll(".left.axis text")
.transition()
.duration(500)
.style("fill", "#4a4a4a");
d3.select(".left.label")
.transition()
.duration(500)
.attr("x", -margin.left + 5)
.style("fill", "#4a4a4a");
d3.select(".xlabel")
.transition()
.duration(250)
.style("opacity", 1);
svg.append("path")
.datum(data1970s)
.attr("class", "regLine")
.attr("id", "line1970s")
.attr("d", regLine);
svg.append("path")
.datum(data1980s)
.attr("class", "regLine")
.attr("id", "line1980s")
.attr("d", regLine);
svg.append("path")
.datum(data1990s)
.attr("class", "regLine")
.attr("id", "line1990s")
.attr("d", regLine);
svg.append("path")
.datum(data2000s)
.attr("class", "regLine")
.attr("id", "line2000s")
.attr("d", regLine2000s);
svg.append("path")
.datum(dataCurrent)
.attr("class", "regLine")
.attr("id", "lineCurrent")
.attr("d", regLine);
}
function changeView1970s() {
x = d3.scale.linear()
.range([0, width])
.domain([d3.min(data1970s,function (d) { return 0.99*d.lfpr}),d3.max(data1970s,function (d) { return 1.01*d.lfpr})]);
y1 = d3.scale.linear()
.range([height, 0])
.domain([d3.min(data1970s,function (d) { return 0.9*d.unemprate}),d3.max(data1970s,function (d) { return 1.05*d.unemprate})]);
xAxis = d3.svg.axis()
.scale(x)
.orient("bottom")
.tickFormat(numberFormatDetailed);
yAxisLeft = d3.svg.axis()
.scale(y1)
.orient("left")
.tickFormat(numberFormatDetailed)
.tickSize(-width);
regLine = d3.svg.line()
.x(function(d) { return x(d.lfpr); })
.y(function(d) { return y1(d.fitted); });
d3.select(".x.axis")
.attr("transform", "translate(0," + height + ")")
.transition()
.duration(250)
.call(xAxis);
d3.select(".left.axis")
.transition()
.duration(250)
.call(yAxisLeft);
d3.selectAll(".left.axis text")
.transition()
.duration(250)
.style("fill", "#4a4a4a");
svg.selectAll(".dot1970s")
.data(data1970s)
.enter().append("circle")
.attr("class", function(d) { return "dot" + [d.expansion]; })
.attr("id", function(d) { return "dot" + [d.idnumber]; })
.attr("r", 3.5)
.attr("cx", function(d) { return x(d.lfpr); })
.attr("cy", function(d) { return y1(d.unemprate); });
d3.selectAll(".regLine")
.transition()
.duration(250)
.attr("d", regLine);
}
function showDots1970s() {
d3.select("#dot" + dateid)
.transition()
.duration(250)
.style("opacity", 1);
d3.select("#yearmonth")
.text(formatDate(parseDate(dateid)))
.attr("value", dateid)
.style("opacity", 1);
month = month + 1;
if (month==13) {
year = year + 1;
month = 1;
};
dateid = year + twodigits(month);
duration = duration - 5;
if (dateid==197701) {
formatDate = d3.time.format("%Y");
};
if (dateid==198001) {
d3.select("#line1970s")
.transition()
.delay(500)
.duration(500)
.style("opacity", 1);
d3.select("#yearmonth")
.transition()
.delay(750)
.duration(500)
.style("opacity", 0)
.transition()
.duration(0)
.text("1976-1979")
.transition()
.duration(500)
.style("opacity", 1);
} else {
setTimeout(showDots1970s, duration);
};
}
function changeView1980s() {
slideout = ".slidetwo";
slidein = ".slidethree";
delay = 6500;
fade();
d3.select("#dotthree")
.transition()
.duration(250)
.style("color", "#747474");
d3.select("#again")
.transition()
.duration(500)
.style("opacity", 0)
.transition()
.delay(delay)
.duration(500)
.style("opacity", 1);
d3.select(".left.label")
.transition()
.duration(250)
.attr("x", -margin.left + 10)
.attr("y", 0);
d3.select("#line1970s")
.transition()
.duration(250)
.style("opacity", 0);
d3.selectAll(".dot1970s")
.transition()
.duration(250)
.style("opacity", 0);
x = d3.scale.linear()
.range([0, width])
.domain([d3.min(data1980s,function (d) { return 0.99*d.lfpr}),d3.max(data1980s,function (d) { return 1.01*d.lfpr})]);
y1 = d3.scale.linear()
.range([height, 0])
.domain([d3.min(data1980s,function (d) { return 0.7*d.unemprate}),d3.max(data1980s,function (d) { return 1.05*d.unemprate})]);
xAxis = d3.svg.axis()
.scale(x)
.orient("bottom")
.tickFormat(numberFormatDetailed);
yAxisLeft = d3.svg.axis()
.scale(y1)
.orient("left")
.tickFormat(numberFormat)
.tickSize(-width);
regLine = d3.svg.line()
.x(function(d) { return x(d.lfpr); })
.y(function(d) { return y1(d.fitted); });
d3.select(".x.axis")
.attr("transform", "translate(0," + height + ")")
.transition()
.duration(250)
.call(xAxis);
d3.select(".left.axis")
.transition()
.duration(250)
.call(yAxisLeft);
d3.selectAll(".left.axis text")
.transition()
.duration(250)
.style("fill", "#4a4a4a");
svg.selectAll(".dot1980s")
.data(data1980s)
.enter().append("circle")
.attr("class", function(d) { return "dot" + [d.expansion]; })
.attr("id", function(d) { return "dot" + [d.idnumber]; })
.attr("r", 3.5)
.attr("cx", function(d) { return x(d.lfpr); })
.attr("cy", function(d) { return y1(d.unemprate); });
d3.selectAll("#line1980s")
.transition()
.duration(250)
.attr("d", regLine);
}
function showDots1980s() {
d3.select("#dot" + dateid)
.transition()
.duration(250)
.style("opacity", 1);
d3.select("#yearmonth")
.text(formatDate(parseDate(dateid)))
.attr("value", dateid);
month = month + 1;
if (month==13) {
year = year + 1;
month = 1;
}
dateid = year + twodigits(month);
if (dateid==199007) {
d3.select("#line1980s")
.transition()
.delay(500)
.duration(500)
.style("opacity", 1);
d3.select("#yearmonth")
.transition()
.delay(750)
.duration(500)
.style("opacity", 0)
.transition()
.duration(0)
.text("1982-1990")
.transition()
.duration(500)
.style("opacity", 1);
} else {
setTimeout(showDots1980s, duration);
}
}
function changeView1990s() {
slideout = ".slidethree";
slidein = ".slidefour";
delay = 6500;
fade();
d3.select("#dotfour")
.transition()
.duration(250)
.style("color", "#747474");
d3.select("#again")
.transition()
.duration(500)
.style("opacity", 0)
.transition()
.delay(delay)
.duration(500)
.style("opacity", 1);
d3.select(".left.label")
.transition()
.duration(250)
.attr("x", -margin.left + 5)
.attr("y", 0);
d3.select("#line1980s")
.transition()
.duration(250)
.style("opacity", 0);
d3.selectAll(".dot1980s")
.transition()
.duration(250)
.style("opacity", 0);
x = d3.scale.linear()
.range([0, width])
.domain([d3.min(data1990s,function (d) { return 0.995*d.lfpr}),d3.max(data1990s,function (d) { return 1.005*d.lfpr})]);
y1 = d3.scale.linear()
.range([height, 0])
.domain([d3.min(data1990s,function (d) { return 0.8*d.unemprate}),d3.max(data1990s,function (d) { return 1.05*d.unemprate})]);
xAxis = d3.svg.axis()
.scale(x)
.orient("bottom")
.ticks(5)
.tickFormat(numberFormatDetailed);
yAxisLeft = d3.svg.axis()
.scale(y1)
.orient("left")
.tickFormat(numberFormatDetailed)
.tickSize(-width);
regLine = d3.svg.line()
.x(function(d) { return x(d.lfpr); })
.y(function(d) { return y1(d.fitted); });
d3.select(".x.axis")
.attr("transform", "translate(0," + height + ")")
.transition()
.duration(250)
.call(xAxis);
d3.select(".left.axis")
.transition()
.duration(250)
.call(yAxisLeft);
d3.selectAll(".left.axis text")
.transition()
.duration(250)
.style("fill", "#4a4a4a");
svg.selectAll(".dot1990s")
.data(data1990s)
.enter().append("circle")
.attr("class", function(d) { return "dot" + [d.expansion]; })
.attr("id", function(d) { return "dot" + [d.idnumber]; })
.attr("r", 3.5)
.attr("cx", function(d) { return x(d.lfpr); })
.attr("cy", function(d) { return y1(d.unemprate); });
d3.selectAll("#line1990s")
.transition()
.duration(250)
.attr("d", regLine);
}
function showDots1990s() {
d3.select("#dot" + dateid)
.transition()
.duration(250)
.style("opacity", 1);
d3.select("#yearmonth")
.text(formatDate(parseDate(dateid)))
.attr("value", dateid);
month = month + 1;
if (month==13) {
year = year + 1;
month = 1;
}
dateid = year + twodigits(month);
if (dateid==200103) {
d3.select("#line1990s")
.transition()
.delay(500)
.duration(500)
.style("opacity", 1);
d3.select("#yearmonth")
.transition()
.delay(750)
.duration(500)
.style("opacity", 0)
.transition()
.duration(0)
.text("1992-2001")
.transition()
.duration(500)
.style("opacity", 1);
} else {
setTimeout(showDots1990s, duration);
}
}
function changeView2000s() {
slideout = ".slidefour";
slidein = ".slidefive";
delay = 4500;
fade();
d3.select("#dotfive")
.transition()
.duration(250)
.style("color", "#747474");
d3.select("#again")
.transition()
.duration(500)
.style("opacity", 0)
.transition()
.delay(delay)
.duration(500)
.style("opacity", 1);
d3.select(".left.label")
.transition()
.duration(250)
.attr("x", -margin.left + 5)
.attr("y", 0);
d3.select("#line1990s")
.transition()
.duration(250)
.style("opacity", 0);
d3.selectAll(".dot1990s")
.transition()
.duration(250)
.style("opacity", 0);
x = d3.scale.linear()
.range([0, width])
.domain([d3.min(data2000s,function (d) { return 0.99*d.lfpr}),d3.max(data2000s,function (d) { return 1.01*d.lfpr})]);
y1 = d3.scale.linear()
.range([height, 0])
.domain([d3.min(data2000s,function (d) { return 0.9*d.unemprate}),d3.max(data2000s,function (d) { return 1.05*d.unemprate})]);
xAxis = d3.svg.axis()
.scale(x)
.orient("bottom")
.ticks(5)
.tickFormat(numberFormatDetailed);
yAxisLeft = d3.svg.axis()
.scale(y1)
.orient("left")
.tickFormat(numberFormatDetailed)
.tickSize(-width);
regLine2000s = d3.svg.line()
.x(function(d) { return x(d.fitted); })
.y(function(d) { return y1(d.unemprate); });
d3.select(".x.axis")
.attr("transform", "translate(0," + height + ")")
.transition()
.duration(250)
.call(xAxis);
d3.select(".left.axis")
.transition()
.duration(250)
.call(yAxisLeft);
d3.selectAll(".left.axis text")
.transition()
.duration(250)
.style("fill", "#4a4a4a");
svg.selectAll(".dot2000s")
.data(data2000s)
.enter().append("circle")
.attr("class", function(d) { return "dot" + [d.expansion]; })
.attr("id", function(d) { return "dot" + [d.idnumber]; })
.attr("r", 3.5)
.attr("cx", function(d) { return x(d.lfpr); })
.attr("cy", function(d) { return y1(d.unemprate); });
d3.selectAll("#line2000s")
.transition()
.duration(250)
.attr("d", regLine2000s);
}
function showDots2000s() {
d3.select("#dot" + dateid)
.transition()
.duration(250)
.style("opacity", 1);
d3.select("#yearmonth")
.text(formatDate(parseDate(dateid)))
.attr("value", dateid);
month = month + 1;
if (month==13) {
year = year + 1;
month = 1;
}
dateid = year + twodigits(month);
if (dateid==200712) {
d3.select("#line2000s")
.transition()
.delay(500)
.duration(500)
.style("opacity", 1);
d3.select("#yearmonth")
.transition()
.delay(750)
.duration(500)
.style("opacity", 0)
.transition()
.duration(0)
.text("2003-2007")
.transition()
.duration(500)
.style("opacity", 1);
} else {
setTimeout(showDots2000s, duration);
}
}
function changeViewCurrent() {
slideout = ".slidefive";
slidein = ".slidesix";
delay = 5000;
fade();
d3.select("#dotsix")
.transition()
.duration(250)
.style("color", "#747474");
d3.select("#again")
.transition()
.duration(500)
.style("opacity", 0)
.transition()
.delay(delay)
.duration(500)
.style("opacity", 1);
d3.select(".left.label")
.transition()
.duration(250)
.attr("x", -margin.left)
.attr("y", 0);
d3.select("#line2000s")
.transition()
.duration(250)
.style("opacity", 0);
d3.selectAll(".dot2000s")
.transition()
.duration(250)
.style("opacity", 0);
x = d3.scale.linear()
.range([0, width])
.domain([d3.min(dataCurrent,function (d) { return 0.99*d.lfpr}),d3.max(dataCurrent,function (d) { return 1.01*d.lfpr})]);
y1 = d3.scale.linear()
.range([height, 0])
.domain([d3.min(dataCurrent,function (d) { return 0.9*d.unemprate}),d3.max(dataCurrent,function (d) { return 1.1*d.unemprate})]);
xAxis = d3.svg.axis()
.scale(x)
.orient("bottom")
.tickFormat(numberFormatDetailed);
yAxisLeft = d3.svg.axis()
.scale(y1)
.orient("left")
.tickFormat(numberFormatDetailed)
.tickSize(-width);
regLine = d3.svg.line()
.x(function(d) { return x(d.lfpr); })
.y(function(d) { return y1(d.fitted); });
d3.select(".x.axis")
.attr("transform", "translate(0," + height + ")")
.transition()
.duration(250)
.call(xAxis);
d3.select(".left.axis")
.transition()
.duration(250)
.call(yAxisLeft);
d3.selectAll(".left.axis text")
.transition()
.duration(250)
.style("fill", "#4a4a4a");
svg.selectAll(".dotcurrent")
.data(dataCurrent)
.enter().append("circle")
.attr("class", function(d) { return "dot" + [d.expansion]; })
.attr("id", function(d) { return "dot" + [d.idnumber]; })
.attr("r", 3.5)
.attr("cx", function(d) { return x(d.lfpr); })
.attr("cy", function(d) { return y1(d.unemprate); });
d3.selectAll("#lineCurrent")
.transition()
.duration(250)
.attr("d", regLine);
}
function showDotsCurrent() {
d3.select("#dot" + dateid)
.transition()
.duration(250)
.style("opacity", 1);
d3.select("#yearmonth")
.text(formatDate(parseDate(dateid)))
.attr("value", dateid);
month = month + 1;
if (month==13) {
year = year + 1;
month = 1;
}
dateid = year + twodigits(month);
if (dateid==201409) {
d3.select("#lineCurrent")
.transition()
.delay(500)
.duration(500)
.style("opacity", 1);
d3.select("#yearmonth")
.transition()
.delay(750)
.duration(500)
.style("opacity", 0)
.transition()
.duration(0)
.text("2009-present")
.transition()
.duration(500)
.style("opacity", 1);
} else {
setTimeout(showDotsCurrent, duration);
}
}
function changeViewAll() {
slideout = ".slidesix";
slidein = ".slideseven";
delay = 2000;
fade();
d3.select("#dotseven")
.transition()
.duration(250)
.style("color", "#747474");
d3.select(".left.label")
.transition()
.duration(250)
.attr("x", -margin.left + 10)
.attr("y", 0);
d3.select("#again")
.transition()
.duration(500)
.style("opacity", 0);
d3.select("#lineCurrent")
.transition()
.duration(250)
.style("opacity", 0);
d3.selectAll(".dotcurrent")
.transition()
.duration(250)
.style("opacity", 0);
d3.select("#yearmonth")
.transition()
.duration(250)
.style("opacity", 0);
x = d3.scale.linear()
.range([0, width])
.domain([d3.min(data,function (d) { return 0.99*d.lfpr}),d3.max(data,function (d) { return 1.01*d.lfpr})]);
y1 = d3.scale.linear()
.range([height, 0])
.domain([d3.min(data,function (d) { return 0.8*d.unemprate}),d3.max(data,function (d) { return 1.05*d.unemprate})]);
xAxis = d3.svg.axis()
.scale(x)
.orient("bottom")
.tickFormat(numberFormat);
yAxisLeft = d3.svg.axis()
.scale(y1)
.orient("left")
.tickFormat(numberFormat)
.tickSize(-width);
d3.select(".x.axis")
.attr("transform", "translate(0," + height + ")")
.transition()
.duration(250)
.call(xAxis);
d3.select(".left.axis")
.transition()
.duration(250)
.call(yAxisLeft);
d3.selectAll(".left.axis text")
.transition()
.duration(250)
.style("fill", "#4a4a4a");
setTimeout(function(){
d3.select("#next").html("Again<span class='fa fa-repeat'></span>");
}, 2000);
}
function showDotsAll() {
d3.selectAll(".dot1970s")
.attr("cx", function(d) { return x(d.lfpr); })
.attr("cy", function(d) { return y1(d.unemprate); });
d3.selectAll(".dot1980s")
.attr("cx", function(d) { return x(d.lfpr); })
.attr("cy", function(d) { return y1(d.unemprate); });
d3.selectAll(".dot1990s")
.attr("cx", function(d) { return x(d.lfpr); })
.attr("cy", function(d) { return y1(d.unemprate); });
d3.selectAll(".dot2000s")
.attr("cx", function(d) { return x(d.lfpr); })
.attr("cy", function(d) { return y1(d.unemprate); });
d3.selectAll(".dotcurrent")
.attr("cx", function(d) { return x(d.lfpr); })
.attr("cy", function(d) { return y1(d.unemprate); });
var legend = svg.append("g")
.attr("id", "legend")
.attr("transform", "translate(212,0)");
var legenditem = legend.selectAll(".legenditem")
.data(d3.range(5))
.enter()
.append("g")
.attr("class", "legenditem")
.attr("transform", function(d, i) { return "translate(" + i * 50 + ",0)"; });
legenditem.append("circle")
.attr("cx", 5)
.attr("cy", 0)
.attr("r", 4)
.attr("class", "legendbullet")
.style("stroke", function(d, i) { return legendColors[i]; });
legenditem.append("text")
.attr("x", 12)
.attr("y", 5)
.text(function(d, i) { return legendText[i]; });
d3.selectAll("circle")
.transition()
.duration(500)
.style("opacity", 1);
d3.select("#legend")
.transition()
.duration(500)
.style("opacity", 1);
}
});
d3.select(self.frameElement).style("height", "590px");
year month dateid pop laborforce employed unemployed lfpr unemprate fitted expansion idnumber
1976 1 197601 154853 94934 87400 7534 61.3058836 7.9360398 7.85335 1970s 197601
1976 2 197602 155066 94998 87672 7326 61.2629461 7.7117413 7.89138 1970s 197602
1976 3 197603 155306 95215 87985 7230 61.3079984 7.5933414 7.85148 1970s 197603
1976 4 197604 155529 95746 88416 7330 61.5615094 7.6556723 7.62695 1970s 197604
1976 5 197605 155765 95847 88794 7053 61.5330787 7.3586028 7.65213 1970s 197605
1976 6 197606 156026 95885 88563 7322 61.4545012 7.6362309 7.72173 1970s 197606
1976 7 197607 156276 96583 89093 7490 61.802836 7.7549879 7.41322 1970s 197607
1976 8 197608 156525 96741 89223 7518 61.8054624 7.7712655 7.41089 1970s 197608
1976 9 197609 156779 96553 89173 7380 61.5854164 7.6434704 7.60578 1970s 197609
1976 10 197610 156993 96704 89274 7430 61.5976509 7.6832396 7.59494 1970s 197610
1976 11 197611 157235 97254 89634 7620 61.852641 7.8351533 7.36911 1970s 197611
1976 12 197612 157438 97348 89803 7545 61.8325944 7.7505444 7.38686 1970s 197612
1977 1 197701 157688 97208 89928 7280 61.6457815 7.4890955 7.55231 1970s 197701
1977 2 197702 157913 97785 90342 7443 61.9233375 7.6115969 7.30649 1970s 197702
1977 3 197703 158131 98115 90808 7307 62.0466575 7.4473832 7.19727 1970s 197703
1977 4 197704 158371 98330 91271 7059 62.0883874 7.1788874 7.16031 1970s 197704
1977 5 197705 158657 98665 91754 6911 62.1876123 7.0045102 7.07243 1970s 197705
1977 6 197706 158928 99093 91959 7134 62.3508759 7.1992976 6.92784 1970s 197706
1977 7 197707 159185 98913 92084 6829 62.137136 6.904047 7.11714 1970s 197707
1977 8 197708 159430 99366 92441 6925 62.3257856 6.9691846 6.95006 1970s 197708
1977 9 197709 159674 99453 92702 6751 62.2850308 6.7881311 6.98615 1970s 197709
1977 10 197710 159915 99815 93052 6763 62.4175343 6.7755347 6.8688 1970s 197710
1977 11 197711 160129 100576 93761 6815 62.80936 6.7759704 6.52177 1970s 197711
1977 12 197712 160376 100491 94105 6386 62.6596249 6.3547979 6.65438 1970s 197712
1978 1 197801 160617 100873 94384 6489 62.8034392 6.4328413 6.52701 1970s 197801
1978 2 197802 160831 100837 94519 6318 62.6974899 6.2655573 6.62085 1970s 197802
1978 3 197803 161038 101092 94755 6337 62.7752456 6.2685475 6.55198 1970s 197803
1978 4 197804 161263 101574 95394 6180 62.9865499 6.0842342 6.36484 1970s 197804
1978 5 197805 161518 101896 95769 6127 63.0864671 6.0129936 6.27635 1970s 197805
1978 6 197806 161794 102371 96343 6028 63.2724328 5.8883864 6.11164 1970s 197806
1978 7 197807 162034 102399 96090 6309 63.1959959 6.161193 6.17934 1970s 197807
1978 8 197808 162259 102511 96431 6080 63.1773892 5.9310708 6.19582 1970s 197808
1978 9 197809 162502 102795 96670 6125 63.257683 5.958461 6.12471 1970s 197809
1978 10 197810 162783 103080 97133 5947 63.3235657 5.7693054 6.06636 1970s 197810
1978 11 197811 163017 103562 97485 6077 63.5283437 5.8679825 5.88499 1970s 197811
1978 12 197812 163272 103809 97581 6228 63.5804057 5.9994798 5.83888 1970s 197812
1979 1 197901 163516 104057 97948 6109 63.6371976 5.8708208 5.78858 1970s 197901
1979 2 197902 163726 104502 98329 6173 63.8273701 5.907064 5.62015 1970s 197902
1979 3 197903 164027 104589 98480 6109 63.7632829 5.8409584 5.67691 1970s 197903
1979 4 197904 164162 104172 98103 6069 63.4568292 5.8259417 5.94833 1970s 197904
1979 5 197905 164459 104171 98331 5840 63.3416231 5.6061668 6.05036 1970s 197905
1979 6 197906 164720 104638 98679 5959 63.5247693 5.6948718 5.88816 1970s 197906
1979 7 197907 164970 105002 99006 5996 63.6491483 5.7103674 5.778 1970s 197907
1979 8 197908 165198 105096 98776 6320 63.6182036 6.0135495 5.80541 1970s 197908
1979 9 197909 165431 105530 99340 6190 63.7909461 5.8656306 5.65241 1970s 197909
1979 10 197910 165813 105700 99404 6296 63.7465096 5.9564806 5.69177 1970s 197910
1979 11 197911 166051 105812 99574 6238 63.7225913 5.8953616 5.71295 1970s 197911
1979 12 197912 166300 106258 99933 6325 63.8953698 5.952493 5.55993 1970s 197912
1980 1 198001 166544 106562 99879 6683 63.9842924 6.2714664 0 1980s 198001
1980 2 198002 166759 106697 99995 6702 63.9827536 6.2813387 0 1980s 198002
1980 3 198003 166984 106442 99713 6729 63.7438317 6.3217527 0 1980s 198003
1980 4 198004 167197 106591 99233 7358 63.751742 6.9030218 0 1980s 198004
1980 5 198005 167407 106929 98945 7984 63.8736731 7.4666367 0 1980s 198005
1980 6 198006 167643 106780 98682 8098 63.6948754 7.5838172 0 1980s 198006
1980 7 198007 167932 107159 98796 8363 63.8109473 7.8042908 0 1980s 198007
1980 8 198008 168103 107105 98824 8281 63.7139135 7.7316652 0 1980s 198008
1980 9 198009 168297 107098 99077 8021 63.6363096 7.4894022 0 1980s 198009
1980 10 198010 168503 107405 99317 8088 63.7407049 7.5303757 0 1980s 198010
1980 11 198011 168695 107568 99545 8023 63.7647826 7.4585379 0 1980s 198011
1980 12 198012 168883 107352 99634 7718 63.5659007 7.1894329 0 1980s 198012
1981 1 198101 169104 108026 99955 8071 63.8813984 7.4713495 0 1980s 198101
1981 2 198102 169280 108242 100191 8051 63.9425803 7.4379631 0 1980s 198102
1981 3 198103 169453 108553 100571 7982 64.060831 7.3530902 0 1980s 198103
1981 4 198104 169641 108925 101056 7869 64.209124 7.2242369 0 1980s 198104
1981 5 198105 169829 109222 101048 8174 64.3129265 7.4838403 0 1980s 198105
1981 6 198106 170042 108396 100298 8098 63.7466038 7.4707554 0 1980s 198106
1981 7 198107 170246 108556 100693 7863 63.7642 7.2432661 0 1980s 198107
1981 8 198108 170399 108725 100689 8036 63.8061256 7.3911244 0 1980s 198108
1981 9 198109 170593 108294 100064 8230 63.4809166 7.5996823 0 1980s 198109
1981 10 198110 170809 109024 100378 8646 63.8280184 7.930364 0 1980s 198110
1981 11 198111 170996 109236 100207 9029 63.8821961 8.2655901 0 1980s 198111
1981 12 198112 171166 108912 99645 9267 63.6294591 8.5087043 0 1980s 198112
1982 1 198201 171335 109089 99692 9397 63.6700032 8.6140674 0 1980s 198201
1982 2 198202 171489 109467 99762 9705 63.8332488 8.8656855 0 1980s 198202
1982 3 198203 171667 109567 99672 9895 63.825313 9.0310039 0 1980s 198203
1982 4 198204 171844 109820 99576 10244 63.9067992 9.3279913 0 1980s 198204
1982 5 198205 172026 110451 100116 10335 64.2059921 9.3570905 0 1980s 198205
1982 6 198206 172190 110081 99543 10538 63.9299611 9.5729508 0 1980s 198206
1982 7 198207 172364 110342 99493 10849 64.0168481 9.8321582 0 1980s 198207
1982 8 198208 172511 110514 99633 10881 64.0620018 9.8458114 0 1980s 198208
1982 9 198209 172690 110721 99504 11217 64.115467 10.1308695 0 1980s 198209
1982 10 198210 172881 110744 99215 11529 64.0579358 10.4104963 0 1980s 198210
1982 11 198211 173058 111050 99112 11938 64.1692381 10.7501126 0 1980s 198211
1982 12 198212 173199 111083 99032 12051 64.1360516 10.8486447 8.5722 1980s 198212
1983 1 198301 173354 110695 99161 11534 63.8548865 10.4196215 9.00038 1980s 198301
1983 2 198302 173505 110634 99089 11545 63.7641567 10.4353092 9.13855 1980s 198302
1983 3 198303 173656 110587 99179 11408 63.6816465 10.3158599 9.26421 1980s 198303
1983 4 198304 173794 110828 99560 11268 63.7697504 10.1671058 9.13003 1980s 198304
1983 5 198305 173953 110796 99642 11154 63.6930665 10.0671504 9.24682 1980s 198305
1983 6 198306 174125 111879 100633 11246 64.2521177 10.0519311 8.39545 1980s 198306
1983 7 198307 174306 111756 101208 10548 64.1148325 9.4384194 8.60452 1980s 198307
1983 8 198308 174440 112231 101608 10623 64.3378812 9.4652992 8.26485 1980s 198308
1983 9 198309 174602 112298 102016 10282 64.3165599 9.1559957 8.29732 1980s 198309
1983 10 198310 174779 111926 102039 9887 64.0385859 8.833515 8.72063 1980s 198310
1983 11 198311 174951 112228 102729 9499 64.1482472 8.4640197 8.55363 1980s 198311
1983 12 198312 175121 112327 102996 9331 64.1425072 8.3069965 8.56237 1980s 198312
1984 1 198401 175533 112209 103201 9008 63.9247321 8.0278766 8.89402 1980s 198401
1984 2 198402 175679 112615 103824 8791 64.1027101 7.8062425 8.62298 1980s 198402
1984 3 198403 175824 112713 103967 8746 64.1055829 7.7595308 8.61861 1980s 198403
1984 4 198404 175969 113098 104336 8762 64.2715478 7.7472634 8.36587 1980s 198404
1984 5 198405 176123 113649 105193 8456 64.528199 7.4404526 7.97502 1980s 198405
1984 6 198406 176284 113817 105591 8226 64.5645663 7.2273913 7.91963 1980s 198406
1984 7 198407 176440 113972 105435 8537 64.5953299 7.4904362 7.87278 1980s 198407
1984 8 198408 176583 113682 105163 8519 64.3787907 7.4937105 8.20254 1980s 198408
1984 9 198409 176763 113857 105490 8367 64.4122356 7.3486918 8.15161 1980s 198409
1984 10 198410 176956 114019 105638 8381 64.4335315 7.3505293 8.11918 1980s 198410
1984 11 198411 177135 114170 105972 8198 64.4536653 7.1805203 8.08852 1980s 198411
1984 12 198412 177306 114581 106223 8358 64.6233066 7.2944031 7.83018 1980s 198412
1985 1 198501 177384 114725 106302 8423 64.67607 7.3419046 7.74983 1980s 198501
1985 2 198502 177516 114876 106555 8321 64.71304 7.2434625 7.69352 1980s 198502
1985 3 198503 177667 115328 106989 8339 64.9124486 7.2306812 7.38985 1980s 198503
1985 4 198504 177799 115331 106936 8395 64.8659441 7.279049 7.46067 1980s 198504
1985 5 198505 177944 115234 106932 8302 64.7585757 7.2044709 7.62418 1980s 198505
1985 6 198506 178096 114965 106505 8460 64.5522639 7.3587614 7.93837 1980s 198506
1985 7 198507 178263 115320 106807 8513 64.6909342 7.3820673 7.72719 1980s 198507
1985 8 198508 178405 115291 107095 8196 64.6231888 7.1089677 7.83036 1980s 198508
1985 9 198509 178572 115905 107657 8248 64.9065923 7.1161727 7.39877 1980s 198509
1985 10 198510 178770 116145 107847 8298 64.9689545 7.1445176 7.3038 1980s 198510
1985 11 198511 178940 116135 108007 8128 64.901643 6.9987515 7.40631 1980s 198511
1985 12 198512 179112 116354 108216 8138 64.9615883 6.994173 7.31502 1980s 198512
1986 1 198601 179670 116682 108887 7795 64.9423944 6.6805506 7.34425 1980s 198601
1986 2 198602 179821 116882 108480 8402 64.9990824 7.1884465 7.25793 1980s 198602
1986 3 198603 179985 117220 108837 8383 65.1276495 7.15151 7.06214 1980s 198603
1986 4 198604 180148 117316 108952 8364 65.1220108 7.1294623 7.07072 1980s 198604
1986 5 198605 180311 117528 109089 8439 65.1807155 7.1804166 6.98132 1980s 198605
1986 6 198606 180503 118084 109576 8508 65.4194113 7.2050405 6.61782 1980s 198606
1986 7 198607 180682 118129 109810 8319 65.3795065 7.0423012 6.67859 1980s 198607
1986 8 198608 180828 118150 110015 8135 65.3383326 6.8853153 6.74129 1980s 198608
1986 9 198609 180997 118395 110085 8310 65.4126864 7.0188775 6.62806 1980s 198609
1986 10 198610 181186 118516 110273 8243 65.4112349 6.955179 6.63027 1980s 198610
1986 11 198611 181363 118634 110475 8159 65.4124601 6.877455 6.6284 1980s 198611
1986 12 198612 181547 118611 110728 7883 65.3334949 6.6460952 6.74865 1980s 198612
1987 1 198701 181827 118845 110953 7892 65.36158 6.6405823 6.70589 1980s 198701
1987 2 198702 181998 119122 111257 7865 65.4523676 6.6024748 6.56763 1980s 198702
1987 3 198703 182179 119270 111408 7862 65.4685776 6.5917666 6.54294 1980s 198703
1987 4 198704 182344 119336 111794 7542 65.4455315 6.3199705 6.57804 1980s 198704
1987 5 198705 182533 120008 112434 7574 65.7459199 6.3112459 6.12059 1980s 198705
1987 6 198706 182703 119644 112246 7398 65.4855147 6.1833439 6.51715 1980s 198706
1987 7 198707 182885 119902 112634 7268 65.5614184 6.061617 6.40156 1980s 198707
1987 8 198708 183002 120318 113057 7261 65.7468224 6.034841 6.11922 1980s 198708
1987 9 198709 183161 120011 112909 7102 65.5221363 5.9177909 6.46138 1980s 198709
1987 10 198710 183311 120509 113282 7227 65.7401902 5.9970625 6.12931 1980s 198710
1987 11 198711 183470 120540 113505 7035 65.7001145 5.8362369 6.19034 1980s 198711
1987 12 198712 183620 120729 113793 6936 65.7493737 5.7450985 6.11533 1980s 198712
1988 1 198801 183822 120969 114016 6953 65.8076835 5.7477536 6.02653 1980s 198801
1988 2 198802 183969 121156 114227 6929 65.8567476 5.7190729 5.95181 1980s 198802
1988 3 198803 184111 120913 114037 6876 65.6739684 5.6867334 6.23016 1980s 198803
1988 4 198804 184232 121251 114650 6601 65.8142994 5.4440788 6.01646 1980s 198804
1988 5 198805 184374 121071 114292 6779 65.6659833 5.5991939 6.24232 1980s 198805
1988 6 198806 184562 121473 114927 6546 65.8169071 5.3888518 6.01248 1980s 198806
1988 7 198807 184729 121665 115060 6605 65.8613428 5.4288415 5.94481 1980s 198807
1988 8 198808 184830 122125 115282 6843 66.0742304 5.6032753 5.62062 1980s 198808
1988 9 198809 184962 121960 115356 6604 65.9378683 5.4148901 5.82827 1980s 198809
1988 10 198810 185114 122206 115638 6568 66.0166168 5.3745315 5.70836 1980s 198810
1988 11 198811 185244 122637 116100 6537 66.2029539 5.3303652 5.42458 1980s 198811
1988 12 198812 185402 122622 116104 6518 66.1384451 5.3155225 5.52282 1980s 198812
1989 1 198901 185644 123390 116708 6682 66.465924 5.4153497 5.02411 1980s 198901
1989 2 198902 185777 123135 116776 6359 66.2810789 5.1642506 5.30561 1980s 198902
1989 3 198903 185897 123227 117022 6205 66.287783 5.0354224 5.2954 1980s 198903
1989 4 198904 186024 123565 117097 6468 66.4242248 5.234492 5.08762 1980s 198904
1989 5 198905 186181 123474 117099 6375 66.3193344 5.1630303 5.24735 1980s 198905
1989 6 198906 186329 123995 117418 6577 66.5462703 5.3042461 4.90176 1980s 198906
1989 7 198907 186483 123967 117472 6495 66.4763008 5.2392976 5.00831 1980s 198907
1989 8 198908 186598 124166 117655 6511 66.5419779 5.2437865 4.9083 1980s 198908
1989 9 198909 186726 123944 117354 6590 66.3774729 5.3169173 5.15882 1980s 198909
1989 10 198910 186871 124211 117581 6630 66.4688475 5.3376915 5.01967 1980s 198910
1989 11 198911 187017 124637 117912 6725 66.6447435 5.395669 4.75179 1980s 198911
1989 12 198912 187165 124497 117830 6667 66.5172441 5.3551491 4.94596 1980s 198912
1990 1 199001 188413 125833 119081 6752 66.7857313 5.365842 4.5371 1980s 199001
1990 2 199002 188516 125710 119059 6651 66.683995 5.2907485 4.69202 1980s 199002
1990 3 199003 188630 125801 119203 6598 66.6919366 5.2447914 4.67993 1980s 199003
1990 4 199004 188778 125649 118852 6797 66.5591329 5.4095138 4.88218 1980s 199004
1990 5 199005 188913 125893 119151 6742 66.6407288 5.3553414 4.75791 1980s 199005
1990 6 199006 189058 125573 118983 6590 66.4203578 5.2479434 5.09351 1980s 199006
1990 7 199007 189188 125732 118810 6922 66.4587606 5.5053606 0 1990s 199007
1990 8 199008 189342 125990 118802 7188 66.5409682 5.7052147 0 1990s 199008
1990 9 199009 189528 125892 118524 7368 66.4239585 5.8526356 0 1990s 199009
1990 10 199010 189710 125995 118536 7459 66.4145274 5.9200762 0 1990s 199010
1990 11 199011 189872 126070 118306 7764 66.3973624 6.1584834 0 1990s 199011
1990 12 199012 190017 126142 118241 7901 66.3845866 6.263576 0 1990s 199012
1991 1 199101 190163 125955 117940 8015 66.2352824 6.3633837 0 1990s 199101
1991 2 199102 190271 126020 117755 8265 66.2318483 6.5584828 0 1990s 199102
1991 3 199103 190381 126238 117652 8586 66.3080875 6.8014386 0 1990s 199103
1991 4 199104 190517 126548 118109 8439 66.4234688 6.6686159 0 1990s 199104
1991 5 199105 190650 126176 117440 8736 66.1820089 6.9236622 0 1990s 199105
1991 6 199106 190800 126331 117639 8692 66.2112159 6.8803382 0 1990s 199106
1991 7 199107 190946 126154 117568 8586 66.0678935 6.8059673 0 1990s 199107
1991 8 199108 191116 126150 117484 8666 66.0070324 6.8695997 0 1990s 199108
1991 9 199109 191302 126650 117928 8722 66.2042216 6.8866956 0 1990s 199109
1991 10 199110 191497 126642 117800 8842 66.1326287 6.9818859 0 1990s 199110
1991 11 199111 191657 126701 117770 8931 66.1082037 7.0488789 0 1990s 199111
1991 12 199112 191798 126664 117466 9198 66.0403132 7.2617318 0 1990s 199112
1992 1 199201 191953 127261 117978 9283 66.298 7.2944578 0 1990s 199201
1992 2 199202 192067 127207 117753 9454 66.2305341 7.4319809 0 1990s 199202
1992 3 199203 192204 127604 118144 9460 66.3898774 7.4135607 0 1990s 199203
1992 4 199204 192354 127841 118426 9415 66.4613161 7.364617 0 1990s 199204
1992 5 199205 192503 128119 118375 9744 66.5542875 7.6054293 0 1990s 199205
1992 6 199206 192663 128459 118419 10040 66.6754904 7.8157233 5.75083 1990s 199206
1992 7 199207 192826 128563 118713 9850 66.6730628 7.6616134 5.75772 1990s 199207
1992 8 199208 193018 128613 118826 9787 66.6326457 7.6096507 5.87255 1990s 199208
1992 9 199209 193229 128501 118720 9781 66.5019226 7.6116139 6.24397 1990s 199209
1992 10 199210 193442 128026 118628 9398 66.1831453 7.3406964 7.14968 1990s 199210
1992 11 199211 193621 128441 118876 9565 66.3362962 7.446999 6.71454 1990s 199211
1992 12 199212 193784 128554 118997 9557 66.3388102 7.43423 6.70741 1990s 199212
1993 1 199301 193962 128400 119075 9325 66.1985337 7.2624611 7.10595 1990s 199301
1993 2 199302 194108 128458 119275 9183 66.1786222 7.14864 7.16253 1990s 199302
1993 3 199303 194248 128598 119542 9056 66.2029982 7.0421002 7.09327 1990s 199303
1993 4 199304 194398 128584 119474 9110 66.1447134 7.0848628 7.25887 1990s 199304
1993 5 199305 194549 129264 120115 9149 66.4429013 7.0777633 6.41166 1990s 199305
1993 6 199306 194719 129411 120290 9121 66.4603865 7.0480871 6.36197 1990s 199306
1993 7 199307 194882 129397 120467 8930 66.397615 6.9012419 6.54033 1990s 199307
1993 8 199308 195063 129619 120856 8763 66.4498136 6.7605829 6.39201 1990s 199308
1993 9 199309 195259 129268 120554 8714 66.2033504 6.7410341 7.09227 1990s 199309
1993 10 199310 195444 129573 120823 8750 66.2967397 6.7529501 6.82693 1990s 199310
1993 11 199311 195625 129711 121169 8542 66.3059425 6.5854091 6.80079 1990s 199311
1993 12 199312 195794 129941 121464 8477 66.3661808 6.52373 6.62963 1990s 199312
1994 1 199401 195953 130596 121966 8630 66.6465938 6.6081656 5.83293 1990s 199401
1994 2 199402 196090 130669 122086 8583 66.6372584 6.5685052 5.85945 1990s 199402
1994 3 199403 196213 130400 121930 8470 66.4583896 6.4953988 6.36764 1990s 199403
1994 4 199404 196363 130621 122290 8331 66.5201693 6.3779944 6.19213 1990s 199404
1994 5 199405 196510 130779 122864 7915 66.5508117 6.0521949 6.10507 1990s 199405
1994 6 199406 196693 130561 122634 7927 66.3780612 6.0714915 6.59587 1990s 199406
1994 7 199407 196859 130652 122706 7946 66.3683144 6.0818051 6.62358 1990s 199407
1994 8 199408 197043 131275 123342 7933 66.6225139 6.0430394 5.90134 1990s 199408
1994 9 199409 197248 131421 123687 7734 66.6272915 5.8849042 5.88776 1990s 199409
1994 10 199410 197430 131744 124112 7632 66.7294737 5.7930532 5.59745 1990s 199410
1994 11 199411 197607 131891 124516 7375 66.7440931 5.5917386 5.55591 1990s 199411
1994 12 199412 197765 131951 124721 7230 66.7211084 5.4793067 5.62122 1990s 199412
1995 1 199501 197753 132038 124663 7375 66.7691514 5.5855133 5.48471 1990s 199501
1995 2 199502 197886 132115 124928 7187 66.7631869 5.4399576 5.50166 1990s 199502
1995 3 199503 198007 132108 124955 7153 66.7188534 5.4145093 5.62763 1990s 199503
1995 4 199504 198148 132590 124945 7645 66.9146295 5.7658949 5.07138 1990s 199504
1995 5 199505 198286 131851 124421 7430 66.4953653 5.6351488 6.2626 1990s 199505
1995 6 199506 198452 131949 124522 7427 66.4891258 5.6286899 6.28033 1990s 199506
1995 7 199507 198615 132343 124816 7527 66.6329331 5.6874939 5.87174 1990s 199507
1995 8 199508 198801 132336 124852 7484 66.5670696 5.6553017 6.05887 1990s 199508
1995 9 199509 199005 132611 125133 7478 66.6370192 5.6390496 5.86012 1990s 199509
1995 10 199510 199192 132716 125388 7328 66.6271738 5.5215648 5.8881 1990s 199510
1995 11 199511 199355 132614 125188 7426 66.5215319 5.5997104 6.18825 1990s 199511
1995 12 199512 199508 132511 125088 7423 66.4188905 5.6017991 6.47987 1990s 199512
1996 1 199601 199634 132616 125125 7491 66.4295661 5.6486397 6.44954 1990s 199601
1996 2 199602 199772 132952 125639 7313 66.5518691 5.5004814 6.10205 1990s 199602
1996 3 199603 199921 133180 125862 7318 66.6163134 5.494819 5.91896 1990s 199603
1996 4 199604 200101 133409 125994 7415 66.6708312 5.5580958 5.76407 1990s 199604
1996 5 199605 200278 133667 126244 7423 66.7407304 5.5533527 5.56548 1990s 199605
1996 6 199606 200459 133697 126602 7095 66.695434 5.3067758 5.69416 1990s 199606
1996 7 199607 200641 134284 126947 7337 66.9274974 5.4637932 5.03482 1990s 199607
1996 8 199608 200847 134054 127172 6882 66.7443377 5.1337521 5.55521 1990s 199608
1996 9 199609 201060 134515 127536 6979 66.9029146 5.188269 5.10468 1990s 199609
1996 10 199610 201273 134921 127890 7031 67.0338297 5.2111977 4.73272 1990s 199610
1996 11 199611 201463 135007 127771 7236 67.0132977 5.3597221 4.79105 1990s 199611
1996 12 199612 201636 135113 127860 7253 67.0083715 5.3680993 4.80505 1990s 199612
1997 1 199701 202285 135456 128298 7158 66.9629483 5.2843728 4.93411 1990s 199701
1997 2 199702 202388 135400 128298 7102 66.9011997 5.2451994 5.10954 1990s 199702
1997 3 199703 202513 135891 128891 7000 67.1023589 5.1511873 4.53801 1990s 199703
1997 4 199704 202674 136016 129143 6873 67.1107295 5.053082 4.51423 1990s 199704
1997 5 199705 202832 136119 129464 6655 67.1092333 4.8891044 4.51848 1990s 199705
1997 6 199706 203000 136211 129412 6799 67.0990148 4.9915205 4.54751 1990s 199706
1997 7 199707 203166 136477 129822 6655 67.1751179 4.8762795 4.33128 1990s 199707
1997 8 199708 203364 136618 130010 6608 67.1790484 4.8368443 4.32012 1990s 199708
1997 9 199709 203570 136675 130019 6656 67.1390676 4.869947 4.43372 1990s 199709
1997 10 199710 203767 136633 130179 6454 67.0535465 4.7236026 4.6767 1990s 199710
1997 11 199711 203941 136961 130653 6308 67.157168 4.6056907 4.38229 1990s 199711
1997 12 199712 204098 137155 130679 6476 67.2005605 4.7216653 4.259 1990s 199712
1998 1 199801 204238 137095 130726 6368 67.1251187 4.6449542 4.47335 1990s 199801
1998 2 199802 204400 137112 130807 6306 67.0802348 4.5991598 4.60087 1990s 199802
1998 3 199803 204546 137236 130814 6422 67.0929766 4.6795302 4.56466 1990s 199803
1998 4 199804 204731 137150 131209 5941 66.9903434 4.3317536 4.85626 1990s 199804
1998 5 199805 204899 137372 131325 6047 67.043763 4.401916 4.70449 1990s 199805
1998 6 199806 205085 137455 131244 6212 67.0234293 4.5192972 4.76226 1990s 199806
1998 7 199807 205270 137588 131329 6259 67.027817 4.5490886 4.74979 1990s 199807
1998 8 199808 205479 137570 131390 6179 66.9508806 4.4915316 4.96839 1990s 199808
1998 9 199809 205699 138286 131986 6300 67.2273565 4.5557757 4.18287 1990s 199809
1998 10 199810 205919 138279 131999 6280 67.1521326 4.5415428 4.3966 1990s 199810
1998 11 199811 206104 138381 132280 6100 67.1413461 4.4081196 4.42724 1990s 199811
1998 12 199812 206270 138634 132602 6032 67.2099675 4.351025 4.23228 1990s 199812
1999 1 199901 206719 139003 133027 5976 67.2424886 4.2991878 4.13987 1990s 199901
1999 2 199902 206873 138967 132856 6111 67.1750301 4.3974469 4.33154 1990s 199902
1999 3 199903 207036 138730 132947 5783 67.0076702 4.1685288 4.80703 1990s 199903
1999 4 199904 207236 138959 132955 6004 67.0535042 4.3206989 4.67682 1990s 199904
1999 5 199905 207427 139107 133311 5796 67.0631114 4.1665768 4.64952 1990s 199905
1999 6 199906 207632 139329 133378 5951 67.1038183 4.2711855 4.53386 1990s 199906
1999 7 199907 207828 139439 133414 6025 67.0934619 4.3208858 4.56329 1990s 199907
1999 8 199908 208038 139430 133591 5838 67.0214096 4.1870473 4.768 1990s 199908
1999 9 199909 208265 139622 133707 5915 67.0405493 4.2364384 4.71362 1990s 199909
1999 10 199910 208483 139771 133993 5778 67.0419171 4.1339047 4.70974 1990s 199910
1999 11 199911 208666 140025 134309 5716 67.104847 4.0821282 4.53094 1990s 199911
1999 12 199912 208832 140177 134523 5653 67.1242913 4.0327586 4.4757 1990s 199912
2000 1 200001 211410 142267 136559 5708 67.2943569 4.0121743 3.9925 1990s 200001
2000 2 200002 211576 142456 136598 5858 67.3308882 4.1121469 3.88871 1990s 200002
2000 3 200003 211772 142434 136701 5733 67.2581833 4.0250221 4.09528 1990s 200003
2000 4 200004 212018 142751 137270 5481 67.3296607 3.8395528 3.8922 1990s 200004
2000 5 200005 212242 142388 136630 5758 67.0875698 4.0438801 4.58004 1990s 200005
2000 6 200006 212466 142591 136940 5651 67.112385 3.9630832 4.50952 1990s 200006
2000 7 200007 212677 142278 136531 5747 66.8986303 4.0392752 5.11684 1990s 200007
2000 8 200008 212916 142514 136662 5853 66.9343779 4.1069649 5.01528 1990s 200008
2000 9 200009 213163 142518 136893 5625 66.858695 3.9468699 5.2303 1990s 200009
2000 10 200010 213405 142622 137088 5534 66.8316113 3.8801868 5.30725 1990s 200010
2000 11 200011 213540 142962 137322 5639 66.9485811 3.9444048 4.97492 1990s 200011
2000 12 200012 213736 143248 137614 5634 67.0209979 3.9330392 4.76917 1990s 200012
2001 1 200101 213888 143800 137778 6023 67.2314482 4.1884562 4.17125 1990s 200101
2001 2 200102 214110 143701 137612 6089 67.1155014 4.2372704 4.50066 1990s 200102
2001 3 200103 214305 143924 137783 6141 67.1584891 4.2668353 0 2000s 200103
2001 4 200104 214525 143569 137299 6271 66.9241347 4.3679346 0 2000s 200104
2001 5 200105 214732 143318 137092 6226 66.7427305 4.3441857 0 2000s 200105
2001 6 200106 214950 143357 136873 6484 66.6931845 4.5229741 0 2000s 200106
2001 7 200107 215180 143654 137071 6583 66.7599219 4.5825386 0 2000s 200107
2001 8 200108 215420 143284 136241 7042 66.513787 4.9147148 0 2000s 200108
2001 9 200109 215665 143989 136846 7142 66.7651218 4.9601011 0 2000s 200109
2001 10 200110 215903 144086 136392 7694 66.7364511 5.3398665 0 2000s 200110
2001 11 200111 216117 144240 136238 8003 66.7416261 5.5483916 0 2000s 200111
2001 12 200112 216315 144305 136047 8258 66.7105841 5.7226014 0 2000s 200112
2002 1 200201 216506 143883 135701 8182 66.4568187 5.6865648 0 2000s 200201
2002 2 200202 216663 144653 136438 8215 66.7640529 5.6791079 0 2000s 200202
2002 3 200203 216823 144481 136177 8304 66.6354584 5.7474685 0 2000s 200203
2002 4 200204 217006 144725 136126 8599 66.6917044 5.9416134 0 2000s 200204
2002 5 200205 217198 144938 136539 8399 66.730817 5.7948916 0 2000s 200205
2002 6 200206 217407 144808 136415 8393 66.606871 5.7959505 0 2000s 200206
2002 7 200207 217630 144803 136413 8390 66.5363231 5.7940789 0 2000s 200207
2002 8 200208 217866 145009 136705 8304 66.5588022 5.7265411 0 2000s 200208
2002 9 200209 218107 145552 137302 8251 66.7342176 5.6687644 0 2000s 200209
2002 10 200210 218340 145314 137008 8307 66.5539984 5.7165862 0 2000s 200210
2002 11 200211 218548 145041 136521 8520 66.3657412 5.8742011 0 2000s 200211
2002 12 200212 218741 145066 136426 8640 66.3186143 5.9559097 0 2000s 200212
2003 1 200301 219897 145937 137417 8520 66.3660714 5.8381356 0 2000s 200301
2003 2 200302 220114 146100 137482 8618 66.3746967 5.8986995 0 2000s 200302
2003 3 200303 220317 146022 137434 8588 66.2781356 5.8813056 0 2000s 200303
2003 4 200304 220540 146474 137633 8842 66.4160696 6.0365662 0 2000s 200304
2003 5 200305 220768 146500 137544 8957 66.359255 6.1139932 0 2000s 200305
2003 6 200306 221014 147056 137790 9266 66.5369615 6.301001 0 2000s 200306
2003 7 200307 221252 146485 137474 9011 66.2073111 6.1514831 65.99044 2000s 200307
2003 8 200308 221507 146445 137549 8896 66.1130348 6.0746355 65.9955 2000s 200308
2003 9 200309 221779 146530 137609 8921 66.0702772 6.0881731 65.99461 2000s 200309
2003 10 200310 222039 146716 137984 8732 66.0766802 5.9516345 66.00358 2000s 200310
2003 11 200311 222279 147000 138424 8576 66.133103 5.8340136 66.01132 2000s 200311
2003 12 200312 222509 146729 138411 8317 65.9429506 5.6682728 66.02222 2000s 200312
2004 1 200401 222161 146842 138472 8370 66.0971098 5.7000041 66.02014 2000s 200401
2004 2 200402 222357 146709 138542 8167 65.9790337 5.5668023 66.0289 2000s 200402
2004 3 200403 222550 146944 138453 8491 66.0274096 5.7783918 66.01498 2000s 200403
2004 4 200404 222757 146850 138680 8170 65.9238542 5.5635002 66.02911 2000s 200404
2004 5 200405 222967 147065 138852 8212 65.9581911 5.5839255 66.02777 2000s 200405
2004 6 200406 223196 147460 139174 8286 66.0674922 5.619151 66.02545 2000s 200406
2004 7 200407 223422 147692 139556 8136 66.1045018 5.5087615 66.03271 2000s 200407
2004 8 200408 223677 147564 139573 7990 65.9719149 5.4145998 66.03891 2000s 200408
2004 9 200409 223941 147415 139487 7927 65.8276064 5.3773361 66.04136 2000s 200409
2004 10 200410 224192 147793 139732 8061 65.9225128 5.4542502 66.0363 2000s 200410
2004 11 200411 224422 148162 140231 7932 66.0193742 5.3535994 66.04292 2000s 200411
2004 12 200412 224640 148059 140125 7934 65.9094551 5.3586746 66.04259 2000s 200412
2005 1 200501 224837 148029 140245 7784 65.8383629 5.2584291 66.04918 2000s 200501
2005 2 200502 225041 148364 140385 7980 65.9275421 5.3786633 66.04127 2000s 200502
2005 3 200503 225236 148391 140654 7737 65.8824522 5.2139281 66.05211 2000s 200503
2005 4 200504 225441 148926 141254 7672 66.059856 5.1515518 66.05621 2000s 200504
2005 5 200505 225670 149261 141609 7651 66.1412682 5.1259204 66.0579 2000s 200505
2005 6 200506 225911 149238 141714 7524 66.0605283 5.0416114 66.06344 2000s 200506
2005 7 200507 226153 149432 142026 7406 66.0756214 4.9561004 66.06907 2000s 200507
2005 8 200508 226421 149779 142434 7345 66.1506662 4.9038917 66.0725 2000s 200508
2005 9 200509 226693 149954 142401 7553 66.1484916 5.036878 66.06375 2000s 200509
2005 10 200510 226959 150001 142548 7453 66.0916729 4.9686335 66.06824 2000s 200510
2005 11 200511 227204 150065 142499 7566 66.0485731 5.0418152 66.06343 2000s 200511
2005 12 200512 227425 150030 142752 7279 65.9690008 4.8516963 66.07593 2000s 200512
2006 1 200601 227553 150214 143150 7064 66.0127531 4.7026243 66.08574 2000s 200601
2006 2 200602 227763 150641 143457 7184 66.1393642 4.768954 66.08137 2000s 200602
2006 3 200603 227975 150813 143741 7072 66.1533063 4.6892509 66.08661 2000s 200603
2006 4 200604 228199 150881 143761 7120 66.1181688 4.7189507 66.08467 2000s 200604
2006 5 200605 228428 151069 144089 6980 66.1341867 4.6204052 66.09114 2000s 200605
2006 6 200606 228671 151354 144353 7001 66.1885416 4.6255798 66.0908 2000s 200606
2006 7 200607 228912 151377 144202 7175 66.1289054 4.7398218 66.08329 2000s 200607
2006 8 200608 229167 151716 144625 7091 66.2032492 4.6738643 66.08763 2000s 200608
2006 9 200609 229420 151662 144815 6847 66.1067039 4.5146444 66.0981 2000s 200609
2006 10 200610 229675 152041 145314 6727 66.1983237 4.4244645 66.10403 2000s 200610
2006 11 200611 229905 152406 145534 6872 66.2908593 4.5090088 66.09847 2000s 200611
2006 12 200612 230108 152732 145970 6762 66.3740504 4.427363 66.10384 2000s 200612
2007 1 200701 230650 153144 146028 7116 66.396705 4.6466071 66.08942 2000s 200701
2007 2 200702 230834 152983 146057 6927 66.2740324 4.5279541 66.09722 2000s 200702
2007 3 200703 231034 153051 146320 6731 66.2460936 4.3978804 66.10578 2000s 200703
2007 4 200704 231253 152435 145586 6850 65.9169827 4.4937186 66.09948 2000s 200704
2007 5 200705 231480 152670 145903 6766 65.9538621 4.431781 66.10355 2000s 200705
2007 6 200706 231713 153041 146063 6979 66.0476538 4.5602159 66.0951 2000s 200706
2007 7 200707 231958 153054 145905 7149 65.983497 4.6709005 66.08782 2000s 200707
2007 8 200708 232211 152749 145682 7067 65.7802602 4.6265442 66.09074 2000s 200708
2007 9 200709 232461 153414 146244 7170 65.9955864 4.6736282 66.08765 2000s 200709
2007 10 200710 232715 153183 145946 7237 65.8242915 4.7244146 66.0843 2000s 200710
2007 11 200711 232939 153835 146595 7240 66.0408948 4.7063412 66.08549 2000s 200711
2007 12 200712 233156 153918 146273 7645 66.0150286 4.9669304 0 2000s 200712
2008 1 200801 232616 154063 146378 7685 66.2306118 4.9882191 0 2000s 200801
2008 2 200802 232809 153653 146156 7497 65.9995962 4.8791758 0 2000s 200802
2008 3 200803 232995 153908 146086 7822 66.0563531 5.0822569 0 2000s 200803
2008 4 200804 233198 153769 146132 7637 65.9392448 4.9665407 0 2000s 200804
2008 5 200805 233405 154303 145908 8395 66.1095521 5.4405942 0 2000s 200805
2008 6 200806 233627 154313 145737 8575 66.0510129 5.5568876 0 2000s 200806
2008 7 200807 233864 154469 145532 8937 66.0507817 5.7856269 0 2000s 200807
2008 8 200808 234107 154641 145203 9438 66.0556925 6.103168 0 2000s 200808
2008 9 200809 234360 154570 145076 9494 65.9540877 6.1422009 0 2000s 200809
2008 10 200810 234612 154876 144802 10074 66.0136736 6.5045585 0 2000s 200810
2008 11 200811 234828 154639 144100 10538 65.8520279 6.8145811 0 2000s 200811
2008 12 200812 235035 154655 143369 11286 65.8008382 7.2975332 0 2000s 200812
2009 1 200901 234739 154210 142152 12058 65.6942391 7.8192076 0 2000s 200901
2009 2 200902 234913 154538 141640 12898 65.7852056 8.3461673 0 2000s 200902
2009 3 200903 235086 154133 140707 13426 65.5645168 8.710659 0 2000s 200903
2009 4 200904 235271 154509 140656 13853 65.6727774 8.9658208 0 2000s 200904
2009 5 200905 235452 154747 140248 14499 65.7233746 9.369487 0 2000s 200905
2009 6 200906 235655 154716 140009 14707 65.6536038 9.5058042 0 2000s 200906
2009 7 200907 235870 154502 139901 14601 65.5030313 9.4503631 0 2000s 200907
2009 8 200908 236087 154307 139492 14814 65.3602274 9.6003422 0 2000s 200908
2009 9 200909 236322 153827 138818 15009 65.0921201 9.7570648 0 2000s 200909
2009 10 200910 236550 153784 138432 15352 65.0112027 9.9828331 10.22894 current 200910
2009 11 200911 236743 153878 138659 15219 64.9979091 9.8903027 10.20669 current 200911
2009 12 200912 236924 153111 138013 15098 64.6245209 9.8608199 9.58181 current 200912
2010 1 201001 236832 153404 138451 14953 64.7733414 9.7474642 9.83087 current 201001
2010 2 201002 236998 153720 138599 15121 64.8613068 9.8367161 9.97809 current 201002
2010 3 201003 237159 153964 138752 15212 64.920159 9.8802317 10.07657 current 201003
2010 4 201004 237329 154642 139309 15333 65.1593358 9.9151589 10.47684 current 201004
2010 5 201005 237499 154106 139247 14858 64.8870101 9.6414156 10.0211 current 201005
2010 6 201006 237690 153631 139148 14483 64.6350288 9.4271338 9.5994 current 201006
2010 7 201007 237890 153706 139179 14527 64.6122157 9.45116 9.56123 current 201007
2010 8 201008 238099 154087 139427 14660 64.7155175 9.5141057 9.7341 current 201008
2010 9 201009 238322 153971 139393 14578 64.606289 9.4680167 9.55131 current 201009
2010 10 201010 238530 153631 139111 14520 64.4074121 9.4512175 9.21849 current 201010
2010 11 201011 238715 154127 139030 15097 64.5652766 9.7951689 9.48267 current 201011
2010 12 201012 238889 153639 139266 14373 64.3139701 9.3550466 9.06211 current 201012
2011 1 201101 238704 153198 139287 13910 64.179067 9.079753 8.83635 current 201101
2011 2 201102 238851 153280 139422 13858 64.1738992 9.0409708 8.8277 current 201102
2011 3 201103 239000 153403 139655 13748 64.1853556 8.9620151 8.84687 current 201103
2011 4 201104 239146 153566 139622 13944 64.2143293 9.0801349 8.89536 current 201104
2011 5 201105 239313 153526 139653 13873 64.1528041 9.0362544 8.7924 current 201105
2011 6 201106 239489 153379 139409 13971 64.0442776 9.1088089 8.61077 current 201106
2011 7 201107 239671 153309 139524 13785 63.9664373 8.9916443 8.4805 current 201107
2011 8 201108 239871 153724 139904 13820 64.086113 8.9901382 8.68079 current 201108
2011 9 201109 240071 154059 140154 13905 64.1722657 9.0257629 8.82497 current 201109
2011 10 201110 240269 153940 140335 13604 64.069855 8.8372093 8.65358 current 201110
2011 11 201111 240441 154072 140747 13326 64.0789216 8.649203 8.66875 current 201111
2011 12 201112 240584 153927 140836 13090 63.980564 8.5040311 8.50414 current 201112
2012 1 201201 242269 154328 141677 12650 63.7010926 8.1968275 8.03645 current 201201
2012 2 201202 242435 154826 141943 12883 63.8628911 8.3209538 8.30722 current 201202
2012 3 201203 242604 154811 142079 12732 63.8122207 8.2242218 8.22242 current 201203
2012 4 201204 242784 154565 141963 12603 63.6635857 8.1538511 7.97368 current 201204
2012 5 201205 242966 154946 142257 12689 63.7727089 8.1893047 8.1563 current 201205
2012 6 201206 243155 155134 142432 12702 63.8004565 8.1877603 8.20273 current 201206
2012 7 201207 243354 154970 142272 12698 63.6808929 8.193844 8.00264 current 201207
2012 8 201208 243566 154669 142204 12464 63.5018845 8.0584991 7.70307 current 201208
2012 9 201209 243772 155018 142947 12070 63.5913887 7.7861926 7.85286 current 201209
2012 10 201210 243983 155507 143369 12138 63.7368177 7.8054364 8.09624 current 201210
2012 11 201211 244174 155279 143233 12045 63.5935849 7.7570051 7.85653 current 201211
2012 12 201212 244350 155485 143212 12273 63.6320851 7.8933659 7.92096 current 201212
2013 1 201301 244663 155699 143384 12315 63.6381472 7.909492 7.9311 current 201301
2013 2 201302 244828 155511 143464 12047 63.5184701 7.7467189 7.73083 current 201302
2013 3 201303 244995 155099 143393 11706 63.3070063 7.5474374 7.37694 current 201303
2013 4 201304 245175 155359 143676 11683 63.3665749 7.5200021 7.47662 current 201304
2013 5 201305 245363 155609 143919 11690 63.4199125 7.5124189 7.56589 current 201305
2013 6 201306 245552 155822 144075 11747 63.4578419 7.5387301 7.62936 current 201306
2013 7 201307 245756 155693 144285 11408 63.352675 7.3272401 7.45336 current 201307
2013 8 201308 245959 155435 144179 11256 63.1954919 7.2416122 7.19031 current 201308
2013 9 201309 246168 155473 144270 11203 63.1572747 7.2057528 7.12636 current 201309
2013 10 201310 246381 154625 143485 11140 62.7584919 7.2045271 6.45899 current 201310
2013 11 201311 246567 155284 144443 10841 62.9784197 6.9814018 6.82705 current 201311
2013 12 201312 246745 154937 144586 10351 62.7923565 6.6807799 6.51566 current 201312
2014 1 201401 246915 155460 145224 10236 62.960938 6.5843304 6.79779 current 201401
2014 2 201402 247085 155724 145266 10459 63.0244653 6.71637 6.9041 current 201402
2014 3 201403 247258 156227 145742 10486 63.1837999 6.712028 7.17075 current 201403
2014 4 201404 247439 155421 145669 9753 62.8118445 6.2752138 6.54828 current 201404
2014 5 201405 247622 155613 145814 9799 62.8429623 6.2970317 6.60036 current 201405
2014 6 201406 247814 155694 146221 9474 62.8269589 6.0850129 6.57357 current 201406
2014 7 201407 248023 156023 146352 9671 62.9066659 6.1984451 6.70696 current 201407
2014 8 201408 248229 155959 146368 9591 62.8286784 6.1496932 6.57645 current 201408
<!DOCTYPE HTML>
<meta charset="utf-8">
<html>
<head>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<script src="http://d3js.org/d3.v3.min.js"></script>
<style>
body, h1, h2, h3, p {
margin: 0px;
padding: 0px;
font-family: Arial, sans-serif;
font-size: 14px;
line-height: 1.5em;
color: #4a4a4a;
}
#content {
margin: 5px;
padding: 0px 0px 150px 0px;
width: 900px;
text-align: left;
}
#container {
padding: 15px;
border: 1px solid #ccc;
height: 513px;
clear: both;
}
#header h1 {
margin: 0px 0px 0px 10px;
padding: 4px 0px 0px 7px;
font-family: Georgia, "Times New Roman", serif;
font-size: 18px;
font-weight: normal;
color: #fff;
}
p {
margin: 0px;
padding: 0px 0px 15px 0px;
color: #4a4a4a;
font-weight: normal;
line-height: 1.5rem;
}
p.body {
padding: 15px 0px 15px 0px;
}
#slides {
margin: 0px;
padding: 0px;
background: #fff;
height: 400px;
width: 300px;
float: right;
}
#slides p {
margin: 0px;
padding: 0px 0px 13px 0px;
color: #4a4a4a;
font-weight: normal;
}
#yearmonth {
font-family: Arial, sans-serif;
font-size: 14px;
color: #4a4a4a;
font-weight: bold;
}
g.y.axis path.domain {
stroke-width: 0px;
}
g.x.axis path.domain, g.x.axis g.tick.major line, g.x.axis g.tick line {
stroke: #333;
stroke-width: 2px;
shape-rendering: crispEdges;
}
.axis path, .axis line {
fill: none;
shape-rendering: crispEdges;
border-width: 2px;
}
.axis line {
stroke: #eee;
stroke-width: 1;
shape-rendering: crispEdges;
}
g.group text, g.tick text, .x.axis text {
color: #4a4a4a;
font-size: 12px;
}
#buttons {
margin: 0px;
padding: 0px;
}
.button {
display: inline-block;
margin: 0px 2px 0px 0px;
padding: 4px 6px;
line-height: 20px;
background:#ff0000;
min-width: 60px;
border-radius: 3px;
text-align: center;
color: #fff;
font-family: Arial, sans-serif;
font-size: 12px;
font-weight: bold;
text-transform: uppercase;
}
.button:hover {
background:#e3120b;
color: #fff;
cursor: pointer;
}
.button span {
margin: 0px;
padding: 0px 3px;
}
.regLine {
fill: none;
stroke: #00a1ce;
stroke-width: 2.5;
opacity: 0;
}
.unempLine {
fill: none;
stroke: #00a1ce;
stroke-width: 3px;
}
.lfprLine {
fill: none;
stroke: #772210;
stroke-width: 3px;
}
.unempCircle {
stroke: #00a1ce;
stroke-width: 3px;
fill: #fff;
opacity: 0;
}
.lfprCircle {
stroke: #772210;
stroke-width: 3px;
fill: #fff;
opacity: 0;
}
#header {
margin: 0px;
padding: 0px;
height: 34px;
background: #747474;
}
#block {
float: left;
margin: 0px;
padding: 0px;
height: 100%;
width: 10px;
background: #ff0000;
}
.left.label {
font-size: 12px;
fill: #4a4a4a;
}
.right.label {
font-size: 12px;
fill: #772210;
}
#source {
margin: 0px 0px 20px 0px;
padding: 0px;
font-size: 11px;
}
g.group text {
opacity: 0;
}
.dot1970s, .dot1980s, .dot1990s, .dot2000s, .dotcurrent {
fill: #fff;
stroke: #00a1ce;
stroke-width: 2.5;
opacity: 0;
}
.dot1970s, #line1970s {
stroke: #648d9e;
}
.dot1980s, #line1980s {
stroke: #00485d;
}
.dot1990s, #line1990s {
stroke: #772210;
}
.dot2000s, #line2000s {
stroke: #a5a6a7;
}
.dotcurrent, #lineCurrent {
stroke: #00a1ce;
}
.currentlabel {
font-family: Arial, sans-serif;
font-size: 12px;
color: #4a4a4a;
font-weight: bold;
}
.slideone, .slidetwo, .slidethree, .slidefour, .slidefourthree, .slidefive, .slidesix, .slideseven {
opacity: 0;
display: none;
}
.legendbullet {
fill: #fff;
stroke-width: 3;
}
#legend text {
font-family: Arial, sans-serif;
font-size: 12px;
color: #4a4a4a;
}
#again {
position: absolute;
margin: 20px 0px 0px 449px;
background:#f4f4f4;
color: #747474;
font-weight: normal;
opacity: 0;
}
#again:hover {
background:#f4f4f4;
color: #4a4a4a;
cursor: pointer;
}
#progress {
text-align: center;
margin: 0px;
padding: 5px 0px 2px 0px;
display: block;
}
.dot {
line-height: 12px;
font-size: 30px;
width: 12px;
height: 20px;
margin: 0px;
padding: 0px;
color: #ccc;
}
span.lightblue {
color: #00a1ce;
font-weight: bold;
}
span.darkred {
color: #772210;
font-weight: bold;
}
</style>
</head>
<body>
<div id="content">
<div id="header">
<div id="block"></div>
<h1>Unemployment and labour force participation</h1>
</div>
<div id="container">
<div id="progress">
<span class="dot" id="dotone">&bull;</span>
<span class="dot" id="dottwo">&bull;</span>
<span class="dot" id="dotthree">&bull;</span>
<span class="dot" id="dotfour">&bull;</span>
<span class="dot" id="dotfive">&bull;</span>
<span class="dot" id="dotsix">&bull;</span>
<span class="dot" id="dotseven">&bull;</span>
</div>
<div id="slides">
<div id="text">
<p class="slideintro">The American economic recovery is underway, and employment has improved. But this is not pulling workers back into the labour market.</p>
<p class="slideone">Since the height of the Great Recession in 2009, America's <span class="lightblue">unemployment rate</span> has fallen from 10% to 6.1%.</p>
<p class="slideone">During this period, the <span class="darkred">labour force participation rate</span> -- the share of the population 16 and over that is either working or looking for work -- has fallen to 62.8 percent, a 36-year low.</p>
<p class="slideone">This combination is unusual. In past recoveries, declining unemployment has led to rising, not falling, labour force participation.</p>
<p class="slidetwo">During the economic recovery of the late 1970s, as unemployment fell from 8% to 5.5%, the labour force participation increased from 61% to 64%.</p>
<p class="slidethree">During the 1980s recovery, it was the same story. As unemployment dropped from 11% to 5%, the labour force participation increased from 63.5% to 67%.</p>
<p class="slidefour">During the 1990s, as unemployment fell from 8% to 4%, labour force participation edged up from 66% to nearly 67.5%.</p>
<p class="slidefive">In the 2000s, as unemployment declined from 6.2% to 4.4%, the labour force participation remained steady at 66%.</p>
<p class="slidesix">The current recovery has been different. Though unemployment has fallen from 10% to 6.1%, labour force participation has not increased. In fact, it has declined to its lowest level since 1978.</p>
<p class="slidesix">This is controversial. Some economists say long-term structural factors, mainly aging, explain most of the recent drop in the labour force. Others argue that short-term, cyclical factors are mostly to blame: workers are sitting out the job hunt, waiting for better opportunities.</p>
<p class="slideseven">This debate will shape the Federal Reserve's monetary policy decisions in the coming months.</p>
<p class="slideseven">If the decline in labour force participation is mostly structural, then the unemployment rate is a reasonable measure of the remaining slack in the labour market, and the Fed will have to move relatively soon to raise interest rates to prevent the economy from overheating. But if there is a cyclical component to the depressed level of participation, then there is more slack than the unemployment rate suggests and the Fed can take its time about tightening.</p>
<p class="slideseven">For now, though, the post-crisis economy looks unique: there are more people back at work -- and more people out of work too.</p>
</div>
<div id="buttons">
<div class="button" id="next" value="start">Start<span class="fa fa-caret-right"></span></div>
</div>
</div>
<div class="button" id="again" value="start">Again<span class='fa fa-repeat'></span></div>
<div id="chart"></div>
<p id="source">Source: US Bureau of Labour Statistics</p>
</div>
<p class="body">AMERICA has experienced a puzzling decline in the proportion of people either working or looking for work. Historically the &ldquo;labour force participation rate&rdquo; fell during recessions as some of the unemployed gave up looking for work, and rose amid recoveries as discouraged workers returned.</p>
<p>Not this time. The recovery is now five years old, yet the participation rate continues to drop, currently 62.8% from 66% in 2007. Cyclical factors may be at play: the slow recovery has driven an inordinate number of people out of the work force (or into part time work); they may return as the economy improves. Yet the aging population means a growing portion of people have retired, and are not coming back.</p>
<p>The relative contribution of these two factors is crucial to the Federal Reserve. If cyclical factors are significant, then the unemployment rate understates slack in the labour market and the Fed can take its time about raising interest rates. If structural factors predominate, then the unemployment rate, at 6.1%, is a fair reading of slack and the Fed may need to move soon.</p>
<p>On September 17th Janet Yellen, the Fed chairman, suggested that she held the former view. &ldquo;There is,&rdquo; she said, &ldquo;a meaningful cyclical shortfall.&rdquo; But that may not last if both unemployment and participation continue to slip.</p>
</div>
<script type="text/javascript" src="chart.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment