Major migration at the department level..
Thanks to [git-ashish's block] (/git-ashish/8959771), I could moke this fast enough to allow for exploration...
And as always, Mike Bostocks' examples have been a huge resource.
Click on any node to filter from that node's perspective. Click on the white chart background (not a node or a link) to go back up all departments.
xxxxxxxxxx
<meta charset="utf-8">
<style>
.node rect {
cursor: move;
fill-opacity: .9;
shape-rendering: crispEdges;
}
.node text {
pointer-events: none;
text-shadow: 0 1px 0 #fff;
}
.link {
fill: none;
stroke: #000;
stroke-opacity: .1;
}
.link:hover {
stroke-opacity: .5;
}
body {
font-family: 'Helvetica Neue', Sans serif;
}
rect.background {
fill: white;
}
</style>
<body>
<h5>intend --> declare --> degree</h5>
<p id="chart">
<script type="text/javascript" src="https://d3js.org/d3.v3.min.js"></script>
<script src="sankey.js"></script>
<script src="idg_dep.js">
</script>
</body>
</html>
Modified http://d3js.org/d3.v3.min.js to a secure url
https://d3js.org/d3.v3.min.js