Difference between revisions of "Demo embedded Neo4j"

From Earth Science Information Partners (ESIP)
m
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
How do SDGs relate to selected publications?  What you see below is the result of a query to a graph database that is used to experiment with finding connections between information and data.  The query was issued from within an IPython notebook to a Neo4j database.  The results from the query were then sent to the Graphistry server for visualization. 
 +
 
<html>
 
<html>
    <head>
+
<iframe
        <title>DataViz</title>
+
    src="https://hub.graphistry.com/graph/graph.html?dataset=004057dbce984843b3caeaa66320d286&type=arrow&viztoken=3c91494a-05bd-497c-bd2e-a93d18a62267&usertag=99009945-pygraphistry-0.15.0&splashAfter=1611067668&info=true&play=2000&showArrows=True&showLabels=True&showLabelOnHover=True&pointsOfInterestMax=50&pointSize=25"
        <style type="text/css">
+
     style="border: 1px solid black; width: 100%; height: 100%; min-height: 600px"
            #viz {
+
></iframe>
                width: 900px;
 
                height: 700px;
 
            }
 
        </style>
 
        <script src="https://cdn.neo4jlabs.com/neovis.js/v1.5.0/neovis.js"></script>
 
     </head> 
 
    <script>
 
        function draw() {
 
            var config = {
 
                container_id: "viz",
 
                server_url: "neo4j+s://bde80852.databases.neo4j.io",
 
                server_user: "neo4j",
 
                server_password: "Qmr2Yi06ACQxz7RxiJxyM261tYDlwn8Khamnn1Bic5M",
 
                labels: {
 
                    "Bird": {
 
                        caption: true
 
                    }
 
                },
 
                relationships: {
 
                    "HAS_PRIORITY": {
 
                        caption: true
 
                    }
 
                },
 
                initial_cypher: "MATCH (:Bird {name:"Piping Plover"})-[:HAS_PRIORITY]->(:Priority) RETURN *"
 
            }
 
 
 
            var viz = new NeoVis.default(config);
 
            viz.render();
 
        }
 
    </script>
 
    <body onload="draw()">boo boo<p>qweq qweq</p>
 
        <div id="viz"></div>
 
    </body>
 
 
</html>
 
</html>

Latest revision as of 13:54, January 19, 2021

How do SDGs relate to selected publications? What you see below is the result of a query to a graph database that is used to experiment with finding connections between information and data. The query was issued from within an IPython notebook to a Neo4j database. The results from the query were then sent to the Graphistry server for visualization.