#UN Immersive Data Visualization Examples
This project was created as a few examples for a workshop in immersive data visualization at the UN on October 30th, 2015.These examples hope to explore a series of projects that combine THREE.js, D3, and Virtual Reality.
This was inspired from a tutorial I found on Storybench. Source code here.
I adapted the tutorial to use the webvr-boilerplate.
I also added a Chrome experiments style reticule, adapted from a small reticle THREE.js library I found on github.
#Examples
basic.html
: a basic THREE.js sketch with no VR or D3
basic-with-vr.html
: a simple THREE.js sketch configured for use with VR
bar-chart-vr.html
: a interactive bar chart example, combining THREE.js, D3, and VR
map-vr.html
: an interactive map example, combining THREE.js, D3, and VR
#Installation and Setup
-
Clone this repository, or if you don't have a github account, download a zip of this repository.
-
Install node and npm by downloading the installer on Nodejs.org.
-
Install localtunnel by running
npm install -g localtunnel
. -
Install http-server by running
npm install -g http-server
. -
Open a terminal and
cd
to the project directory. -
In the project directory, run
http-server
. -
In a new terminal window, run
lt --port 8080
. -
On your phone, navigate to the url that localtunnel spits out. The url is a little annoying to type, so I recommend using a url shortener. If the name of your html file is not index.html, you will need to navigate to the url/name-of-html-page.html.