cssAudio - ActiveCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmloctocatspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              <div class="widget" style="width:630px">
    <div class="header">Temperature Rise (10 Year Mean)</div>
    <div id="chart" class="chart-container" style="padding:5px">
    </div>
</div>
            
          
!
            
              body {
    background-color: #ccc;
    width: 100%;
    font-family: 'Roboto', sans-serif;
    height: 100%;
}

.widget {
    margin: 0 auto;
    width:1000px;
    margin-top:50px;
    background-color:#fff;
    -background-color: #222D3A;
    border-radius: 5px;
    box-shadow: 1px 1px 4px 0px rgba(0,0,0,0.3);

}

.header{
    background-color: #eee;
    height:40px;
    color:#555;
    text-align: center;
    line-height: 40px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    font-weight: 400;
    font-size: 1.5em;
    text-shadow: 1px 1px #fff;
    border-bottom: 1px solid #eaeaea;
}

.chart-container{
    padding:25px;
}

.axis path,
.axis line {
    fill: none;
    stroke: #333;
}

.grid .tick {
    stroke: lightgrey;
    opacity: 0.7;
}

.y-grid .tick{
    stroke-dasharray: 5;
    stroke: lightgrey;
    opacity: 0.7;
}

.grid path {
    stroke-width: 0;
}

.line {
    fill: none;
    stroke: steelblue;
    stroke-width: 1.5px;
    opacity: .3;
}

.line1 {
    fill: none;
    stroke: green;
    stroke-width: 1.5px;
    opacity: .6;
}

.line2 {
    fill: none;
    stroke: red;
    stroke-width: 1.5px;
    opacity: .6;
}

.line3 {
    fill: none;
    stroke: blue;
    stroke-width: 1.5px;
    opacity: .6;
}

.line10 {
    fill: none;
    stroke: #37d643;
    stroke-width: 1px;
    opacity: 0;
}

.line20 {
    fill: none;
    stroke: #fba39a;
    stroke-width: 1px;
    opacity: 0;
}

.line30 {
    fill: none;
    stroke: #779fff;
    stroke-width: 1px;
    opacity: 0;
}

.dot1 {

    fill: green;
    cursor: pointer;
}


.dot2 {

    fill: red;
    cursor: pointer;

}

.dot3 {

    fill: blue;
    cursor: pointer;

}

div.line1_tt {
    position: absolute;
    text-align: center;
    width: 100px;
    height: 38px;
    padding: 5px;
    font: 12px sans-serif;
    background: #abd6b6;
    border: 0px;
    pointer-events: none;
    border-radius: 2px;
    color:#000000;
}

div.line2_tt {
    position: absolute;
    text-align: center;
    width: 100px;
    height: 38px;
    padding: 5px;
    font: 12px sans-serif;
    background: #fbc4ba;
    border: 0px;
    pointer-events: none;
    border-radius: 2px;
    color:#000000;
}
div.line3_tt {
    position: absolute;
    text-align: center;
    width: 100px;
    height: 38px;
    padding: 5px;
    font: 12px sans-serif;
    background: #b2c3ff;
    border: 0px;
    pointer-events: none;
    border-radius: 2px;
    color:#000000;
}

            
          
!
            
              var data = [{
        "Year": 1880,
        "Glob": -19,
        "NHem": -33,
        "SHem": -5,
        "24N-90N": -38,
        "24S-24N": -16,
        "90S-24S": -5,
        "64N-90N": -89,
        "44N-64N": -54,
        "24N-44N": -22,
        "EQU-24N": -26,
        "24S-EQU": -5,
        "44S-24S": -2,
        "64S-44S": -8,
        "90S-64S": 39
    },
    {
        "Year": 1881,
        "Glob": -10,
        "NHem": -18,
        "SHem": -2,
        "24N-90N": -27,
        "24S-24N": -2,
        "90S-24S": -5,
        "64N-90N": -54,
        "44N-64N": -40,
        "24N-44N": -14,
        "EQU-24N": -5,
        "24S-EQU": 2,
        "44S-24S": -6,
        "64S-44S": -3,
        "90S-64S": 37
    },
    {
        "Year": 1882,
        "Glob": -9,
        "NHem": -17,
        "SHem": -1,
        "24N-90N": -21,
        "24S-24N": -10,
        "90S-24S": 4,
        "64N-90N": -125,
        "44N-64N": -20,
        "24N-44N": -3,
        "EQU-24N": -12,
        "24S-EQU": -8,
        "44S-24S": 3,
        "64S-44S": 8,
        "90S-64S": 42
    },
    {
        "Year": 1883,
        "Glob": -19,
        "NHem": -30,
        "SHem": -8,
        "24N-90N": -34,
        "24S-24N": -22,
        "90S-24S": -2,
        "64N-90N": -28,
        "44N-64N": -57,
        "24N-44N": -20,
        "EQU-24N": -25,
        "24S-EQU": -19,
        "44S-24S": -1,
        "64S-44S": 0,
        "90S-64S": 37
    },
    {
        "Year": 1884,
        "Glob": -27,
        "NHem": -42,
        "SHem": -12,
        "24N-90N": -56,
        "24S-24N": -17,
        "90S-24S": -11,
        "64N-90N": -127,
        "44N-64N": -58,
        "24N-44N": -41,
        "EQU-24N": -21,
        "24S-EQU": -14,
        "44S-24S": -15,
        "64S-44S": -5,
        "90S-64S": 40
    },
    {
        "Year": 1885,
        "Glob": -31,
        "NHem": -41,
        "SHem": -21,
        "24N-90N": -61,
        "24S-24N": -17,
        "90S-24S": -20,
        "64N-90N": -119,
        "44N-64N": -70,
        "24N-44N": -43,
        "EQU-24N": -11,
        "24S-EQU": -23,
        "44S-24S": -27,
        "64S-44S": -7,
        "90S-64S": 38
    },
    {
        "Year": 1886,
        "Glob": -30,
        "NHem": -39,
        "SHem": -21,
        "24N-90N": -49,
        "24S-24N": -24,
        "90S-24S": -20,
        "64N-90N": -124,
        "44N-64N": -43,
        "24N-44N": -38,
        "EQU-24N": -24,
        "24S-EQU": -24,
        "44S-24S": -18,
        "64S-44S": -21,
        "90S-64S": 28
    },
    {
        "Year": 1887,
        "Glob": -33,
        "NHem": -37,
        "SHem": -28,
        "24N-90N": -46,
        "24S-24N": -27,
        "90S-24S": -26,
        "64N-90N": -158,
        "44N-64N": -52,
        "24N-44N": -21,
        "EQU-24N": -24,
        "24S-EQU": -31,
        "44S-24S": -24,
        "64S-44S": -29,
        "90S-64S": 21
    },
    {
        "Year": 1888,
        "Glob": -20,
        "NHem": -22,
        "SHem": -17,
        "24N-90N": -42,
        "24S-24N": 7,
        "90S-24S": -33,
        "64N-90N": -141,
        "44N-64N": -43,
        "24N-44N": -22,
        "EQU-24N": 7,
        "24S-EQU": 8,
        "44S-24S": -30,
        "64S-44S": -38,
        "90S-64S": 16
    },
    {
        "Year": 1889,
        "Glob": -11,
        "NHem": -16,
        "SHem": -6,
        "24N-90N": -25,
        "24S-24N": 4,
        "90S-24S": -17,
        "64N-90N": -82,
        "44N-64N": -13,
        "24N-44N": -21,
        "EQU-24N": -3,
        "24S-EQU": 11,
        "44S-24S": -16,
        "64S-44S": -17,
        "90S-64S": 19
    },
    {
        "Year": 1890,
        "Glob": -36,
        "NHem": -40,
        "SHem": -33,
        "24N-90N": -44,
        "24S-24N": -39,
        "90S-24S": -26,
        "64N-90N": -127,
        "44N-64N": -41,
        "24N-44N": -30,
        "EQU-24N": -35,
        "24S-EQU": -43,
        "44S-24S": -16,
        "64S-44S": -40,
        "90S-64S": 4
    },
    {
        "Year": 1891,
        "Glob": -23,
        "NHem": -23,
        "SHem": -24,
        "24N-90N": -33,
        "24S-24N": -16,
        "90S-24S": -23,
        "64N-90N": -118,
        "44N-64N": -17,
        "24N-44N": -27,
        "EQU-24N": -8,
        "24S-EQU": -24,
        "44S-24S": -20,
        "64S-44S": -28,
        "90S-64S": 9
    },
    {
        "Year": 1892,
        "Glob": -26,
        "NHem": -30,
        "SHem": -21,
        "24N-90N": -29,
        "24S-24N": -30,
        "90S-24S": -16,
        "64N-90N": -119,
        "44N-64N": -30,
        "24N-44N": -12,
        "EQU-24N": -32,
        "24S-EQU": -29,
        "44S-24S": -4,
        "64S-44S": -34,
        "90S-64S": 5
    },
    {
        "Year": 1893,
        "Glob": -29,
        "NHem": -39,
        "SHem": -19,
        "24N-90N": -37,
        "24S-24N": -40,
        "90S-24S": -7,
        "64N-90N": -76,
        "44N-64N": -35,
        "24N-44N": -30,
        "EQU-24N": -43,
        "24S-EQU": -36,
        "44S-24S": 3,
        "64S-44S": -22,
        "90S-64S": 2
    },
    {
        "Year": 1894,
        "Glob": -30,
        "NHem": -37,
        "SHem": -23,
        "24N-90N": -26,
        "24S-24N": -38,
        "90S-24S": -22,
        "64N-90N": -121,
        "44N-64N": -17,
        "24N-44N": -9,
        "EQU-24N": -53,
        "24S-EQU": -23,
        "44S-24S": -16,
        "64S-44S": -32,
        "90S-64S": -12
    },
    {
        "Year": 1895,
        "Glob": -21,
        "NHem": -28,
        "SHem": -14,
        "24N-90N": -34,
        "24S-24N": -13,
        "90S-24S": -19,
        "64N-90N": -86,
        "44N-64N": -38,
        "24N-44N": -18,
        "EQU-24N": -19,
        "24S-EQU": -8,
        "44S-24S": -21,
        "64S-44S": -13,
        "90S-64S": -1
    },
    {
        "Year": 1896,
        "Glob": -14,
        "NHem": -20,
        "SHem": -8,
        "24N-90N": -33,
        "24S-24N": 3,
        "90S-24S": -18,
        "64N-90N": -113,
        "44N-64N": -34,
        "24N-44N": -12,
        "EQU-24N": -2,
        "24S-EQU": 8,
        "44S-24S": -15,
        "64S-44S": -22,
        "90S-64S": 3
    },
    {
        "Year": 1897,
        "Glob": -11,
        "NHem": -13,
        "SHem": -9,
        "24N-90N": -30,
        "24S-24N": 16,
        "90S-24S": -28,
        "64N-90N": -73,
        "44N-64N": -31,
        "24N-44N": -19,
        "EQU-24N": 13,
        "24S-EQU": 18,
        "44S-24S": -21,
        "64S-44S": -37,
        "90S-64S": 5
    },
    {
        "Year": 1898,
        "Glob": -28,
        "NHem": -28,
        "SHem": -29,
        "24N-90N": -28,
        "24S-24N": -29,
        "90S-24S": -29,
        "64N-90N": -121,
        "44N-64N": -2,
        "24N-44N": -21,
        "EQU-24N": -28,
        "24S-EQU": -29,
        "44S-24S": -27,
        "64S-44S": -30,
        "90S-64S": 8
    },
    {
        "Year": 1899,
        "Glob": -16,
        "NHem": -17,
        "SHem": -15,
        "24N-90N": -18,
        "24S-24N": -13,
        "90S-24S": -17,
        "64N-90N": -99,
        "44N-64N": 4,
        "24N-44N": -12,
        "EQU-24N": -16,
        "24S-EQU": -10,
        "44S-24S": -13,
        "64S-44S": -23,
        "90S-64S": 13
    },
    {
        "Year": 1900,
        "Glob": -8,
        "NHem": -3,
        "SHem": -13,
        "24N-90N": -12,
        "24S-24N": 15,
        "90S-24S": -34,
        "64N-90N": -50,
        "44N-64N": -3,
        "24N-44N": -8,
        "EQU-24N": 11,
        "24S-EQU": 19,
        "44S-24S": -31,
        "64S-44S": -38,
        "90S-64S": 12
    },
    {
        "Year": 1901,
        "Glob": -13,
        "NHem": -8,
        "SHem": -19,
        "24N-90N": -10,
        "24S-24N": -5,
        "90S-24S": -28,
        "64N-90N": -41,
        "44N-64N": -1,
        "24N-44N": -9,
        "EQU-24N": -3,
        "24S-EQU": -6,
        "44S-24S": -29,
        "64S-44S": -26,
        "90S-64S": 1
    },
    {
        "Year": 1902,
        "Glob": -26,
        "NHem": -29,
        "SHem": -23,
        "24N-90N": -47,
        "24S-24N": -5,
        "90S-24S": -33,
        "64N-90N": -145,
        "44N-64N": -40,
        "24N-44N": -26,
        "EQU-24N": -3,
        "24S-EQU": -8,
        "44S-24S": -27,
        "64S-44S": -42,
        "90S-64S": 6
    },
    {
        "Year": 1903,
        "Glob": -35,
        "NHem": -35,
        "SHem": -35,
        "24N-90N": -39,
        "24S-24N": -32,
        "90S-24S": -33,
        "64N-90N": -37,
        "44N-64N": -30,
        "24N-44N": -46,
        "EQU-24N": -27,
        "24S-EQU": -37,
        "44S-24S": -37,
        "64S-44S": -25,
        "90S-64S": -43
    },
    {
        "Year": 1904,
        "Glob": -44,
        "NHem": -45,
        "SHem": -42,
        "24N-90N": -46,
        "24S-24N": -46,
        "90S-24S": -38,
        "64N-90N": -23,
        "44N-64N": -53,
        "24N-44N": -47,
        "EQU-24N": -45,
        "24S-EQU": -48,
        "44S-24S": -36,
        "64S-44S": -38,
        "90S-64S": -108
    },
    {
        "Year": 1905,
        "Glob": -27,
        "NHem": -28,
        "SHem": -26,
        "24N-90N": -37,
        "24S-24N": -13,
        "90S-24S": -36,
        "64N-90N": -12,
        "44N-64N": -16,
        "24N-44N": -57,
        "EQU-24N": -15,
        "24S-EQU": -11,
        "44S-24S": -37,
        "64S-44S": -34,
        "90S-64S": -20
    },
    {
        "Year": 1906,
        "Glob": -21,
        "NHem": -20,
        "SHem": -23,
        "24N-90N": -19,
        "24S-24N": -22,
        "90S-24S": -24,
        "64N-90N": -29,
        "44N-64N": 4,
        "24N-44N": -32,
        "EQU-24N": -22,
        "24S-EQU": -21,
        "44S-24S": -23,
        "64S-44S": -22,
        "90S-64S": -49
    },
    {
        "Year": 1907,
        "Glob": -39,
        "NHem": -46,
        "SHem": -31,
        "24N-90N": -56,
        "24S-24N": -34,
        "90S-24S": -28,
        "64N-90N": -68,
        "44N-64N": -69,
        "24N-44N": -44,
        "EQU-24N": -33,
        "24S-EQU": -36,
        "44S-24S": -25,
        "64S-44S": -31,
        "90S-64S": -101
    },
    {
        "Year": 1908,
        "Glob": -42,
        "NHem": -45,
        "SHem": -39,
        "24N-90N": -46,
        "24S-24N": -47,
        "90S-24S": -33,
        "64N-90N": -39,
        "44N-64N": -50,
        "24N-44N": -45,
        "EQU-24N": -45,
        "24S-EQU": -49,
        "44S-24S": -31,
        "64S-44S": -38,
        "90S-64S": 82
    },
    {
        "Year": 1909,
        "Glob": -47,
        "NHem": -48,
        "SHem": -46,
        "24N-90N": -47,
        "24S-24N": -53,
        "90S-24S": -40,
        "64N-90N": -72,
        "44N-64N": -49,
        "24N-44N": -40,
        "EQU-24N": -50,
        "24S-EQU": -55,
        "44S-24S": -38,
        "64S-44S": -41,
        "90S-64S": -32
    },
    {
        "Year": 1910,
        "Glob": -42,
        "NHem": -43,
        "SHem": -41,
        "24N-90N": -36,
        "24S-24N": -54,
        "90S-24S": -32,
        "64N-90N": -62,
        "44N-64N": -13,
        "24N-44N": -44,
        "EQU-24N": -54,
        "24S-EQU": -54,
        "44S-24S": -32,
        "64S-44S": -32,
        "90S-64S": 43
    },
    {
        "Year": 1911,
        "Glob": -44,
        "NHem": -41,
        "SHem": -47,
        "24N-90N": -37,
        "24S-24N": -47,
        "90S-24S": -47,
        "64N-90N": -24,
        "44N-64N": -36,
        "24N-44N": -43,
        "EQU-24N": -47,
        "24S-EQU": -47,
        "44S-24S": -43,
        "64S-44S": -53,
        "90S-64S": 31
    },
    {
        "Year": 1912,
        "Glob": -35,
        "NHem": -47,
        "SHem": -22,
        "24N-90N": -57,
        "24S-24N": -22,
        "90S-24S": -30,
        "64N-90N": -60,
        "44N-64N": -70,
        "24N-44N": -48,
        "EQU-24N": -33,
        "24S-EQU": -11,
        "44S-24S": -37,
        "64S-44S": -13,
        "90S-64S": -137
    },
    {
        "Year": 1913,
        "Glob": -33,
        "NHem": -42,
        "SHem": -25,
        "24N-90N": -40,
        "24S-24N": -31,
        "90S-24S": -31,
        "64N-90N": -51,
        "44N-64N": -27,
        "24N-44N": -46,
        "EQU-24N": -45,
        "24S-EQU": -16,
        "44S-24S": -29,
        "64S-44S": -31,
        "90S-64S": -75
    },
    {
        "Year": 1914,
        "Glob": -15,
        "NHem": -18,
        "SHem": -13,
        "24N-90N": -22,
        "24S-24N": -7,
        "90S-24S": -19,
        "64N-90N": -50,
        "44N-64N": -6,
        "24N-44N": -25,
        "EQU-24N": -12,
        "24S-EQU": -2,
        "44S-24S": -17,
        "64S-44S": -23,
        "90S-64S": -16
    },
    {
        "Year": 1915,
        "Glob": -10,
        "NHem": -9,
        "SHem": -11,
        "24N-90N": -16,
        "24S-24N": 1,
        "90S-24S": -18,
        "64N-90N": -50,
        "44N-64N": -6,
        "24N-44N": -13,
        "EQU-24N": 2,
        "24S-EQU": -1,
        "44S-24S": -10,
        "64S-44S": -23,
        "90S-64S": -182
    },
    {
        "Year": 1916,
        "Glob": -33,
        "NHem": -35,
        "SHem": -30,
        "24N-90N": -27,
        "24S-24N": -45,
        "90S-24S": -22,
        "64N-90N": -25,
        "44N-64N": -43,
        "24N-44N": -19,
        "EQU-24N": -47,
        "24S-EQU": -42,
        "44S-24S": -22,
        "64S-44S": -17,
        "90S-64S": -104
    },
    {
        "Year": 1917,
        "Glob": -39,
        "NHem": -52,
        "SHem": -26,
        "24N-90N": -40,
        "24S-24N": -61,
        "90S-24S": -9,
        "64N-90N": -64,
        "44N-64N": -39,
        "24N-44N": -36,
        "EQU-24N": -70,
        "24S-EQU": -51,
        "44S-24S": -17,
        "64S-44S": 4,
        "90S-64S": 37
    },
    {
        "Year": 1918,
        "Glob": -24,
        "NHem": -32,
        "SHem": -17,
        "24N-90N": -32,
        "24S-24N": -27,
        "90S-24S": -14,
        "64N-90N": -108,
        "44N-64N": -13,
        "24N-44N": -23,
        "EQU-24N": -32,
        "24S-EQU": -22,
        "44S-24S": -8,
        "64S-44S": -23,
        "90S-64S": 4
    },
    {
        "Year": 1919,
        "Glob": -21,
        "NHem": -32,
        "SHem": -10,
        "24N-90N": -39,
        "24S-24N": -14,
        "90S-24S": -13,
        "64N-90N": -80,
        "44N-64N": -44,
        "24N-44N": -25,
        "EQU-24N": -23,
        "24S-EQU": -5,
        "44S-24S": -7,
        "64S-44S": -22,
        "90S-64S": 44
    },
    {
        "Year": 1920,
        "Glob": -25,
        "NHem": -26,
        "SHem": -24,
        "24N-90N": -16,
        "24S-24N": -27,
        "90S-24S": -30,
        "64N-90N": 13,
        "44N-64N": -8,
        "24N-44N": -29,
        "EQU-24N": -40,
        "24S-EQU": -14,
        "44S-24S": -20,
        "64S-44S": -44,
        "90S-64S": -69
    },
    {
        "Year": 1921,
        "Glob": -19,
        "NHem": -8,
        "SHem": -31,
        "24N-90N": 7,
        "24S-24N": -27,
        "90S-24S": -35,
        "64N-90N": 5,
        "44N-64N": 24,
        "24N-44N": -4,
        "EQU-24N": -30,
        "24S-EQU": -25,
        "44S-24S": -25,
        "64S-44S": -49,
        "90S-64S": -52
    },
    {
        "Year": 1922,
        "Glob": -26,
        "NHem": -25,
        "SHem": -27,
        "24N-90N": -18,
        "24S-24N": -32,
        "90S-24S": -25,
        "64N-90N": -22,
        "44N-64N": -31,
        "24N-44N": -8,
        "EQU-24N": -35,
        "24S-EQU": -29,
        "44S-24S": -23,
        "64S-44S": -27,
        "90S-64S": -5
    },
    {
        "Year": 1923,
        "Glob": -22,
        "NHem": -18,
        "SHem": -27,
        "24N-90N": -7,
        "24S-24N": -30,
        "90S-24S": -28,
        "64N-90N": 29,
        "44N-64N": -3,
        "24N-44N": -21,
        "EQU-24N": -33,
        "24S-EQU": -27,
        "44S-24S": -26,
        "64S-44S": -28,
        "90S-64S": -34
    },
    {
        "Year": 1924,
        "Glob": -26,
        "NHem": -15,
        "SHem": -38,
        "24N-90N": -7,
        "24S-24N": -25,
        "90S-24S": -47,
        "64N-90N": 38,
        "44N-64N": -15,
        "24N-44N": -16,
        "EQU-24N": -26,
        "24S-EQU": -24,
        "44S-24S": -38,
        "64S-44S": -60,
        "90S-64S": -49
    },
    {
        "Year": 1925,
        "Glob": -19,
        "NHem": -7,
        "SHem": -30,
        "24N-90N": 3,
        "24S-24N": -22,
        "90S-24S": -36,
        "64N-90N": -4,
        "44N-64N": 27,
        "24N-44N": -11,
        "EQU-24N": -22,
        "24S-EQU": -22,
        "44S-24S": -24,
        "64S-44S": -55,
        "90S-64S": -59
    },
    {
        "Year": 1926,
        "Glob": -8,
        "NHem": 4,
        "SHem": -21,
        "24N-90N": 6,
        "24S-24N": 3,
        "90S-24S": -38,
        "64N-90N": 52,
        "44N-64N": 25,
        "24N-44N": -18,
        "EQU-24N": 1,
        "24S-EQU": 5,
        "44S-24S": -32,
        "64S-44S": -46,
        "90S-64S": -39
    },
    {
        "Year": 1927,
        "Glob": -20,
        "NHem": -10,
        "SHem": -29,
        "24N-90N": -9,
        "24S-24N": -14,
        "90S-24S": -37,
        "64N-90N": -4,
        "44N-64N": -12,
        "24N-44N": -9,
        "EQU-24N": -12,
        "24S-EQU": -17,
        "44S-24S": -31,
        "64S-44S": -41,
        "90S-64S": -130
    },
    {
        "Year": 1928,
        "Glob": -20,
        "NHem": -7,
        "SHem": -33,
        "24N-90N": -3,
        "24S-24N": -14,
        "90S-24S": -46,
        "64N-90N": 59,
        "44N-64N": -7,
        "24N-44N": -18,
        "EQU-24N": -14,
        "24S-EQU": -14,
        "44S-24S": -32,
        "64S-44S": -62,
        "90S-64S": -205
    },
    {
        "Year": 1929,
        "Glob": -35,
        "NHem": -30,
        "SHem": -40,
        "24N-90N": -33,
        "24S-24N": -27,
        "90S-24S": -48,
        "64N-90N": 1,
        "44N-64N": -50,
        "24N-44N": -33,
        "EQU-24N": -26,
        "24S-EQU": -29,
        "44S-24S": -41,
        "64S-44S": -57,
        "90S-64S": -97
    },
    {
        "Year": 1930,
        "Glob": -13,
        "NHem": 2,
        "SHem": -29,
        "24N-90N": 10,
        "24S-24N": -12,
        "90S-24S": -38,
        "64N-90N": 48,
        "44N-64N": 16,
        "24N-44N": -5,
        "EQU-24N": -9,
        "24S-EQU": -15,
        "44S-24S": -31,
        "64S-44S": -42,
        "90S-64S": -237
    },
    {
        "Year": 1931,
        "Glob": -9,
        "NHem": 5,
        "SHem": -23,
        "24N-90N": 5,
        "24S-24N": 3,
        "90S-24S": -38,
        "64N-90N": 48,
        "44N-64N": 8,
        "24N-44N": -10,
        "EQU-24N": 6,
        "24S-EQU": 0,
        "44S-24S": -42,
        "64S-44S": -31,
        "90S-64S": -26
    },
    {
        "Year": 1932,
        "Glob": -16,
        "NHem": -3,
        "SHem": -30,
        "24N-90N": 7,
        "24S-24N": -17,
        "90S-24S": -38,
        "64N-90N": 25,
        "44N-64N": 31,
        "24N-44N": -15,
        "EQU-24N": -17,
        "24S-EQU": -18,
        "44S-24S": -25,
        "64S-44S": -57,
        "90S-64S": -81
    },
    {
        "Year": 1933,
        "Glob": -28,
        "NHem": -24,
        "SHem": -31,
        "24N-90N": -21,
        "24S-24N": -29,
        "90S-24S": -33,
        "64N-90N": -29,
        "44N-64N": -38,
        "24N-44N": -8,
        "EQU-24N": -29,
        "24S-EQU": -29,
        "44S-24S": -22,
        "64S-44S": -46,
        "90S-64S": -94
    },
    {
        "Year": 1934,
        "Glob": -13,
        "NHem": 1,
        "SHem": -27,
        "24N-90N": 21,
        "24S-24N": -27,
        "90S-24S": -28,
        "64N-90N": 74,
        "44N-64N": 40,
        "24N-44N": -8,
        "EQU-24N": -28,
        "24S-EQU": -26,
        "44S-24S": -23,
        "64S-44S": -34,
        "90S-64S": -31
    },
    {
        "Year": 1935,
        "Glob": -19,
        "NHem": -8,
        "SHem": -29,
        "24N-90N": 0,
        "24S-24N": -22,
        "90S-24S": -33,
        "64N-90N": 22,
        "44N-64N": 7,
        "24N-44N": -11,
        "EQU-24N": -20,
        "24S-EQU": -24,
        "44S-24S": -29,
        "64S-44S": -34,
        "90S-64S": -139
    },
    {
        "Year": 1936,
        "Glob": -14,
        "NHem": -3,
        "SHem": -26,
        "24N-90N": -1,
        "24S-24N": -14,
        "90S-24S": -27,
        "64N-90N": 24,
        "44N-64N": 18,
        "24N-44N": -21,
        "EQU-24N": -6,
        "24S-EQU": -23,
        "44S-24S": -27,
        "64S-44S": -28,
        "90S-64S": 26
    },
    {
        "Year": 1937,
        "Glob": -1,
        "NHem": 13,
        "SHem": -16,
        "24N-90N": 21,
        "24S-24N": -6,
        "90S-24S": -18,
        "64N-90N": 108,
        "44N-64N": 8,
        "24N-44N": 2,
        "EQU-24N": 2,
        "24S-EQU": -14,
        "44S-24S": -21,
        "64S-44S": -14,
        "90S-64S": 74
    },
    {
        "Year": 1938,
        "Glob": -2,
        "NHem": 14,
        "SHem": -18,
        "24N-90N": 37,
        "24S-24N": -26,
        "90S-24S": -10,
        "64N-90N": 123,
        "44N-64N": 44,
        "24N-44N": 6,
        "EQU-24N": -21,
        "24S-EQU": -31,
        "44S-24S": -9,
        "64S-44S": -8,
        "90S-64S": -72
    },
    {
        "Year": 1939,
        "Glob": -3,
        "NHem": 7,
        "SHem": -13,
        "24N-90N": 24,
        "24S-24N": -17,
        "90S-24S": -9,
        "64N-90N": 51,
        "44N-64N": 33,
        "24N-44N": 10,
        "EQU-24N": -17,
        "24S-EQU": -18,
        "44S-24S": -5,
        "64S-44S": -10,
        "90S-64S": -155
    },
    {
        "Year": 1940,
        "Glob": 8,
        "NHem": 14,
        "SHem": 3,
        "24N-90N": 10,
        "24S-24N": 19,
        "90S-24S": -7,
        "64N-90N": 88,
        "44N-64N": 3,
        "24N-44N": -10,
        "EQU-24N": 19,
        "24S-EQU": 18,
        "44S-24S": 1,
        "64S-44S": -21,
        "90S-64S": 16
    },
    {
        "Year": 1941,
        "Glob": 13,
        "NHem": 16,
        "SHem": 10,
        "24N-90N": -3,
        "24S-24N": 39,
        "90S-24S": -6,
        "64N-90N": -21,
        "44N-64N": -11,
        "24N-44N": 7,
        "EQU-24N": 44,
        "24S-EQU": 34,
        "44S-24S": 2,
        "64S-44S": -18,
        "90S-64S": -26
    },
    {
        "Year": 1942,
        "Glob": 10,
        "NHem": 14,
        "SHem": 6,
        "24N-90N": 14,
        "24S-24N": 15,
        "90S-24S": 1,
        "64N-90N": 36,
        "44N-64N": 0,
        "24N-44N": 15,
        "EQU-24N": 15,
        "24S-EQU": 14,
        "44S-24S": 8,
        "64S-44S": -5,
        "90S-64S": -69
    },
    {
        "Year": 1943,
        "Glob": 14,
        "NHem": 21,
        "SHem": 7,
        "24N-90N": 38,
        "24S-24N": 0,
        "90S-24S": 9,
        "64N-90N": 118,
        "44N-64N": 33,
        "24N-44N": 16,
        "EQU-24N": -4,
        "24S-EQU": 5,
        "44S-24S": 13,
        "64S-44S": 1,
        "90S-64S": 136
    },
    {
        "Year": 1944,
        "Glob": 26,
        "NHem": 28,
        "SHem": 24,
        "24N-90N": 39,
        "24S-24N": 22,
        "90S-24S": 18,
        "64N-90N": 103,
        "44N-64N": 50,
        "24N-44N": 14,
        "EQU-24N": 11,
        "24S-EQU": 32,
        "44S-24S": 32,
        "64S-44S": -1,
        "90S-64S": -49
    },
    {
        "Year": 1945,
        "Glob": 13,
        "NHem": 9,
        "SHem": 16,
        "24N-90N": 10,
        "24S-24N": 22,
        "90S-24S": 3,
        "64N-90N": 45,
        "44N-64N": -1,
        "24N-44N": 6,
        "EQU-24N": 9,
        "24S-EQU": 35,
        "44S-24S": 14,
        "64S-44S": -4,
        "90S-64S": -143
    },
    {
        "Year": 1946,
        "Glob": -3,
        "NHem": 7,
        "SHem": -12,
        "24N-90N": 8,
        "24S-24N": -1,
        "90S-24S": -16,
        "64N-90N": -15,
        "44N-64N": 2,
        "24N-44N": 20,
        "EQU-24N": 5,
        "24S-EQU": -7,
        "44S-24S": -18,
        "64S-44S": -16,
        "90S-64S": 41
    },
    {
        "Year": 1947,
        "Glob": -3,
        "NHem": 5,
        "SHem": -12,
        "24N-90N": 14,
        "24S-24N": -9,
        "90S-24S": -13,
        "64N-90N": 100,
        "44N-64N": -15,
        "24N-44N": 6,
        "EQU-24N": -9,
        "24S-EQU": -9,
        "44S-24S": -16,
        "64S-44S": -11,
        "90S-64S": 28
    },
    {
        "Year": 1948,
        "Glob": -9,
        "NHem": 0,
        "SHem": -18,
        "24N-90N": 14,
        "24S-24N": -18,
        "90S-24S": -20,
        "64N-90N": 8,
        "44N-64N": 36,
        "24N-44N": 2,
        "EQU-24N": -22,
        "24S-EQU": -14,
        "44S-24S": -19,
        "64S-44S": -16,
        "90S-64S": -83
    },
    {
        "Year": 1949,
        "Glob": -9,
        "NHem": -2,
        "SHem": -16,
        "24N-90N": 12,
        "24S-24N": -18,
        "90S-24S": -19,
        "64N-90N": 22,
        "44N-64N": 17,
        "24N-44N": 7,
        "EQU-24N": -22,
        "24S-EQU": -13,
        "44S-24S": -15,
        "64S-44S": -13,
        "90S-64S": -152
    },
    {
        "Year": 1950,
        "Glob": -18,
        "NHem": -16,
        "SHem": -19,
        "24N-90N": -8,
        "24S-24N": -27,
        "90S-24S": -14,
        "64N-90N": 4,
        "44N-64N": -34,
        "24N-44N": 4,
        "EQU-24N": -28,
        "24S-EQU": -26,
        "44S-24S": -5,
        "64S-44S": -21,
        "90S-64S": -68
    },
    {
        "Year": 1951,
        "Glob": -7,
        "NHem": 5,
        "SHem": -18,
        "24N-90N": 7,
        "24S-24N": -6,
        "90S-24S": -22,
        "64N-90N": 1,
        "44N-64N": 3,
        "24N-44N": 12,
        "EQU-24N": 1,
        "24S-EQU": -13,
        "44S-24S": -20,
        "64S-44S": -21,
        "90S-64S": -48
    },
    {
        "Year": 1952,
        "Glob": 1,
        "NHem": 5,
        "SHem": -3,
        "24N-90N": 9,
        "24S-24N": 2,
        "90S-24S": -7,
        "64N-90N": 10,
        "44N-64N": -7,
        "24N-44N": 18,
        "EQU-24N": 0,
        "24S-EQU": 3,
        "44S-24S": -9,
        "64S-44S": 0,
        "90S-64S": -21
    },
    {
        "Year": 1953,
        "Glob": 8,
        "NHem": 22,
        "SHem": -6,
        "24N-90N": 33,
        "24S-24N": 5,
        "90S-24S": -14,
        "64N-90N": 81,
        "44N-64N": 37,
        "24N-44N": 15,
        "EQU-24N": 6,
        "24S-EQU": 5,
        "44S-24S": -10,
        "64S-44S": -12,
        "90S-64S": -93
    },
    {
        "Year": 1954,
        "Glob": -12,
        "NHem": -4,
        "SHem": -20,
        "24N-90N": 3,
        "24S-24N": -21,
        "90S-24S": -14,
        "64N-90N": 58,
        "44N-64N": -20,
        "24N-44N": -1,
        "EQU-24N": -14,
        "24S-EQU": -28,
        "44S-24S": -16,
        "64S-44S": -4,
        "90S-64S": -69
    },
    {
        "Year": 1955,
        "Glob": -14,
        "NHem": -9,
        "SHem": -19,
        "24N-90N": 2,
        "24S-24N": -32,
        "90S-24S": -7,
        "64N-90N": -43,
        "44N-64N": -7,
        "24N-44N": 23,
        "EQU-24N": -27,
        "24S-EQU": -38,
        "44S-24S": -16,
        "64S-44S": -19,
        "90S-64S": 130
    },
    {
        "Year": 1956,
        "Glob": -20,
        "NHem": -25,
        "SHem": -14,
        "24N-90N": -24,
        "24S-24N": -32,
        "90S-24S": 1,
        "64N-90N": -21,
        "44N-64N": -47,
        "24N-44N": -10,
        "EQU-24N": -27,
        "24S-EQU": -37,
        "44S-24S": -11,
        "64S-44S": 0,
        "90S-64S": 59
    },
    {
        "Year": 1957,
        "Glob": 3,
        "NHem": 4,
        "SHem": 3,
        "24N-90N": 2,
        "24S-24N": 7,
        "90S-24S": -1,
        "64N-90N": 3,
        "44N-64N": 22,
        "24N-44N": -11,
        "EQU-24N": 6,
        "24S-EQU": 8,
        "44S-24S": -8,
        "64S-44S": -9,
        "90S-64S": 39
    },
    {
        "Year": 1958,
        "Glob": 6,
        "NHem": 16,
        "SHem": -5,
        "24N-90N": 10,
        "24S-24N": 20,
        "90S-24S": -17,
        "64N-90N": -15,
        "44N-64N": 18,
        "24N-44N": 12,
        "EQU-24N": 26,
        "24S-EQU": 14,
        "44S-24S": -9,
        "64S-44S": -7,
        "90S-64S": -68
    },
    {
        "Year": 1959,
        "Glob": 3,
        "NHem": 11,
        "SHem": -4,
        "24N-90N": 15,
        "24S-24N": 6,
        "90S-24S": -13,
        "64N-90N": 50,
        "44N-64N": 17,
        "24N-44N": 2,
        "EQU-24N": 5,
        "24S-EQU": 8,
        "44S-24S": -4,
        "64S-44S": -15,
        "90S-64S": -36
    },
    {
        "Year": 1960,
        "Glob": -3,
        "NHem": 8,
        "SHem": -13,
        "24N-90N": 9,
        "24S-24N": 1,
        "90S-24S": -20,
        "64N-90N": 35,
        "44N-64N": -6,
        "24N-44N": 10,
        "EQU-24N": 5,
        "24S-EQU": -3,
        "44S-24S": -10,
        "64S-44S": -4,
        "90S-64S": -86
    },
    {
        "Year": 1961,
        "Glob": 5,
        "NHem": 8,
        "SHem": 3,
        "24N-90N": 18,
        "24S-24N": -3,
        "90S-24S": 4,
        "64N-90N": -18,
        "44N-64N": 37,
        "24N-44N": 17,
        "EQU-24N": -7,
        "24S-EQU": 1,
        "44S-24S": 11,
        "64S-44S": -11,
        "90S-64S": 12
    },
    {
        "Year": 1962,
        "Glob": 3,
        "NHem": 14,
        "SHem": -9,
        "24N-90N": 27,
        "24S-24N": -4,
        "90S-24S": -13,
        "64N-90N": 58,
        "44N-64N": 34,
        "24N-44N": 14,
        "EQU-24N": -4,
        "24S-EQU": -5,
        "44S-24S": 6,
        "64S-44S": -9,
        "90S-64S": -85
    },
    {
        "Year": 1963,
        "Glob": 6,
        "NHem": 15,
        "SHem": -3,
        "24N-90N": 16,
        "24S-24N": 11,
        "90S-24S": -12,
        "64N-90N": -5,
        "44N-64N": 32,
        "24N-44N": 13,
        "EQU-24N": 13,
        "24S-EQU": 9,
        "44S-24S": -11,
        "64S-44S": -20,
        "90S-64S": 5
    },
    {
        "Year": 1964,
        "Glob": -20,
        "NHem": -20,
        "SHem": -21,
        "24N-90N": -24,
        "24S-24N": -14,
        "90S-24S": -26,
        "64N-90N": -67,
        "44N-64N": -22,
        "24N-44N": -11,
        "EQU-24N": -14,
        "24S-EQU": -13,
        "44S-24S": -30,
        "64S-44S": -9,
        "90S-64S": -44
    },
    {
        "Year": 1965,
        "Glob": -10,
        "NHem": -13,
        "SHem": -7,
        "24N-90N": -17,
        "24S-24N": -3,
        "90S-24S": -12,
        "64N-90N": -20,
        "44N-64N": -24,
        "24N-44N": -11,
        "EQU-24N": -7,
        "24S-EQU": 1,
        "44S-24S": -21,
        "64S-44S": 0,
        "90S-64S": -6
    },
    {
        "Year": 1966,
        "Glob": -5,
        "NHem": 0,
        "SHem": -10,
        "24N-90N": -12,
        "24S-24N": 8,
        "90S-24S": -16,
        "64N-90N": -67,
        "44N-64N": -16,
        "24N-44N": 8,
        "EQU-24N": 17,
        "24S-EQU": -1,
        "44S-24S": -24,
        "64S-44S": -17,
        "90S-64S": 15
    },
    {
        "Year": 1967,
        "Glob": -2,
        "NHem": 3,
        "SHem": -8,
        "24N-90N": 13,
        "24S-24N": -14,
        "90S-24S": -2,
        "64N-90N": 43,
        "44N-64N": 26,
        "24N-44N": -6,
        "EQU-24N": -11,
        "24S-EQU": -16,
        "44S-24S": -7,
        "64S-44S": -7,
        "90S-64S": 27
    },
    {
        "Year": 1968,
        "Glob": -7,
        "NHem": -5,
        "SHem": -9,
        "24N-90N": -8,
        "24S-24N": -6,
        "90S-24S": -8,
        "64N-90N": -17,
        "44N-64N": -2,
        "24N-44N": -8,
        "EQU-24N": -1,
        "24S-EQU": -10,
        "44S-24S": -12,
        "64S-44S": 2,
        "90S-64S": -14
    },
    {
        "Year": 1969,
        "Glob": 6,
        "NHem": -2,
        "SHem": 14,
        "24N-90N": -26,
        "24S-24N": 32,
        "90S-24S": 4,
        "64N-90N": 5,
        "44N-64N": -59,
        "24N-44N": -15,
        "EQU-24N": 35,
        "24S-EQU": 29,
        "44S-24S": 2,
        "64S-44S": 13,
        "90S-64S": -4
    },
    {
        "Year": 1970,
        "Glob": 3,
        "NHem": -3,
        "SHem": 9,
        "24N-90N": -10,
        "24S-24N": 6,
        "90S-24S": 11,
        "64N-90N": -17,
        "44N-64N": -14,
        "24N-44N": -6,
        "EQU-24N": 6,
        "24S-EQU": 6,
        "44S-24S": 9,
        "64S-44S": 0,
        "90S-64S": 41
    },
    {
        "Year": 1971,
        "Glob": -9,
        "NHem": -15,
        "SHem": -3,
        "24N-90N": -6,
        "24S-24N": -26,
        "90S-24S": 9,
        "64N-90N": -6,
        "44N-64N": 0,
        "24N-44N": -10,
        "EQU-24N": -30,
        "24S-EQU": -22,
        "44S-24S": 4,
        "64S-44S": 11,
        "90S-64S": 25
    },
    {
        "Year": 1972,
        "Glob": 1,
        "NHem": -18,
        "SHem": 20,
        "24N-90N": -35,
        "24S-24N": 16,
        "90S-24S": 16,
        "64N-90N": -45,
        "44N-64N": -49,
        "24N-44N": -22,
        "EQU-24N": 6,
        "24S-EQU": 26,
        "44S-24S": 14,
        "64S-44S": 2,
        "90S-64S": 55
    },
    {
        "Year": 1973,
        "Glob": 15,
        "NHem": 10,
        "SHem": 20,
        "24N-90N": 12,
        "24S-24N": 17,
        "90S-24S": 14,
        "64N-90N": 20,
        "44N-64N": 26,
        "24N-44N": 2,
        "EQU-24N": 6,
        "24S-EQU": 28,
        "44S-24S": 20,
        "64S-44S": -1,
        "90S-64S": 29
    },
    {
        "Year": 1974,
        "Glob": -8,
        "NHem": -19,
        "SHem": 4,
        "24N-90N": -17,
        "24S-24N": -19,
        "90S-24S": 17,
        "64N-90N": -29,
        "44N-64N": -11,
        "24N-44N": -18,
        "EQU-24N": -23,
        "24S-EQU": -16,
        "44S-24S": 21,
        "64S-44S": -6,
        "90S-64S": 58
    },
    {
        "Year": 1975,
        "Glob": -1,
        "NHem": -5,
        "SHem": 2,
        "24N-90N": 12,
        "24S-24N": -22,
        "90S-24S": 12,
        "64N-90N": 22,
        "44N-64N": 35,
        "24N-44N": -6,
        "EQU-24N": -29,
        "24S-EQU": -14,
        "44S-24S": 13,
        "64S-44S": 4,
        "90S-64S": 28
    },
    {
        "Year": 1976,
        "Glob": -11,
        "NHem": -21,
        "SHem": -2,
        "24N-90N": -26,
        "24S-24N": -11,
        "90S-24S": 2,
        "64N-90N": -4,
        "44N-64N": -33,
        "24N-44N": -28,
        "EQU-24N": -14,
        "24S-EQU": -7,
        "44S-24S": 9,
        "64S-44S": 10,
        "90S-64S": -36
    },
    {
        "Year": 1977,
        "Glob": 18,
        "NHem": 12,
        "SHem": 24,
        "24N-90N": 14,
        "24S-24N": 16,
        "90S-24S": 25,
        "64N-90N": 24,
        "44N-64N": 22,
        "24N-44N": 7,
        "EQU-24N": 10,
        "24S-EQU": 23,
        "44S-24S": 23,
        "64S-44S": 37,
        "90S-64S": 13
    },
    {
        "Year": 1978,
        "Glob": 7,
        "NHem": 2,
        "SHem": 12,
        "24N-90N": -3,
        "24S-24N": 9,
        "90S-24S": 15,
        "64N-90N": -8,
        "44N-64N": 0,
        "24N-44N": -3,
        "EQU-24N": 10,
        "24S-EQU": 7,
        "44S-24S": 20,
        "64S-44S": 16,
        "90S-64S": -5
    },
    {
        "Year": 1979,
        "Glob": 17,
        "NHem": 8,
        "SHem": 26,
        "24N-90N": -3,
        "24S-24N": 25,
        "90S-24S": 25,
        "64N-90N": -59,
        "44N-64N": 6,
        "24N-44N": 9,
        "EQU-24N": 24,
        "24S-EQU": 27,
        "44S-24S": 32,
        "64S-44S": 38,
        "90S-64S": -24
    },
    {
        "Year": 1980,
        "Glob": 28,
        "NHem": 16,
        "SHem": 39,
        "24N-90N": 6,
        "24S-24N": 30,
        "90S-24S": 46,
        "64N-90N": 32,
        "44N-64N": 1,
        "24N-44N": 2,
        "EQU-24N": 31,
        "24S-EQU": 28,
        "44S-24S": 35,
        "64S-44S": 37,
        "90S-64S": 104
    },
    {
        "Year": 1981,
        "Glob": 33,
        "NHem": 39,
        "SHem": 27,
        "24N-90N": 50,
        "24S-24N": 19,
        "90S-24S": 35,
        "64N-90N": 129,
        "44N-64N": 77,
        "24N-44N": 9,
        "EQU-24N": 22,
        "24S-EQU": 16,
        "44S-24S": 29,
        "64S-44S": 37,
        "90S-64S": 54
    },
    {
        "Year": 1982,
        "Glob": 13,
        "NHem": 6,
        "SHem": 21,
        "24N-90N": -6,
        "24S-24N": 27,
        "90S-24S": 14,
        "64N-90N": -27,
        "44N-64N": 7,
        "24N-44N": -8,
        "EQU-24N": 24,
        "24S-EQU": 30,
        "44S-24S": 18,
        "64S-44S": 30,
        "90S-64S": -27
    },
    {
        "Year": 1983,
        "Glob": 31,
        "NHem": 26,
        "SHem": 35,
        "24N-90N": 24,
        "24S-24N": 44,
        "90S-24S": 20,
        "64N-90N": 32,
        "44N-64N": 67,
        "24N-44N": -6,
        "EQU-24N": 30,
        "24S-EQU": 58,
        "44S-24S": 20,
        "64S-44S": 29,
        "90S-64S": 4
    },
    {
        "Year": 1984,
        "Glob": 16,
        "NHem": 5,
        "SHem": 27,
        "24N-90N": 3,
        "24S-24N": 19,
        "90S-24S": 25,
        "64N-90N": 39,
        "44N-64N": 7,
        "24N-44N": -12,
        "EQU-24N": 8,
        "24S-EQU": 30,
        "44S-24S": 16,
        "64S-44S": 24,
        "90S-64S": 58
    },
    {
        "Year": 1985,
        "Glob": 12,
        "NHem": 0,
        "SHem": 25,
        "24N-90N": -3,
        "24S-24N": 11,
        "90S-24S": 29,
        "64N-90N": 41,
        "44N-64N": -27,
        "24N-44N": -1,
        "EQU-24N": 4,
        "24S-EQU": 18,
        "44S-24S": 29,
        "64S-44S": 38,
        "90S-64S": 14
    },
    {
        "Year": 1986,
        "Glob": 19,
        "NHem": 14,
        "SHem": 25,
        "24N-90N": 11,
        "24S-24N": 24,
        "90S-24S": 21,
        "64N-90N": 7,
        "44N-64N": 24,
        "24N-44N": 4,
        "EQU-24N": 18,
        "24S-EQU": 30,
        "44S-24S": 26,
        "64S-44S": 26,
        "90S-64S": -3
    },
    {
        "Year": 1987,
        "Glob": 34,
        "NHem": 27,
        "SHem": 41,
        "24N-90N": 7,
        "24S-24N": 60,
        "90S-24S": 27,
        "64N-90N": -26,
        "44N-64N": 13,
        "24N-44N": 14,
        "EQU-24N": 56,
        "24S-EQU": 63,
        "44S-24S": 33,
        "64S-44S": 21,
        "90S-64S": 18
    },
    {
        "Year": 1988,
        "Glob": 40,
        "NHem": 37,
        "SHem": 43,
        "24N-90N": 40,
        "24S-24N": 38,
        "90S-24S": 42,
        "64N-90N": 75,
        "44N-64N": 49,
        "24N-44N": 23,
        "EQU-24N": 32,
        "24S-EQU": 45,
        "44S-24S": 39,
        "64S-44S": 18,
        "90S-64S": 105
    },
    {
        "Year": 1989,
        "Glob": 29,
        "NHem": 29,
        "SHem": 29,
        "24N-90N": 42,
        "24S-24N": 16,
        "90S-24S": 33,
        "64N-90N": 40,
        "44N-64N": 67,
        "24N-44N": 27,
        "EQU-24N": 10,
        "24S-EQU": 22,
        "44S-24S": 37,
        "64S-44S": 25,
        "90S-64S": 34
    },
    {
        "Year": 1990,
        "Glob": 44,
        "NHem": 51,
        "SHem": 36,
        "24N-90N": 61,
        "24S-24N": 38,
        "90S-24S": 35,
        "64N-90N": 60,
        "44N-64N": 83,
        "24N-44N": 48,
        "EQU-24N": 36,
        "24S-EQU": 39,
        "44S-24S": 38,
        "64S-44S": 32,
        "90S-64S": 28
    },
    {
        "Year": 1991,
        "Glob": 42,
        "NHem": 41,
        "SHem": 44,
        "24N-90N": 46,
        "24S-24N": 39,
        "90S-24S": 43,
        "64N-90N": 74,
        "44N-64N": 59,
        "24N-44N": 28,
        "EQU-24N": 34,
        "24S-EQU": 44,
        "44S-24S": 33,
        "64S-44S": 34,
        "90S-64S": 99
    },
    {
        "Year": 1992,
        "Glob": 23,
        "NHem": 12,
        "SHem": 33,
        "24N-90N": 7,
        "24S-24N": 30,
        "90S-24S": 28,
        "64N-90N": -19,
        "44N-64N": 37,
        "24N-44N": -2,
        "EQU-24N": 20,
        "24S-EQU": 41,
        "44S-24S": 21,
        "64S-44S": 33,
        "90S-64S": 42
    },
    {
        "Year": 1993,
        "Glob": 24,
        "NHem": 20,
        "SHem": 29,
        "24N-90N": 13,
        "24S-24N": 34,
        "90S-24S": 23,
        "64N-90N": 63,
        "44N-64N": 23,
        "24N-44N": -8,
        "EQU-24N": 29,
        "24S-EQU": 38,
        "44S-24S": 26,
        "64S-44S": 35,
        "90S-64S": -13
    },
    {
        "Year": 1994,
        "Glob": 32,
        "NHem": 36,
        "SHem": 27,
        "24N-90N": 43,
        "24S-24N": 32,
        "90S-24S": 21,
        "64N-90N": 36,
        "44N-64N": 46,
        "24N-44N": 43,
        "EQU-24N": 27,
        "24S-EQU": 37,
        "44S-24S": 27,
        "64S-44S": 25,
        "90S-64S": -11
    },
    {
        "Year": 1995,
        "Glob": 46,
        "NHem": 58,
        "SHem": 34,
        "24N-90N": 70,
        "24S-24N": 44,
        "90S-24S": 23,
        "64N-90N": 140,
        "44N-64N": 95,
        "24N-44N": 33,
        "EQU-24N": 40,
        "24S-EQU": 49,
        "44S-24S": 32,
        "64S-44S": 16,
        "90S-64S": 8
    },
    {
        "Year": 1996,
        "Glob": 35,
        "NHem": 28,
        "SHem": 42,
        "24N-90N": 26,
        "24S-24N": 34,
        "90S-24S": 45,
        "64N-90N": 79,
        "44N-64N": 19,
        "24N-44N": 13,
        "EQU-24N": 31,
        "24S-EQU": 37,
        "44S-24S": 35,
        "64S-44S": 31,
        "90S-64S": 111
    },
    {
        "Year": 1997,
        "Glob": 48,
        "NHem": 53,
        "SHem": 42,
        "24N-90N": 54,
        "24S-24N": 53,
        "90S-24S": 34,
        "64N-90N": 78,
        "44N-64N": 87,
        "24N-44N": 26,
        "EQU-24N": 52,
        "24S-EQU": 54,
        "44S-24S": 43,
        "64S-44S": 38,
        "90S-64S": -4
    },
    {
        "Year": 1998,
        "Glob": 63,
        "NHem": 73,
        "SHem": 54,
        "24N-90N": 79,
        "24S-24N": 72,
        "90S-24S": 36,
        "64N-90N": 91,
        "44N-64N": 92,
        "24N-44N": 68,
        "EQU-24N": 63,
        "24S-EQU": 81,
        "44S-24S": 43,
        "64S-44S": 32,
        "90S-64S": 21
    },
    {
        "Year": 1999,
        "Glob": 42,
        "NHem": 52,
        "SHem": 32,
        "24N-90N": 73,
        "24S-24N": 26,
        "90S-24S": 32,
        "64N-90N": 47,
        "44N-64N": 82,
        "24N-44N": 77,
        "EQU-24N": 19,
        "24S-EQU": 32,
        "44S-24S": 50,
        "64S-44S": 16,
        "90S-64S": 3
    },
    {
        "Year": 2000,
        "Glob": 42,
        "NHem": 51,
        "SHem": 33,
        "24N-90N": 71,
        "24S-24N": 28,
        "90S-24S": 33,
        "64N-90N": 110,
        "44N-64N": 75,
        "24N-44N": 56,
        "EQU-24N": 22,
        "24S-EQU": 33,
        "44S-24S": 47,
        "64S-44S": 10,
        "90S-64S": 34
    },
    {
        "Year": 2001,
        "Glob": 55,
        "NHem": 64,
        "SHem": 46,
        "24N-90N": 80,
        "24S-24N": 45,
        "90S-24S": 44,
        "64N-90N": 104,
        "44N-64N": 81,
        "24N-44N": 71,
        "EQU-24N": 41,
        "24S-EQU": 48,
        "44S-24S": 58,
        "64S-44S": 20,
        "90S-64S": 49
    },
    {
        "Year": 2002,
        "Glob": 63,
        "NHem": 71,
        "SHem": 56,
        "24N-90N": 81,
        "24S-24N": 61,
        "90S-24S": 48,
        "64N-90N": 126,
        "44N-64N": 96,
        "24N-44N": 58,
        "EQU-24N": 55,
        "24S-EQU": 67,
        "44S-24S": 49,
        "64S-44S": 29,
        "90S-64S": 87
    },
    {
        "Year": 2003,
        "Glob": 62,
        "NHem": 72,
        "SHem": 52,
        "24N-90N": 80,
        "24S-24N": 64,
        "90S-24S": 41,
        "64N-90N": 143,
        "44N-64N": 94,
        "24N-44N": 52,
        "EQU-24N": 59,
        "24S-EQU": 68,
        "44S-24S": 47,
        "64S-44S": 23,
        "90S-64S": 59
    },
    {
        "Year": 2004,
        "Glob": 55,
        "NHem": 67,
        "SHem": 42,
        "24N-90N": 75,
        "24S-24N": 57,
        "90S-24S": 32,
        "64N-90N": 64,
        "44N-64N": 92,
        "24N-44N": 68,
        "EQU-24N": 56,
        "24S-EQU": 58,
        "44S-24S": 50,
        "64S-44S": 21,
        "90S-64S": -6
    },
    {
        "Year": 2005,
        "Glob": 69,
        "NHem": 84,
        "SHem": 55,
        "24N-90N": 99,
        "24S-24N": 65,
        "90S-24S": 45,
        "64N-90N": 200,
        "44N-64N": 116,
        "24N-44N": 56,
        "EQU-24N": 61,
        "24S-EQU": 69,
        "44S-24S": 52,
        "64S-44S": 20,
        "90S-64S": 76
    },
    {
        "Year": 2006,
        "Glob": 64,
        "NHem": 80,
        "SHem": 47,
        "24N-90N": 96,
        "24S-24N": 56,
        "90S-24S": 40,
        "64N-90N": 173,
        "44N-64N": 105,
        "24N-44N": 67,
        "EQU-24N": 55,
        "24S-EQU": 58,
        "44S-24S": 54,
        "64S-44S": 19,
        "90S-64S": 36
    },
    {
        "Year": 2007,
        "Glob": 66,
        "NHem": 83,
        "SHem": 49,
        "24N-90N": 110,
        "24S-24N": 47,
        "90S-24S": 48,
        "64N-90N": 201,
        "44N-64N": 129,
        "24N-44N": 69,
        "EQU-24N": 44,
        "24S-EQU": 50,
        "44S-24S": 54,
        "64S-44S": 6,
        "90S-64S": 117
    },
    {
        "Year": 2008,
        "Glob": 54,
        "NHem": 66,
        "SHem": 42,
        "24N-90N": 88,
        "24S-24N": 39,
        "90S-24S": 40,
        "64N-90N": 144,
        "44N-64N": 102,
        "24N-44N": 61,
        "EQU-24N": 33,
        "24S-EQU": 45,
        "44S-24S": 56,
        "64S-44S": 10,
        "90S-64S": 50
    },
    {
        "Year": 2009,
        "Glob": 65,
        "NHem": 71,
        "SHem": 59,
        "24N-90N": 74,
        "24S-24N": 68,
        "90S-24S": 51,
        "64N-90N": 127,
        "44N-64N": 58,
        "24N-44N": 67,
        "EQU-24N": 66,
        "24S-EQU": 71,
        "44S-24S": 61,
        "64S-44S": 18,
        "90S-64S": 85
    },
    {
        "Year": 2010,
        "Glob": 71,
        "NHem": 88,
        "SHem": 55,
        "24N-90N": 98,
        "24S-24N": 69,
        "90S-24S": 48,
        "64N-90N": 199,
        "44N-64N": 86,
        "24N-44N": 74,
        "EQU-24N": 72,
        "24S-EQU": 66,
        "44S-24S": 66,
        "64S-44S": 23,
        "90S-64S": 38
    },
    {
        "Year": 2011,
        "Glob": 60,
        "NHem": 71,
        "SHem": 50,
        "24N-90N": 93,
        "24S-24N": 37,
        "90S-24S": 58,
        "64N-90N": 211,
        "44N-64N": 90,
        "24N-44N": 57,
        "EQU-24N": 38,
        "24S-EQU": 37,
        "44S-24S": 68,
        "64S-44S": 26,
        "90S-64S": 93
    },
    {
        "Year": 2012,
        "Glob": 63,
        "NHem": 77,
        "SHem": 50,
        "24N-90N": 97,
        "24S-24N": 51,
        "90S-24S": 44,
        "64N-90N": 189,
        "44N-64N": 89,
        "24N-44N": 73,
        "EQU-24N": 46,
        "24S-EQU": 57,
        "44S-24S": 60,
        "64S-44S": 25,
        "90S-64S": 32
    },
    {
        "Year": 2013,
        "Glob": 66,
        "NHem": 76,
        "SHem": 56,
        "24N-90N": 88,
        "24S-24N": 58,
        "90S-24S": 54,
        "64N-90N": 123,
        "44N-64N": 103,
        "24N-44N": 68,
        "EQU-24N": 57,
        "24S-EQU": 58,
        "44S-24S": 64,
        "64S-44S": 30,
        "90S-64S": 67
    },
    {
        "Year": 2014,
        "Glob": 75,
        "NHem": 91,
        "SHem": 58,
        "24N-90N": 106,
        "24S-24N": 67,
        "90S-24S": 54,
        "64N-90N": 185,
        "44N-64N": 113,
        "24N-44N": 76,
        "EQU-24N": 70,
        "24S-EQU": 64,
        "44S-24S": 76,
        "64S-44S": 23,
        "90S-64S": 47
    }];

  var createGradient=function(svg,color1,color2,id){

        var defs = svg.append("defs");

        var gradient=defs.append("linearGradient")
                .attr("id", id)
                .attr("x1", "0%")
                .attr("y1", "100%")
                .attr("x2", "0%")
                .attr("y2", "0%")
                .attr("spreadMethod", "pad");

        gradient.append("svg:stop")
                .attr("offset", "0%")
                .attr("stop-color", color1)
                .attr("stop-opacity", 1);

        gradient.append("svg:stop")
                .attr("offset", "100%")
                .attr("stop-color", color2)
                .attr("stop-opacity", 1);
    };

    function getMean(dataPoint,count) {

        var mean=[];

        for (var i = 0, k = 0; i < data.length; i = i + count, k++) {
            var total = 0;
            for (var j = 0; j < count; ++j) {

                if (data[i + j] != undefined && data[i + j]['dataPoint'] != "NA") {
                    total += data[i + j][dataPoint];
                } else {

                }
            }
            if (data[i] != undefined && data[i][dataPoint] != "NA") {
                if(i<130)
                    mean[k] = {val: total / count, "Year": data[i+count/2].Year};
                else {
                    // This can be generalized even further
                    mean[k] = {val: total / (count/2), "Year": data[i+2].Year};
                }
            }
        }
        return mean;
    }

    function plotLine(data,mean_data,className,cirClass,attr){

        var line = d3.svg.line()
                .interpolate("cardinal")
                .x(function (d) {
                    return x(d.Year);
                })
                .y(function (d) {
                    return y(d.val);
                });

        svg.append('path')
                .datum(mean_data)
                .attr({
                    class: className,
                    d: line
                });
      
       var lineAllData = d3.svg.line()
                .interpolate("cardinal")
                .x(function (d) {
                    return x(d.Year);
                })
                .y(function (d) {
                    return y(d[attr]);
                });

        svg.append('path')
                .datum(data)
                .attr({
                    class: className+"0",
                    d: lineAllData
                });

        svg.selectAll(".dot")
                .data(mean_data)
                .enter().append("circle")
                .attr("class", cirClass)
                .attr("cy", function (d) { return y(d.val); } ) //set y
                .attr("cx", function (d,i) { return x(d.Year); } ) //set x
                .attr("r", 4)
                .on("mouseover", function(d) {
                    
                    d3.select(event.target).attr("r", 7);

                    d3.select('.line1').style("opacity", ".1");
                    d3.select('.line2').style("opacity", ".1");
                    d3.select('.line3').style("opacity", ".1");
                    d3.select('.'+className).style("opacity", "1");
                    d3.select('.'+className).style("stroke-width", "2px");

                    d3.selectAll('.dot1').style("opacity", 0.1);
                    d3.selectAll('.dot2').style("opacity", 0.1);
                    d3.selectAll('.dot3').style("opacity", 0.1);
                    d3.selectAll('.'+cirClass).style("opacity", 1);

                    d3.select('.'+className+"0").style("opacity", 1);

                    
                })
                .on("mouseout", function(d) {

                    $(event.target).attr("r", 4);

                    d3.select('.line1').style("opacity", ".6");
                    d3.select('.line2').style("opacity", ".6");
                    d3.select('.line3').style("opacity", ".6");
                    d3.select('.'+className).style("stroke-width", "1.5px");

                    d3.selectAll('.dot1').style("opacity", 1);
                    d3.selectAll('.dot2').style("opacity", 1);
                    d3.selectAll('.dot3').style("opacity", 1);

                    d3.select('.'+className+"0").style("opacity", 0);

                });

       
    }

    var count=10;

    var Glob=getMean('Glob',count);
    var NHem=getMean('NHem',count);
    var SHem=getMean('SHem',count);

    var margin = {top: 50, right: 35, bottom: 50, left: 50},
            w = 630 - (margin.left + margin.right),
            h = 500 - (margin.top + margin.bottom);

    var x = d3.scale.linear()
            .domain(d3.extent(data, function (d) {
                return d.Year;
            }))
            .rangeRound([0, w]);

    var y = d3.scale.linear()
            .domain([-60,90])
            .range([h, 0]);

    var xAxis = d3.svg.axis()
            .scale(x)
            .orient('bottom')
            .ticks(10);

    var yAxis = d3.svg.axis()
            .scale(y)
            .orient('left')
            .ticks(10)
            .tickFormat(function(d){
                return d+"F";
            });

    var xGrid = d3.svg.axis()
            .scale(x)
            .orient('bottom')
            .ticks(5)
            .tickSize(-h, 0, 0)
            .tickFormat("");

    var yGrid = d3.svg.axis()
            .scale(y)
            .orient('left')
            .ticks(5)
            .tickSize(-w, 0, 0)
            .tickFormat("");

    var svg = d3.select("#chart").append('svg')
            .attr({
                width: w + margin.left + margin.right,
                height: h + margin.top + margin.bottom
            })
            .append('g')
            .attr('transform', 'translate(' + margin.left + ',' + margin.top + ')');

    svg.append('g')
            .attr({
                class: "x axis",
                transform: 'translate(0,' + h + ')'
            })
            .call(xAxis);

    svg.append('g')
            .attr({
                class: "y axis"
            }).call(yAxis);

    svg.append('g')
            .attr({
                class: "grid",
                transform: 'translate(0,' + h + ')'
            })
            .call(xGrid);

    svg.append('g')
            .attr({
                class: "y-grid"
            }).call(yGrid);


    createGradient(svg,'#fff','#CBFFDA','line111');
    createGradient(svg,'#fff','#FFDCD4','line211');
    createGradient(svg,'#fff','#C7D1FF','line311');


    plotLine(data,NHem,"line3",'dot3','NHem');
    plotLine(data,SHem,"line2",'dot2','SHem');
    plotLine(data,Glob,"line1",'dot1','Glob');

            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console