<div class="row">
  <div class="col-md-6">
    {% for k,v in graphs.items %}
    {% if forloop.counter|divisibleby:2 %}
    <div class="indoor-air-info indoor-air-{{ k }}">
      <h3>{{ v }} (<span class="latest"><i class="fa fa-spinner fa-pulse"></i></span>)</h3>
      <div class="graph">
        <svg> </svg>
        <div class="center-content data-error error-message"><i class="fa fa-times"></i> Ei tietoja</div>
        <div class="center-content spinner"><i class="fa fa-spinner fa-pulse"></i></div>
      </div>
    </div>
    {% endif %}
    {% endfor %}
  </div>
  <div class="col-md-6">
    {% for k,v in graphs.items %}
    {% if not forloop.counter|divisibleby:2 %}
    <div class="indoor-air-info indoor-air-{{ k }}">
      <h3>{{ v }} (<span class="latest"><i class="fa fa-spinner fa-pulse"></i></span>)</h3>
      <div class="graph">
        <svg> </svg>
        <div class="center-content data-error error-message"><i class="fa fa-times"></i> Ei tietoja</div>
        <div class="center-content spinner"><i class="fa fa-spinner fa-pulse"></i></div>
      </div>
    </div>
    {% endif %}
    {% endfor %}
  </div>
</div>

<div class="row">
  <div class="col-md-6">
    {% for k,v in graphs.items %}
    {% if forloop.counter|divisibleby:2 %}
    <div class="indoor-air-info indoor-air-{{ k }}">
      <h3>{{ v }} (<span class="latest"><i class="fa fa-spinner fa-pulse"></i></span>)</h3>
      <div class="graph">
        <svg style="height:200px"> </svg>
        <div class="center-content data-error error-message"><i class="fa fa-times"></i> Ei tietoja</div>
        <div class="center-content spinner"><i class="fa fa-spinner fa-pulse"></i></div>
      </div>
    </div>
    {% endif %}
    {% endfor %}
  </div>
  <div class="col-md-6">
    {% for k,v in graphs.items %}
    {% if not forloop.counter|divisibleby:2 %}
    <div class="indoor-air-info indoor-air-{{ k }}">
      <h3>{{ v }} (<span class="latest"><i class="fa fa-spinner fa-pulse"></i></span>)</h3>
      <div class="graph">
        <svg style="height:200px"> </svg>
        <div class="center-content data-error error-message"><i class="fa fa-times"></i> Ei tietoja</div>
        <div class="center-content spinner"><i class="fa fa-spinner fa-pulse"></i></div>
      </div>
    </div>
    {% endif %}
    {% endfor %}
  </div>
</div>

Fix D3 chart generation bug
Fix D3 chart generation bug
