Skip to content

Instantly share code, notes, and snippets.

@dukevis
Forked from WillTurman/Readme.md
Last active September 11, 2015 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dukevis/84ed35ed91f857ec3d79 to your computer and use it in GitHub Desktop.
Save dukevis/84ed35ed91f857ec3d79 to your computer and use it in GitHub Desktop.
D3 Interactive Streamgraph

D3 Streamgraph Example

Series Hover

The series hover interactivity uses the technique from lgrammel seen here: http://bl.ocks.org/1963983

Data Tooltip

It isn't necessarily a tooltip, but data is displayed by inverting the x-axis value into a date, and mapping the date to the corresponding data value for the series.

If there is a simpler way to do this, I'd love to see an example, as I couldn't find any other examples of this out there.

Vertical Line Tooltip

I think the vertical line adds a little bit of visual orientation to the streamgraph.

Colors

I left a few alternate color ranges in the code (which are essentially taken straight from colorbrewer), in case orange doesn't sit well.

key value date
AR 0.1 01/08/13
AR 0.15 01/09/13
AR 0.35 01/10/13
AR 0.38 01/11/13
AR 0.22 01/12/13
AR 0.16 01/13/13
AR 0.07 01/14/13
AR 0.02 01/15/13
AR 0.17 01/16/13
AR 0.33 01/17/13
AR 0.4 01/18/13
AR 0.32 01/19/13
AR 0.26 01/20/13
AR 0.35 01/21/13
AR 0.4 01/22/13
AR 0.32 01/23/13
AR 0.26 01/24/13
AR 0.22 01/25/13
AR 0.16 01/26/13
AR 0.22 01/27/13
AR 0.1 01/28/13
DJ 0.35 01/08/13
DJ 0.36 01/09/13
DJ 0.37 01/10/13
DJ 0.22 01/11/13
DJ 0.24 01/12/13
DJ 0.26 01/13/13
DJ 0.34 01/14/13
DJ 0.21 01/15/13
DJ 0.18 01/16/13
DJ 0.45 01/17/13
DJ 0.32 01/18/13
DJ 0.35 01/19/13
DJ 0.3 01/20/13
DJ 0.28 01/21/13
DJ 0.27 01/22/13
DJ 0.26 01/23/13
DJ 0.15 01/24/13
DJ 0.3 01/25/13
DJ 0.35 01/26/13
DJ 0.42 01/27/13
DJ 0.42 01/28/13
MS 0.21 01/08/13
MS 0.25 01/09/13
MS 0.27 01/10/13
MS 0.23 01/11/13
MS 0.24 01/12/13
MS 0.21 01/13/13
MS 0.35 01/14/13
MS 0.39 01/15/13
MS 0.4 01/16/13
MS 0.36 01/17/13
MS 0.33 01/18/13
MS 0.43 01/19/13
MS 0.4 01/20/13
MS 0.34 01/21/13
MS 0.28 01/22/13
MS 0.26 01/23/13
MS 0.37 01/24/13
MS 0.41 01/25/13
MS 0.46 01/26/13
MS 0.47 01/27/13
MS 0.41 01/28/13
RC 0.1 01/08/13
RC 0.15 01/09/13
RC 0.35 01/10/13
RC 0.38 01/11/13
RC 0.22 01/12/13
RC 0.16 01/13/13
RC 0.07 01/14/13
RC 0.02 01/15/13
RC 0.17 01/16/13
RC 0.33 01/17/13
RC 0.4 01/18/13
RC 0.32 01/19/13
RC 0.26 01/20/13
RC 0.35 01/21/13
RC 0.4 01/22/13
RC 0.32 01/23/13
RC 0.26 01/24/13
RC 0.22 01/25/13
RC 0.16 01/26/13
RC 0.22 01/27/13
RC 0.1 01/28/13
CG 0.1 01/08/13
CG 0.15 01/09/13
CG 0.35 01/10/13
CG 0.38 01/11/13
CG 0.22 01/12/13
CG 0.16 01/13/13
CG 0.07 01/14/13
CG 0.02 01/15/13
CG 0.17 01/16/13
CG 0.33 01/17/13
CG 0.4 01/18/13
CG 0.32 01/19/13
CG 0.26 01/20/13
CG 0.35 01/21/13
CG 0.4 01/22/13
CG 0.32 01/23/13
CG 0.26 01/24/13
CG 0.22 01/25/13
CG 0.16 01/26/13
CG 0.22 01/27/13
CG 0.1 01/28/13
RI 0.1 01/08/13
RI 0.15 01/09/13
RI 0.35 01/10/13
RI 0.38 01/11/13
RI 0.22 01/12/13
RI 0.16 01/13/13
RI 0.07 01/14/13
RI 0.02 01/15/13
RI 0.17 01/16/13
RI 0.33 01/17/13
RI 0.4 01/18/13
RI 0.32 01/19/13
RI 0.26 01/20/13
RI 0.35 01/21/13
RI 0.4 01/22/13
RI 0.32 01/23/13
RI 0.26 01/24/13
RI 0.22 01/25/13
RI 0.16 01/26/13
RI 0.22 01/27/13
RI 0.1 01/28/13
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font: 10px sans-serif;
}
.chart {
background: #fff;
}
p {
font: 12px helvetica;
}
.axis path, .axis line {
fill: none;
stroke: #000;
stroke-width: 2px;
shape-rendering: crispEdges;
}
button {
position: absolute;
right: 50px;
top: 10px;
}
</style>
<body>
<script src="http://d3js.org/d3.v2.js"></script>
<div class="chart">
</div>
<script>
//chart("data.csv", "orange");
chart("mental_disability_streamgraph.csv", "orange");
var datearray = [];
var colorrange = [];
function chart(csvpath, color) {
if (color == "blue") {
colorrange = ["#045A8D", "#2B8CBE", "#74A9CF", "#A6BDDB", "#D0D1E6", "#F1EEF6"];
}
else if (color == "pink") {
colorrange = ["#980043", "#DD1C77", "#DF65B0", "#C994C7", "#D4B9DA", "#F1EEF6"];
}
else if (color == "orange") {
colorrange = ["#B30000", "#E34A33", "#FC8D59", "#FDBB84", "#FDD49E", "#FEF0D9"];
}
strokecolor = colorrange[0];
var format = d3.time.format("%m/%d/%y");
var margin = {top: 20, right: 40, bottom: 30, left: 30};
var width = document.body.clientWidth - margin.left - margin.right;
var height = 400 - margin.top - margin.bottom;
var tooltip = d3.select("body")
.append("div")
.attr("class", "remove")
.style("position", "absolute")
.style("z-index", "20")
.style("visibility", "hidden")
.style("top", "30px")
.style("left", "55px");
//var x = d3.time.scale()
var x = d3.scale.linear()
.range([0, width]);
var y = d3.scale.linear()
.range([height-10, 0]);
var z = d3.scale.ordinal()
.range(colorrange);
var xAxis = d3.svg.axis()
.scale(x)
.orient("bottom")
// .ticks(d3.time.weeks);
var yAxis = d3.svg.axis()
.scale(y);
var yAxisr = d3.svg.axis()
.scale(y);
var stack = d3.layout.stack()
.offset("silhouette")
.values(function(d) { return d.values; })
.x(function(d) { return d.year; })
.y(function(d) { return d.count; });
var nest = d3.nest()
.key(function(d) { return d.term; });
var area = d3.svg.area()
.interpolate("cardinal")
.x(function(d) { return x(d.year); })
.y0(function(d) { return y(d.y0); })
.y1(function(d) { return y(d.y0 + d.y); });
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 graph = d3.csv(csvpath, function(data) {
data.forEach(function(d) {
//d.date = format.parse(d.date);
//d.value = +d.value;
d.year = +d.year;
d.count = +d.count;
});
var layers = stack(nest.entries(data));
x.domain(d3.extent(data, function(d) { return d.year; }));
y.domain([0, d3.max(data, function(d) { return d.y0 + d.y; })]);
svg.selectAll(".layer")
.data(layers)
.enter().append("path")
.attr("class", "layer")
.attr("d", function(d) { return area(d.values); })
.style("fill", function(d, i) { return z(i); });
svg.append("g")
.attr("class", "x axis")
.attr("transform", "translate(0," + height + ")")
.call(xAxis);
svg.append("g")
.attr("class", "y axis")
.attr("transform", "translate(" + width + ", 0)")
.call(yAxis.orient("right"));
svg.append("g")
.attr("class", "y axis")
.call(yAxis.orient("left"));
svg.selectAll(".layer")
.attr("opacity", 1)
.on("mouseover", function(d, i) {
svg.selectAll(".layer").transition()
.duration(250)
.attr("opacity", function(d, j) {
return j != i ? 0.6 : 1;
})})
/***
.on("mousemove", function(d, i) {
mousex = d3.mouse(this);
mousex = mousex[0];
var invertedx = x.invert(mousex);
invertedx = invertedx.getMonth() + invertedx.getDate();
var selected = (d.values);
for (var k = 0; k < selected.length; k++) {
datearray[k] = selected[k].date
datearray[k] = datearray[k].getMonth() + datearray[k].getDate();
}
mousedate = datearray.indexOf(invertedx);
pro = d.values[mousedate].value;
***/
d3.select(this)
.classed("hover", true)
.attr("stroke", strokecolor)
.attr("stroke-width", "0.5px"),
tooltip.html( "<p>" + d.term + "<br>" + pro + "</p>" ).style("visibility", "visible");
})
.on("mouseout", function(d, i) {
svg.selectAll(".layer")
.transition()
.duration(250)
.attr("opacity", "1");
d3.select(this)
.classed("hover", false)
.attr("stroke-width", "0px"), tooltip.html( "<p>" + d.term + "<br>" + pro + "</p>" ).style("visibility", "hidden");
})
var vertical = d3.select(".chart")
.append("div")
.attr("class", "remove")
.style("position", "absolute")
.style("z-index", "19")
.style("width", "1px")
.style("height", "380px")
.style("top", "10px")
.style("bottom", "30px")
.style("left", "0px")
.style("background", "#fff");
d3.select(".chart")
.on("mousemove", function(){
mousex = d3.mouse(this);
mousex = mousex[0] + 5;
vertical.style("left", mousex + "px" )})
.on("mouseover", function(){
mousex = d3.mouse(this);
mousex = mousex[0] + 5;
vertical.style("left", mousex + "px")});
//});
}
</script>
term year count
mental retardation 1946 0.0106951871657754
mental retardation 1947 0.00497512437810945
mental retardation 1948 0.0143540669856459
mental retardation 1949 0.0194552529182879
mental retardation 1950 0.0123076923076923
mental retardation 1951 0.0188679245283019
mental retardation 1952 0.025879917184265
mental retardation 1953 0.0188284518828452
mental retardation 1954 0.0417515274949083
mental retardation 1955 0.0238095238095238
mental retardation 1956 0.0267857142857143
mental retardation 1957 0.0296296296296296
mental retardation 1958 0.0523897058823529
mental retardation 1959 0.0579119086460033
mental retardation 1960 0.0435458786936236
mental retardation 1961 0.0541795665634675
mental retardation 1962 0.0651060716898317
mental retardation 1963 0.065252854812398
mental retardation 1964 0.0710987996306556
mental retardation 1965 0.086436170212766
mental retardation 1966 0.0739657333890514
mental retardation 1967 0.0794072948328267
mental retardation 1968 0.0938456307378443
mental retardation 1969 0.0828363154406892
mental retardation 1970 0.0701298701298701
mental retardation 1971 0.0728476821192053
mental retardation 1972 0.0526315789473684
mental retardation 1973 0.055571469492982
mental retardation 1974 0.0541445715880547
mental retardation 1975 0.048293089092423
mental retardation 1976 0.0455878432418022
mental retardation 1977 0.0477290223248653
mental retardation 1978 0.0463462481608632
mental retardation 1979 0.0454852510695789
mental retardation 1980 0.0509623797025372
mental retardation 1981 0.0531789638932496
mental retardation 1982 0.0501382488479263
mental retardation 1983 0.0407878682238104
mental retardation 1984 0.0368967221215615
mental retardation 1985 0.0370822524034793
mental retardation 1986 0.0374346270300028
mental retardation 1987 0.03602383531961
mental retardation 1988 0.0267147117296223
mental retardation 1989 0.0257435053485365
mental retardation 1990 0.0267489711934156
mental retardation 1991 0.0289821736630247
mental retardation 1992 0.0267896843041352
mental retardation 1993 0.0266388949791712
mental retardation 1994 0.0203396725312722
mental retardation 1995 0.0201143557279967
mental retardation 1996 0.0203641141141141
mental retardation 1997 0.0191564147627417
mental retardation 1998 0.0173815288827395
mental retardation 1999 0.0173131890567579
mental retardation 2000 0.0169361636907043
mental retardation 2001 0.0124918294720023
mental retardation 2002 0.0130620101746185
mental retardation 2003 0.0110083663584324
mental retardation 2004 0.0103546017238387
mental retardation 2005 0.00853242320819113
mental retardation 2006 0.00881825428457553
mental retardation 2007 0.00790794582820343
mental retardation 2008 0.00644295302013423
mental retardation 2009 0.00653395478503289
mental retardation 2010 0.00581274652273199
mental retardation 2011 0.00490782858510893
mental retardation 2012 0.0029569188157353
mental retardation 2013 0.00201361201723652
mental retardation 2014 0.00258286698235041
mental deficiency 1945 0.0892857142857143
mental deficiency 1946 0.0855614973262032
mental deficiency 1947 0.0646766169154229
mental deficiency 1948 0.0717703349282297
mental deficiency 1949 0.0583657587548638
mental deficiency 1950 0.0338461538461538
mental deficiency 1951 0.0471698113207547
mental deficiency 1952 0.025879917184265
mental deficiency 1953 0.0407949790794979
mental deficiency 1954 0.0397148676171079
mental deficiency 1955 0.0303030303030303
mental deficiency 1956 0.0317460317460317
mental deficiency 1957 0.0435185185185185
mental deficiency 1958 0.0395220588235294
mental deficiency 1959 0.031810766721044
mental deficiency 1960 0.0256609642301711
mental deficiency 1961 0.0224458204334365
mental deficiency 1962 0.0168251645940015
mental deficiency 1963 0.0163132137030995
mental deficiency 1964 0.0143120960295476
mental deficiency 1965 0.0155141843971631
mental deficiency 1966 0.0175511909736732
mental deficiency 1967 0.00987841945288754
mental deficiency 1968 0.0105406324379463
mental deficiency 1969 0.00563286944996687
mental deficiency 1970 0.00616883116883117
mental deficiency 1971 0.0045153521974714
mental deficiency 1972 0.00354819633353046
mental deficiency 1973 0.00401031223145231
mental deficiency 1974 0.00446553167736534
mental deficiency 1975 0.00333055786844296
mental deficiency 1976 0.00266595574513463
mental deficiency 1977 0.00384911470361817
mental deficiency 1978 0.00465914664051005
mental deficiency 1979 0.00472866471515424
mental deficiency 1980 0.00306211723534558
mental deficiency 1981 0.00392464678178964
mental deficiency 1982 0.00276497695852535
mental deficiency 1983 0.00139445703329266
mental deficiency 1984 0.000988305056827541
mental deficiency 1985 0.00106821303219899
mental deficiency 1986 0.0011010184420589
mental deficiency 1987 0.000947995666305525
mental deficiency 1988 0.000621272365805169
mental deficiency 1989 0.000470201010932174
mental deficiency 1990 0.00114311842706904
mental deficiency 1991 0.000575043128234618
mental deficiency 1992 0.000555802578923966
mental deficiency 1993 0.000548125411094058
mental deficiency 1994 0.000101698362656361
mental deficiency 1995 0.000306309985705534
mental deficiency 1996 0.000750750750750751
mental deficiency 1997 0.000351493848857645
mental deficiency 1998 0.000259425804219993
mental deficiency 1999 0.000244997958350347
mental deficiency 2000 0.000459805349068894
mental deficiency 2002 0.000137494843943352
mental deficiency 2003 0.000188714851858841
mental deficiency 2004 0.000173540811014057
mental deficiency 2005 0.000110095783331498
mental deficiency 2006 9.96412913511359e-05
mental deficiency 2007 0.000142058907093475
mental deficiency 2008 0.000134228187919463
mental deficiency 2009 4.35596985668859e-05
mental deficiency 2010 0.000124558854058543
mental deficiency 2011 3.99010454073897e-05
mental deficiency 2012 7.48587041958304e-05
mental deficiency 2013 0.000201361201723652
mental handicap 1949 0.00389105058365759
mental handicap 1950 0.00615384615384615
mental handicap 1951 0.00117924528301887
mental handicap 1952 0.0041407867494824
mental handicap 1953 0.00523012552301255
mental handicap 1954 0.0122199592668024
mental handicap 1955 0.00216450216450216
mental handicap 1956 0.00297619047619048
mental handicap 1957 0.000925925925925926
mental handicap 1958 0.00367647058823529
mental handicap 1959 0.00407830342577488
mental handicap 1960 0.0015552099533437
mental handicap 1961 0.00464396284829721
mental handicap 1963 0.00108754758020663
mental handicap 1964 0.00415512465373961
mental handicap 1965 0.00265957446808511
mental handicap 1966 0.00208942749686586
mental handicap 1967 0.00531914893617021
mental handicap 1968 0.00374022441346481
mental handicap 1969 0.00596421471172962
mental handicap 1970 0.00584415584415584
mental handicap 1971 0.00872968091511138
mental handicap 1972 0.00768775872264932
mental handicap 1973 0.0097393297049556
mental handicap 1974 0.00893106335473067
mental handicap 1975 0.0122120455176242
mental handicap 1976 0.0111970141295654
mental handicap 1977 0.010520913523223
mental handicap 1978 0.017165277096616
mental handicap 1979 0.0101328529610448
mental handicap 1980 0.010498687664042
mental handicap 1981 0.0131475667189953
mental handicap 1982 0.0114285714285714
mental handicap 1983 0.00976119923304863
mental handicap 1984 0.0112007906440455
mental handicap 1985 0.00839310239584923
mental handicap 1986 0.00990916597853014
mental handicap 1987 0.0120530877573131
mental handicap 1988 0.0108101391650099
mental handicap 1989 0.0106970729987069
mental handicap 1990 0.00948788294467307
mental handicap 1991 0.00943070730304773
mental handicap 1992 0.00466874166296132
mental handicap 1993 0.00416575312431484
mental handicap 1994 0.00325434760500356
mental handicap 1995 0.00224627322850725
mental handicap 1996 0.00187687687687688
mental handicap 1997 0.00123022847100176
mental handicap 1998 0.000432376340366655
mental handicap 1999 0.000979991833401388
mental handicap 2000 0.00053643957391371
mental handicap 2001 7.26269155348972e-05
mental handicap 2002 0.000412484531830056
mental handicap 2003 0.000314524753098069
mental handicap 2004 0.000289234685023428
mental handicap 2006 9.96412913511359e-05
mental handicap 2007 4.73529690311583e-05
mental handicap 2008 4.47427293064877e-05
mental handicap 2009 0.000174238794267544
mental handicap 2010 0.000166078472078057
mental handicap 2011 3.99010454073897e-05
mental handicap 2012 3.74293520979152e-05
other mental term 1945 0.0178571428571429
other mental term 1946 0.0213903743315508
other mental term 1947 0.00995024875621891
other mental term 1948 0.00478468899521531
other mental term 1949 0.0116731517509728
other mental term 1950 0.00615384615384615
other mental term 1951 0.00471698113207547
other mental term 1952 0.0072463768115942
other mental term 1953 0.00313807531380753
other mental term 1954 0.010183299389002
other mental term 1955 0.00974025974025974
other mental term 1956 0.00892857142857143
other mental term 1957 0.00740740740740741
other mental term 1958 0.0101102941176471
other mental term 1959 0.0114192495921697
other mental term 1960 0.0101088646967341
other mental term 1961 0.0162538699690402
other mental term 1962 0.0109729334308705
other mental term 1963 0.00870038064165307
other mental term 1964 0.00369344413665743
other mental term 1965 0.0075354609929078
other mental term 1966 0.00459674049310489
other mental term 1967 0.00379939209726444
other mental term 1968 0.0051003060183611
other mental term 1969 0.0023194168323393
other mental term 1970 0.00324675324675325
other mental term 1971 0.00180614087898856
other mental term 1972 0.00177409816676523
other mental term 1973 0.00257805786307648
other mental term 1974 0.00195367010884733
other mental term 1975 0.0019428254232584
other mental term 1976 0.00186616902159424
other mental term 1977 0.00333589940980241
other mental term 1978 0.00196174595389897
other mental term 1979 0.00180139608196352
other mental term 1980 0.00349956255468067
other mental term 1981 0.0021585557299843
other mental term 1982 0.0023963133640553
other mental term 1983 0.00156876416245424
other mental term 1984 0.00164717509471257
other mental term 1985 0.0022890279261407
other mental term 1986 0.00123864574731627
other mental term 1987 0.00162513542795233
other mental term 1988 0.00099403578528827
other mental term 1989 0.00152815328552956
other mental term 1990 0.00102880658436214
other mental term 1991 0.000345025876940771
other mental term 1992 0.000889284126278346
other mental term 1993 0.000986625739969305
other mental term 1994 0.000915285263907251
other mental term 1995 0.000714723299979579
other mental term 1996 0.00140765765765766
other mental term 1997 0.000790861159929701
other mental term 1998 0.000951227948806641
other mental term 1999 0.000571661902817476
other mental term 2000 0.00122614759751705
other mental term 2001 0.00079889607088387
other mental term 2002 0.000412484531830056
other mental term 2003 0.000880669308674593
other mental term 2004 0.000867704055070284
other mental term 2005 0.00066057469998899
other mental term 2006 0.000597847748106815
other mental term 2007 0.000757647504498532
other mental term 2008 0.000715883668903803
other mental term 2009 0.000871193971337718
other mental term 2010 0.000456715798214656
other mental term 2011 0.000837921953555183
other mental term 2012 0.000636298985664558
other mental term 2013 0.000563811364826225
other mental term 2014 0.000430477830391735
intellectual disability 1953 0.00104602510460251
intellectual disability 1954 0.00203665987780041
intellectual disability 1958 0.000919117647058824
intellectual disability 1960 0.000777604976671851
intellectual disability 1961 0.000773993808049536
intellectual disability 1962 0.000731528895391368
intellectual disability 1964 0.000923361034164358
intellectual disability 1965 0.00177304964539007
intellectual disability 1966 0.00125365649811952
intellectual disability 1967 0.000379939209726444
intellectual disability 1968 0.000680040802448147
intellectual disability 1971 0.000301023479831427
intellectual disability 1972 0.00118273211117682
intellectual disability 1973 0.00114580349470066
intellectual disability 1974 0.000279095729835334
intellectual disability 1975 0.0019428254232584
intellectual disability 1977 0.000513215293815756
intellectual disability 1978 0.000490436488474743
intellectual disability 1979 0.00022517451024544
intellectual disability 1980 0.000218722659667542
intellectual disability 1981 0.000392464678178964
intellectual disability 1982 0.000552995391705069
intellectual disability 1983 0.000348614258323165
intellectual disability 1984 0.00049415252841377
intellectual disability 1985 0.000152601861742713
intellectual disability 1986 0.000688136526286815
intellectual disability 1987 0.000812567713976165
intellectual disability 1988 0.000497017892644135
intellectual disability 1989 0.00035265075819913
intellectual disability 1990 0.000457247370827618
intellectual disability 1991 0.000345025876940771
intellectual disability 1992 0.00133392618941752
intellectual disability 1993 0.00142512606884455
intellectual disability 1994 0.00152547543984542
intellectual disability 1995 0.00112313661425362
intellectual disability 1996 0.00197072072072072
intellectual disability 1997 0.00360281195079086
intellectual disability 1998 0.00484261501210654
intellectual disability 1999 0.00457329522253981
intellectual disability 2000 0.00375507701739597
intellectual disability 2001 0.00501125717190791
intellectual disability 2002 0.00501856180393235
intellectual disability 2003 0.00597597030886331
intellectual disability 2004 0.00630531613351073
intellectual disability 2005 0.0068259385665529
intellectual disability 2006 0.00856915105619769
intellectual disability 2007 0.00932853489913818
intellectual disability 2008 0.0110514541387025
intellectual disability 2009 0.0121095962015943
intellectual disability 2010 0.0122898069337762
intellectual disability 2011 0.0145239805282898
intellectual disability 2012 0.016319197514691
intellectual disability 2013 0.0178406024727156
intellectual disability 2014 0.0142057684029272
learning disability 1945 0.0178571428571429
learning disability 1947 0.00497512437810945
learning disability 1951 0.00117924528301887
learning disability 1953 0.00104602510460251
learning disability 1959 0.00163132137030995
learning disability 1963 0.00108754758020663
learning disability 1964 0.00784856879039704
learning disability 1965 0.00531914893617021
learning disability 1966 0.00417885499373172
learning disability 1967 0.00797872340425532
learning disability 1968 0.0108806528391704
learning disability 1969 0.0102717031146455
learning disability 1970 0.00844155844155844
learning disability 1971 0.00963275135460566
learning disability 1972 0.0121230041395624
learning disability 1973 0.0171870524205099
learning disability 1974 0.0120011163829193
learning disability 1975 0.0133222314737719
learning disability 1976 0.0189282857904559
learning disability 1977 0.0118039517577624
learning disability 1978 0.0220696419813634
learning disability 1979 0.0204908804323351
learning disability 1980 0.0264654418197725
learning disability 1981 0.0241365777080063
learning disability 1982 0.023778801843318
learning disability 1983 0.0251002265992679
learning disability 1984 0.0224015812880909
learning disability 1985 0.0160231954829849
learning disability 1986 0.017065785851913
learning disability 1987 0.0171993499458288
learning disability 1988 0.0151590457256461
learning disability 1989 0.016339485129893
learning disability 1990 0.015546410608139
learning disability 1991 0.0133410005750431
learning disability 1992 0.0141173855046687
learning disability 1993 0.0158956369217277
learning disability 1994 0.0150513576731415
learning disability 1995 0.0176638758423525
learning disability 1996 0.0165165165165165
learning disability 1997 0.0145869947275923
learning disability 1998 0.0136630923555863
learning disability 1999 0.0115149040424663
learning disability 2000 0.0115717679515672
learning disability 2001 0.0108940373302346
learning disability 2002 0.00921215454420459
learning disability 2003 0.00899540793860477
learning disability 2004 0.0088505813617169
learning disability 2005 0.00886271055818562
learning disability 2006 0.00712435233160622
learning disability 2007 0.0080500047352969
learning disability 2008 0.00662192393736018
learning disability 2009 0.00635971599076534
learning disability 2010 0.00560514843263442
learning disability 2011 0.00646396935599713
learning disability 2012 0.00625070180035184
learning disability 2013 0.00547702468688333
learning disability 2014 0.00559621179509255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment