If you are viewing this on bl.ocks the css is missing because on blockbuilder.org is loaded externally so view the source here.
The goal is to learn about real time charts and port this block to version 5
Originally built with d3 3.5.6
Built with blockbuilder.org
xxxxxxxxxx
<html lang="en">
<head>
<meta charset="utf-8">
<!-- Author: Bo Ericsson -->
<title>Real Time Chart</title>
<link rel=stylesheet type=text/css href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.2/css/bootstrap.min.css" media="all">
<body>
<div style="max-width: 600px; max-height: 400px; padding: 10px">
<div class="well">
<h4>D3 Based Real Time Chart
</div>
<div id="viewDiv"></div>
</div>
<link href="style.css"></link>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.js"></script>
<script src="realTimeChart.js"></script>
<script src="d3Setup.js"></script>
</body>
</html>
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.js