Dark Templar Dark Templar - 1 year ago 120
Javascript Question

Crossfilter Example doesn't work

I have downloaded the CrossFilter example from the following link:

https://github.com/square/crossfilter/tree/gh-pages

and it seems not to work. The page loads, but the charts and the table does not.
Is there some library I have to install first, or anything else?
I have read the wiki and the readme file, but found no instructions on how to use the library or at least make the the example work.

Thank you.

Answer Source

Most browsers enforce strict permissions for reading files out of the local file system via AJAX. So you need to load the example via a local web server e.g. Python's built-in server:

python -m SimpleHTTPServer 8888 &

Once this is running, go to http://localhost:8888/.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download