Demo of a word bubble cloud – hooked up to a timeline slider to change its contents.
For more info, check out the tutorial on vallandingham.me
git clone [email protected]:vlandham/bubble_cloud_timeline.git cd bubble_cloud_timeline
To make things easy on myself, This is the same code that is used to
power the live demo. As a consequence, my GA code is in there.
If you could be a nice person and remove or change that in your version,
I’d appreciate it.
Should be a script block around line 70
.
Because of how D3 handles importing data, this tutorial should be viewed using a local webserver to serve the pages.
You can start up a local webserver by using python’s built-in simple server:
For Python 2.xx
python -m SimpleHTTPServer -p 3000
For Python 3.xx
python -m http.server
This assumes you have Python availible from the command line.
On Windows, you will need to install Python. Here is one tutorial for that
The thin
webserver, a ruby gem, can also be used:
thin start # might have to run 'bundle install' first
Now go to http://0.0.0.0:3000
and you have a basic visualization
Released under the MIT license: