Derived from the chord diagram example bundled with the d3.js library - https://github.com/mbostock/d3/wiki/Gallery
xxxxxxxxxx
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Companion Planting Chord Diagram</title>
<script src="https://d3js.org/d3.v2.js"></script>
<style>
body {
font: 11px sans-serif;
}
path.chord {
fill-opacity: .3;
stroke-opacity: .4;
}
</style>
</head>
<body>
<script type="text/javascript" src="companionchord.js"></script>
</body>
</html>
Modified http://d3js.org/d3.v2.js to a secure url
https://d3js.org/d3.v2.js