forked from max-mapper/sheetsee-d3bubble
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
28 lines (23 loc) · 921 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<html>
<head>
<title>Yo, yo, yo!</title>
<script type="text/javascript" src='lib/d3.js'></script>
<script type="text/javascript" src='lib/tabletop.js'></script>
<script type="text/javascript" src='lib/sheetsee.js'></script>
<script type="text/javascript" src='index.js'></script>
<link rel="shortcut icon" href="https://raw.github.com/jllord/sheetsee-cache/master/favico.png"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<div id="stuff"></div>
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function() {
var URL = "0AvFUWxii39gXdFhqZzdTeU5DTWtOdENkQ1Y5bHdqT0E"
Tabletop.init( { key: URL, callback: showInfo, simpleSheet: true } )
})
function showInfo(data) {
Sheetsee.d3BubbleChart(data, { name: 'name', size: 'cuddlability', group: 'kind', div: '#stuff'})
}
</script>
</body>
</html>