This is an attempt to create a timeline object that can be implemented quickly and easily on a webpage.
The jsObject manages the canvas that the timeline is rendered on.
This is the style component.
The bl.ocks.org is located here.
xxxxxxxxxx
<head>
<meta charset="utf-8">
<script src="//d3js.org/d3.v3.min.js" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="style/svg.css">
</head>
<body>
</body>
<script src="js/canvas.js" charset="utf-8"></script>
<script src="js/objTimeline.js" charset="utf-8"></script>
<script>
var newLine = new objTimeline( "2014-01-01", "2015-12-31" );
</script>
</html>
https://d3js.org/d3.v3.min.js