Dark Templar Dark Templar - 3 years ago 199
Javascript Question

Crossfilter Example doesn't work

I have downloaded the CrossFilter example from the following link:


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