We use the D3 JavaScript to initialize data documents, then build an application-specific JavaScript
to process data.
A subset of the application-specific JavaScript
looks like this:
drawLegend();
thousand_sep_format = d3.format(',');
d3.json("http://wafi.iit.cnr.it/webvis/tmp/dbpedia/realOntology.json", function(error, root)
More specifically it correctly processes this JSON
file:
http://wafi.iit.cnr.it/webvis/tmp/dbpedia/realOntology.json
However, when we copy the original JSON
file to another Linux/Ubuntu
server, the copied JSON
file cannot be processed.
Here is the copied JSON file:
http://www.ontomatica.com/public/test/dbpedia_ontology/realOntology.json
What is the difference between JSON
-original and JSON
-copied?
What is the correct process to copy an original JSON
file to a new server?
Our goal is to remove sections of the original JSON
file and then plot
the subset. Therefore we have to put a working subset on a server.