Skip to content

A data visualization implemented in Javascript using Raphael SVG and jQuery

Notifications You must be signed in to change notification settings

brunoro/wordtree.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wordtree.js

An implementation of wordtree in Raphaël SVG + jQuery + python. The testapp is written on python webapp framework and is already deployed on wordtreejs.appspot.com

How-to

  1. Make an input file with a phrase on each line.

  2. Generate the input JSON tree with jsontree.py by command-line:

    $ python jsontree.py

    or

    Generate the input JSON tree with the jsonFromTree function on jsontree.py, passing a list of strings and a word as parameter

  3. Make a html div named "wordtree"

  4. Run jsonFromTree with the json tree as the first arg and the root word as the second.

TODO

  • make the options and parameters be read from CSS
  • fix the SVG canvas size
  • fix the textsize
  • test it!

About

A data visualization implemented in Javascript using Raphael SVG and jQuery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published