-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First cut of streaming graph library and presentation for the D3.js London User Group
- Loading branch information
0 parents
commit 2f5669c
Showing
24 changed files
with
1,723 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
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 |
This file contains 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
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; | ||
} |
This file contains 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
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; | ||
} |
This file contains 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
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> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.