Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (33 sloc) 646 Bytes
<!DOCTYPE html>
<html>
<head>
<title>D3 Template</title>
<script src="d3/d3.js"></script>
<script src="d3/d3.time.js"></script>
<script src="browsers.js"></script>
<style type="text/css">
body {
padding: 50px;
}
svg {
border: 1px solid black;
}
text {
font: 11px sans-serif;
fill: gray;
}
</style>
</head>
<body>
</body>
<script>
/* Vis */
var width = 700
var height = 400
var svg = d3.select('body')
.append('svg')
.attr('width', width)
.attr('height', height)
// Start your awesome code here
</script>
</html>