GDB in SV 4th_Meetup_12212016

27
(4 th _meetup)-[:IS_ABOUT]->(visualization_tools)

Transcript of GDB in SV 4th_Meetup_12212016

Page 1: GDB in SV 4th_Meetup_12212016

(4th_meetup)-[:IS_ABOUT]->(visualization_tools)

Page 2: GDB in SV 4th_Meetup_12212016

Agenda

1. Graph Visualization Tools

2. A tip of Importing Dataset

3. Map Layers

4. Node Layouts

5. Query Patterns

6. Icons

7. Publishing subgraphs

8. Editing Data (property, edge)

9. Geospatial distance formula

Page 3: GDB in SV 4th_Meetup_12212016

Graph Visualization Tools

Page 4: GDB in SV 4th_Meetup_12212016
Page 5: GDB in SV 4th_Meetup_12212016
Page 6: GDB in SV 4th_Meetup_12212016
Page 7: GDB in SV 4th_Meetup_12212016

Graph Visualization Use Cases

1. Information Technology

- Network topology

- Risk Assessment

2. Intelligence & Government

3. Finance and Insurance

- Fraud detection

4. Social Media analysis

5. Bioscience / Pharmaceuticals

- Knowledge discovery

Page 8: GDB in SV 4th_Meetup_12212016
Page 9: GDB in SV 4th_Meetup_12212016
Page 10: GDB in SV 4th_Meetup_12212016
Page 11: GDB in SV 4th_Meetup_12212016
Page 12: GDB in SV 4th_Meetup_12212016
Page 13: GDB in SV 4th_Meetup_12212016
Page 14: GDB in SV 4th_Meetup_12212016
Page 15: GDB in SV 4th_Meetup_12212016
Page 16: GDB in SV 4th_Meetup_12212016
Page 17: GDB in SV 4th_Meetup_12212016
Page 18: GDB in SV 4th_Meetup_12212016
Page 19: GDB in SV 4th_Meetup_12212016
Page 20: GDB in SV 4th_Meetup_12212016
Page 21: GDB in SV 4th_Meetup_12212016

Graph Data Visualization

Page 22: GDB in SV 4th_Meetup_12212016
Page 23: GDB in SV 4th_Meetup_12212016
Page 24: GDB in SV 4th_Meetup_12212016

A tip of Data Importing (Windows Local File)

1. Start Neo4j

2. Create a new project folder

3. Open the http://localhost:7474/browser/

4. Create the ‘import’ folder under the new project folder Documents\Neo4j\New_Folder\import

5. Copy the CSV file at the ‘import’ folder

6. Import dataset using LOAD CSVLOAD CSV with Headers from "file:///city.csv" AS cityCREATE (ct:city {name: city.city, state: city.state, city_state: city.city_state, lat: city.lat, lng: city.lng, population: city.pop});

Page 25: GDB in SV 4th_Meetup_12212016
Page 26: GDB in SV 4th_Meetup_12212016

Spherical distance using the haversin function

CREATE (a:City { lat: 52.5, lon: 13.4 }),(b:City { lat: 37.5, lon: -122.3 })

RETURN 2 * 6371 * asin(sqrt(haversin(radians(b.lat - a.lat))+ cos(radians(b.lat))* cos(radians(a.lat))* haversin(radians(b.lon - a.lon)))) AS dist

Page 27: GDB in SV 4th_Meetup_12212016

Thank you!