oxfordinternetinstitute / InteractiveVis

The InteractiveVis project, funded by JISC from May to September 2012, aims to allow easy creation of interactive visualisations for geospatial and network data using native web technologies (HTML5, CSS3, and SVG) and allow these visualisations to be self-contained so that they may run entirely offline in ebooks and other media. The project will survey existing solutions and build the necessary components to fill in missing features and smooth over incompatibilities in between existing libraries. The project will further provide online hosted wizards to allow for the easy creation of these interactive visualizations. All code is open source and released under the GNU GPL v3 license.
http://blogs.oii.ox.ac.uk/vis
131 stars 51 forks source link

Use AJAX to load data + loading screen #2

Closed computermacgyver closed 12 years ago

computermacgyver commented 12 years ago

This will make it seem to load faster

computermacgyver commented 12 years ago

Note: will this prevent use of visualizations from local disk? It will in a standard browser; not sure about epub3, but surely epub3 should address this? (NB This is already an issue with the network vis which does use ajax)

jthrilly commented 12 years ago

Can you elaborate more on this issue? Which portion of the network vis uses AJAX?

computermacgyver commented 12 years ago

This applies mostly to the choropleth visualizations which currently have the data as a script file. This causes rendering and execution of any JavaScript to be delayed until the data is fully downloaded. I'm transitioning this to a delayed download now.

Networks already use AJAX to download data (through the loadGEXF function). The only thing that could be done there is to have a "Loading..." message in the background that is hidden once the loadGexf function returns with data.

computermacgyver commented 12 years ago

maps use AJAX to load data now