Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tjmw/js-d3-websockets-experiment
D3/Websockets Experiment
https://github.com/tjmw/js-d3-websockets-experiment
Last synced: about 2 months ago
JSON representation
D3/Websockets Experiment
- Host: GitHub
- URL: https://github.com/tjmw/js-d3-websockets-experiment
- Owner: tjmw
- Created: 2013-01-06T13:43:10.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-01-06T13:43:49.000Z (almost 12 years ago)
- Last Synced: 2023-03-11T06:57:38.312Z (almost 2 years ago)
- Language: JavaScript
- Size: 164 KB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# D3/Websockets Experiment
## Overview
Just a learning experiment cobbled from pieces of
[this excellent websockets tutorial](http://martinsikora.com/nodejs-and-websocket-simple-chat-tutorial) and [these excellent d3 tutorials](https://github.com/mbostock/d3/wiki/Tutorials).## Dependencies
$ npm install websocket
## Setup
Update this line of index.html to wherever the websocket server is running:var wsServer = 'ws://localhost:1337/';
## Running
Websocket server:
$ node server/websocket-server.js
Client:
$ python -m SimpleHTTPServer # or whatever...