Skip to content

Instantly share code, notes, and snippets.

@Semant1ka
Semant1ka / index.html
Last active May 14, 2019 17:04 — forked from soxofaan/index.html
d3-plugins sankey cycle support
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://d3js.org/d3.v2.js"></script>
<script type="text/javascript" src="./sankey.js"></script>
<title>Sankey Diagram</title>
<style>
sankeyDraw(
{
"nodes": [
{"name": "Improve CX Flow"},
{"name": "Nevermind Response"},
{"name": "Download Resources"},
{"name": "Our Amazing Customers"},
{"name": "Last Response"},
{"name": "Emoji Response"},
{"name": "Greeting"},