Merge branch 'NelsonMinar-master'

This commit is contained in:
Michael Bostock 2011-03-30 09:06:50 -07:00
Родитель 286e3d2b06 33ac608519
Коммит b938171e7a
1 изменённых файлов: 6 добавлений и 12 удалений

Просмотреть файл

@ -20,17 +20,11 @@ compatibility layer. The examples should work on Firefox, Chrome (Chromium),
Safari (WebKit), Opera and IE9.
Note: Chrome has strict permissions for reading files out of the local file
system. To view some of the examples locally, you will need to start a local web
server. One easy way to do that is to install Tornado:
system. Some examples use AJAX which works differently via HTTP instead of local
files. For the best experience, load the D3 examples from your own machine via
HTTP. Any static file web server will work; for example you can run Python's
built-in server:
cd ..
git clone https://github.com/facebook/tornado.git
cd tornado
sudo python setup.py install
cd ../d3
python -m SimpleHTTPServer 8888
We have provided a Tornado script for serving static files:
python examples
Once this is running, go to: <http://0.0.0.0:8888/examples/index.html>
Once this is running, go to: <http://localhost:8888/examples/>