adaptation from this original /kerryrodden/7090426
forked from danharr's block: Path to Conversion
xxxxxxxxxx
<html>
<head>
<meta charset="utf-8">
<title>Sequences sunburst</title>
<script src="https://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="style.css"/>
</head>
<body>
<div id="main">
<div id="sequence"></div>
<div id="chart">
<div id="explanation" style="visibility: hidden;">
<span id="percentage"></span><br/>
of registrations begin with this sequence of exposures
</div>
</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="viz.js"></script>
<script type="text/javascript">
// Hack for bl.ocks.org
d3.select(self.frameElement).style("height", "700px");
</script>
</body>
</html>
Modified http://d3js.org/d3.v3.min.js to a secure url
https://d3js.org/d3.v3.min.js