https://github.com/rbyte/F-GPLOM
Tip revision: 9501d8edbdef453f2ba965b7596a45ea8590decd authored by matmax on 22 February 2014, 17:00:49 UTC
put svg element titles in own <tag>: to work in chrome
put svg element titles in own <tag>: to work in chrome
Tip revision: 9501d8e
stream.php
<!DOCTYPE html>
<meta charset="utf-8">
<title>Streamgraph</title>
<style>
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: auto;
position: relative;
width: 960px;
}
button {
position: absolute;
right: 10px;
top: 10px;
}
</style>
<button onclick="transition()">Update</button>
<script src="js/d3.v3.min.js"></script>
<script src="js/stream.js"></script>