text: 
  var trace1 = {
    
      x: ["Countries", 
      "Angola", 
      "Benin", 
      "Burkina Faso", 
      "Burundi", 
      "Cameroon", 
      "Central African Republic", 
      "Chad", 
      "Congo", 
      "Democratic Republic of Congo", 
      "Equatorial Guinea", 
      "Ethiopia", 
      "Gabon", 
      "Gambia", 
      "Ghana", 
      "Guinea", 
      "Guinea-Bissau", 
      "Kenya", 
      "Liberia", 
      "Madagascar", 
      "Malawi", 
      "Mali", 
      "Mozambique", 
      "Niger", 
      "Rwanda", 
      "Senegal", 
      "Sierra Leone", 
      "Somalia", 
      "South Africa", 
      "South Sudan", 
      "Tanzania", 
      "Uganda", 
      "Zambia", 
      "Zimbabwe"], 
      
      close: [5599.765405, 
      5556.584086, 
      27037.24022, 
      4340.11147, 
      18777.72781, 
      2387.07939, 
      4943.721705, 
      1544.768062, 
      58237.54357, 
      573.8982644, 
      658.0710339, 
      437.9149401, 
      176.1434988, 
      12413.27497, 
      10921.95545, 
      264.7123791, 
      2960.361683, 
      1533.405086, 
      3038.996263, 
      7685.964849, 
      23140.36317, 
      13581.80774, 
      26994.59637, 
      1518.404822, 
      1826.831998, 
      6927.042658, 
      1596.610355, 
      7.416077784, 
      2364.90493, 
      11135.22253, 
      17376.73344, 
      3581.067851, 
      687.142597], 
  
      decreasing: {
          line: {
              color: "rgb(245, 13, 13)", 
              width: 2
          }, 
          fillcolor: "rgba(227, 20, 20, 0.5)"
      }, 
      
      high: [6219.097009, 
      6537.795724, 
      33344.00486, 
      6371.475555, 
      20096.6093, 
      3468.861633, 
      4943.721705, 
      1544.768062, 
      85680.54477, 
      715.9087804, 
      1051.468454, 
      487.1539266, 
      230.2777854, 
      17621.67459, 
      12542.48246, 
      311.0590272, 
      3093.276589, 
      2578.091168, 
      3683.928111, 
      9715.920323, 
      23794.53707, 
      18816.37096, 
      31354.792, 
      1597.882003, 
      3206.319917, 
      9356.474167, 
      1683.076674, 
      9.445769695, 
      2633.509246, 
      16813.65837, 
      37359.92207, 
      3861.638228, 
      687.142597], 
      
      increasing: {
          line: {
              color: "rgb(35, 207, 23)"
          }, 
          fillcolor: "rgba(23, 207, 35, 0.5)"
      }, 
      
      line: {color: 'rgba(31,119,180,1)'}, 
      
      low: [5410.356946, 
      5351.66951, 
      27037.24022, 
      4340.11147, 
      18616.37938, 
      2387.07939, 
      4441.218483, 
      1450.889347, 
      58237.54357, 
      573.8982644, 
      658.0710339, 
      335.9487568, 
      176.1434988, 
      12413.27497, 
      10921.95545, 
      264.7123791, 
      1026.023017, 
      1533.405086, 
      2939.391459, 
      7203.701219, 
      19518.55557, 
      13581.80774, 
      26994.59637, 
      1497.268215, 
      1826.831998, 
      6927.042658, 
      567.3852652, 
      7.416077784, 
      2231.669368, 
      10598.05908, 
      17143.80198, 
      2546.738433, 
      525.0908894], 
      
      open: [6219.097009,
      6537.795724, 
      33344.00486, 
      6371.475555, 
      20096.6093, 
      3468.861633, 
      4808.57601, 
      1450.889347, 
      85680.54477, 
      629.2617266, 
      1051.468454, 
      335.9487568, 
      196.3496845, 
      17621.67459, 
      12542.48246, 
      306.0755496, 
      2380.603689, 
      2578.091168, 
      3683.928111, 
      9715.920323, 
      19518.55557, 
      18816.37096, 
      30621.56207, 
      1497.268215, 
      3206.319917, 
      9356.474167, 
      567.3852652, 
      9.445769695, 
      2633.509246, 
      16813.65837, 
      37359.92207, 
      2765.564339, 
      525.0908894], 
      
      type: 'candlestick', 
      xaxis: 'x', 
      yaxis: 'y'
    };
  
    var trace2= {
      x: ["Angola", 
      "Benin", 
      "Burkina Faso", 
      "Burundi", 
      "Cameroon", 
      "Central African Republic", 
      "Chad", 
      "Congo", 
      "Democratic Republic of Congo", 
      "Equatorial Guinea", 
      "Ethiopia", 
      "Gabon", 
      "Gambia", 
      "Ghana", 
      "Guinea", 
      "Guinea-Bissau", 
      "Kenya", 
      "Liberia", 
      "Madagascar", 
      "Malawi", 
      "Mali", 
      "Mozambique", 
      "Niger", 
      "Rwanda", 
      "Senegal", 
      "Sierra Leone", 
      "Somalia", 
      "South Africa", 
      "South Sudan", 
      "Tanzania", 
      "Uganda", 
      "Zambia", 
      "Zimbabwe"], 
  
      y: [25.91992, 
          72.7, 
          61.322195, 
          49.37638, 
          37.913895, 
          36.4, 
          9.8, 
          0, 
          38.1, 
          0, 
          0, 
          38.83403, 
          40.12339, 
          42.803925, 
          26.02417, 
          58.05, 
          55.179255, 
          37.56419, 
          69.467445, 
          54.14549333, 
          71.268975, 
          35.66819, 
          59.76666667, 
          71.83859, 
          49.325405, 
          39.66702, 
          0, 
          0, 
          42.76043, 
          63.59064, 
          50, 
          17.89246
      ], 
      name: 'Percentage of Nets Distributed',
      mode: 'markers',
      xaxis: 'x',
      yaxis: 'y2',
      type: 'scatter'
    };
    
    var data = [trace1, trace2];
    
    var layout = {
      dragmode: 'zoom', 
      title: "Malaria Deaths age 5 and under",
      margin: {
        r: 10, 
        t: 25, 
        b: 40, 
        l: 60
      }, 
      showlegend: true, 
      xaxis: {
        autorange: true, 
        domain: [0, 1], 
        range: [0.5, 33.5], 
        rangeslider: {range: [0.5, 33.5]}, 
        title: 'Country', 
        type: 'category'
      }, 
      yaxis: {
        autorange: true, 
        domain: [0, 1], 
        range: [-4752.202182894667, 90440.16303067865], 
        side: 'left',
        type: 'linear',
        title: 'Deaths'
      },
      yaxis2: {
          autorange: true,
          domain: [0,1],
          side: 'right',
          title: 'Percentage of Nets Distributed',
          tickfont: {color: 'rgb(148, 103, 189)'},
          anchor: 'y2'
      },
    };
  //   var layout = {
  //     xaxis: {domain: [0, 0.45]},
  //     yaxis: {domain: [0, 0.45]},
  //     xaxis4: {
  //       domain: [0.55, 1],
  //       anchor: 'y4'
  //     },
  //     xaxis2: {domain: [0.55, 1]},
  //     yaxis3: {domain: [0.55, 1]},
  //     yaxis4: {
  //       domain: [0.55, 1],
  //       anchor: 'x4'
  //     }
    
    Plotly.plot('candlestick', data, layout);
  