This file contains hidden or 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></head> | |
<body></body> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script> | |
<script type="text/javascript"> | |
// Define the SVG domain in a viewbox to get automatic resize to | |
// window. This is a good alternative to d3.scale for simple stuff | |
svg=d3.select("body") |
This file contains hidden or 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
<html> | |
<head> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script> | |
<script src="svg_slides.js"></script> | |
<script src="svg_interact.js"></script> | |
</head> | |
<body> | |
<script> | |
// There are probably better ways of loading the SVG, but this is one example I found |
NewerOlder