get data from NEO4J to D3.js

73 views
Skip to first unread message

Andreas Dernbauer

unread,
Mar 24, 2015, 7:56:39 PM3/24/15
to ne...@googlegroups.com
Hi 

I am new to d3.js, hopefully someone can help me.

I tried since days to get data from NEO4J within the d3.js.

As far as I have learned it must be something with d3.xhr but it doesn't work

I tried the following:
var sql ='{"statements":[{"statement":"MATCH (a)-[:`srcChildOf`]->(b) RETURN a,b",   "resultDataContents":["graph"]}]}';
d3.xhr('http://localhost:7474/db/data/transaction/commit',sql,function(error,data){})

can someone help me.

Thank you regards from Vienna.

Michael Hunger

unread,
Mar 25, 2015, 2:26:38 PM3/25/15
to ne...@googlegroups.com
It's a bit more involved, see here:


--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michael Hunger

unread,
Mar 25, 2015, 2:26:44 PM3/25/15
to ne...@googlegroups.com
Am 24.03.2015 um 17:54 schrieb Andreas Dernbauer <andreas....@gmail.com>:

Andreas Dernbauer

unread,
Mar 26, 2015, 11:39:36 AM3/26/15
to ne...@googlegroups.com
Thank you very much

Andreas Dernbauer

unread,
Mar 26, 2015, 12:44:35 PM3/26/15
to ne...@googlegroups.com
I tried that example but 
r[col] = row.row[index];
returns ncaught TypeError: Cannot read property '0' of undefined

Am Mittwoch, 25. März 2015 19:26:44 UTC+1 schrieb Michael Hunger:
Reply all
Reply to author
Forward
0 new messages