Giter Club home page Giter Club logo

grand-sigmajs's Introduction

Grand SigmaJS

This project is a demo application for network visualizations using SigmaJS and the GRANDstack (GraphQL, React, Apollo, Neo4j Database) application. SigmaJS can be used to visualize networks with thousands of nodes and relationships. The blog posts that describes this project can be found on Medium: https://towardsdatascience.com/grand-sigmajs-c475ec0bde68

The dataset contains flight routes between airports and is based on the Open flights dataset. The GraphQL endpoint is using the Neo4j Graphql library.

Start the project with:

docker-compose up

Macbook M1 users

Pull arm neo4j image

docker pull neo4j/neo4j-arm64-experimental:4.2.11-arm6

Replace in docker-compose.yml

neo4j:
    image: neo4j/neo4j-arm64-experimental:4.2.11-arm64

Seed data

Run the following command

cat seed_data.cql | docker exec -i neo4j cypher-shell -u neo4j -p letmein

Or if you are on windows

Open Neo4j Browser at localhost:7474. Login using username "neo4j" and password "letmein". Execute the queries stored in the seed_data.cql

grand-sigmajs's People

Contributors

llermaly avatar tomasonjo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jocon-grmtx

grand-sigmajs's Issues

Needed to add ':auto ' in front of USING PERIODIC COMMIT

Hi Tomaz, I was going through your post and when I tried to load the data into neo, I got a
"Neo.ClientError.Statement.SemanticError: Executing queries that use periodic commit in an open transaction is not possible." So I added :auto in front of it to make it work.
'
:auto USING PERIODIC COMMIT LOAD CSV WITH HEADERS FROM "file:///routes.csv" as row MERGE (s:Airport {name: row. source airport}) MERGE (t:Airport {name: row. destination apirport}) WITH s,t,count(*) as weight MERGE (s)-[r:ROUTE]->(t) SET r.weight = weight;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.