Skip to content

Instantly share code, notes, and snippets.

@GerHobbelt
Created September 11, 2012 10:25
Show Gist options
  • Save GerHobbelt/3697451 to your computer and use it in GitHub Desktop.
Save GerHobbelt/3697451 to your computer and use it in GitHub Desktop.
d3.js: axis new and vanilla comparison side-by-side
<html>
<head>
<style>
iframe.side-by-side
{
float: left;
border: 2px #aaa solid;
width: 1040px;
height: 15000px;
margin: 0;
padding: 0;
}
div.side-by-side
{
width: 3132px;
}
</style>
</head>
<body>
<div class="side-by-side">
<iframe class="side-by-side" src="http://bl.ocks.org/3605035" style="padding-top: 0;"></iframe>
<iframe class="side-by-side" src="http://bl.ocks.org/3605124" style="padding-top: 48px;"></iframe>
<iframe class="side-by-side" src="http://bl.ocks.org/3605069" style="padding-top: 96px;"></iframe>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment