Forked from my earlier block, Sequences sunburst, just to show what the same data looks like as an icicle chart.
I created this example in my work at Google, but it is not part of any Google product. It is covered by the Apache license - see the LICENSE file.
forked from kerryrodden's block: Sequences icicle
xxxxxxxxxx
<html>
<head>
<meta charset="utf-8">
<title>Sequences sunburst</title>
<script src="//d3js.org/d3.v3.min.js"></script>
<link rel="stylesheet" type="text/css"
href="https://fonts.googleapis.com/css?family=Open+Sans:400,600">
<link rel="stylesheet" type="text/css" href="sequences.css"/>
</head>
<body>
<div id="main">
<div id="sequence"></div>
<div id="chart"></div>
</div>
<div id="sidebar">
<input type="checkbox" id="togglelegend"> Legend<br/>
<div id="legend" style="visibility: hidden;"></div>
</div>
<script type="text/javascript" src="sequences.js"></script>
</body>
</html>
https://d3js.org/d3.v3.min.js