Created
November 11, 2015 15:39
-
-
Save eli-s-goldberg/46f2cc073726097b61b6 to your computer and use it in GitHub Desktop.
ENM_sunburst Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Sequences sunburst</title> | |
<script src="http://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 id="explanation" style="visibility: hidden;"> | |
<span id="percentage"></span><br/> | |
of the available data satisfies this condition sequence | |
</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="sequences.js"></script> | |
<script type="text/javascript"> | |
// Hack to make this example display correctly in an iframe on bl.ocks.org | |
d3.select(self.frameElement).style("height", "1000px"); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment