Skip to content

Commit

Permalink
D3.js London May
Browse files Browse the repository at this point in the history
First cut of streaming graph library and presentation for the D3.js
London User Group
  • Loading branch information
herebebeasties committed May 8, 2013
0 parents commit 2f5669c
Show file tree
Hide file tree
Showing 24 changed files with 1,723 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[submodule "d3"]
path = d3
url = https://github.com/mbostock/d3.git
[submodule "reveal.js"]
path = reveal.js
url = https://github.com/hakimel/reveal.js.git
[submodule "tornado"]
path = tornado
url = https://github.com/facebook/tornado.git
39 changes: 39 additions & 0 deletions 2013-05-09.RealtimeTimeseriesVisualisation/demo-black.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
svg {
font-size: 16px;
}

svg > .error {
background: #fee0;
}

.line {
fill: none;
stroke: #fff;
stroke-width: 1.5px;
}

.line.error {
stroke: #f88;
stroke-width: 3px;
}

.grid .tick {
stroke: #ccc;
stroke-width: 1px;
stroke-opacity: 0.25;
shape-rendering: crispEdges;
}

.grid path {
stroke-width: 0;
}

.axis path, .axis line {
fill: none;
stroke: #888;
shape-rendering: crispEdges;
}

.axis text {
fill: #ccc;
}
43 changes: 43 additions & 0 deletions 2013-05-09.RealtimeTimeseriesVisualisation/demo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
svg {
font-size: 9px;
}

svg > .error {
background: #fee0;
}

div.slides svg {
zoom: 1 !important;
}

.line {
fill: none;
stroke: #000;
stroke-width: 1.5px;
}

.line.error {
stroke: #f00;
stroke-width: 3px;
}

.grid .tick {
stroke: #ccc;
stroke-width: 1px;
stroke-opacity: 0.25;
shape-rendering: crispEdges;
}

.grid path {
stroke-width: 0;
}

.axis path, .axis line {
fill: none;
stroke: #888;
shape-rendering: crispEdges;
}

.axis text {
fill: #888;
}
16 changes: 16 additions & 0 deletions 2013-05-09.RealtimeTimeseriesVisualisation/demo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<meta charset="utf-8">
<html>
<head>
<script src="../d3/d3.js" charset="utf-8"></script>
<script src="websocket.js"></script>
<script src="streaming_graph.js"></script>
<link rel="stylesheet" href="demo.css" />
</head>
<body>
<svg height="120" width="98%" id="g1"/>
<script>
var graph = new StreamingGraph('#g1', 60000, 750, 20);
</script>
</body>
</html>
39 changes: 39 additions & 0 deletions 2013-05-09.RealtimeTimeseriesVisualisation/html5-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2f5669c

Please sign in to comment.