An example model-driven scatter plot using model.js
. Draws from the D3 scatter plot example.
Curran Kelleher 4/17/2014
Updated DOM creation pattern and posted to bl.ocks.org 9/10/2015.
xxxxxxxxxx
<!--
A reactive scatter plot using model.js.
Curran Kelleher 4/17/2014
Updated with new CDN link and posted to bl.ocks.org 9/10/2015.
-->
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="styles.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script>
<script src="https://curran.github.io/model/cdn/model-v0.2.4.js"></script>
<script src="scatterPlot.js"></script>
</head>
<body>
<div id="scatterPlotContainer"></div>
<script src="main.js"></script>
</body>
</html>
Modified http://curran.github.io/model/cdn/model-v0.2.4.js to a secure url
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js
https://curran.github.io/model/cdn/model-v0.2.4.js