Updated version of d3-sankey-path library, with standalone library to append arrows.
Built with blockbuilder.org
forked from tomshanley's block: Sankey with circular links
forked from tomshanley's block: Sankey - slack question
xxxxxxxxxx
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Roboto:100i" rel="stylesheet">
<script src="d3-sankey-circular.js"></script>
<script src="https://d3js.org/d3.v4.min.js"></script>
<title>Sankey - slack question</title>
<style>
body {
font-family: 'Roboto', sans-serif;
}
rect {
shape-rendering: crispEdges;
}
text {
font-size: 12px;
font-family: monospace;
}
.link {
fill: none;
}
</style>
</head>
<body>
<h1>Sankey with circular links</h1>
<div id="chart"></div>
<!--
<script src="https://unpkg.com/d3-sankey-circular@0.28.0"></script>
-->
<script src="d3-path-arrows.js"></script>
<script src="index.js"></script>
</body>
</html>
https://d3js.org/d3.v4.min.js
https://unpkg.com/d3-sankey-circular@0.28.0