Visualizing Graphs in Apache Zeppelin using Neo4J

Visualizing Graphs in Apache Zeppelin using Neo4J

Apache Zeppelin is a useful tool for doing interactive and fast data analysis. Powered by native Apache Spark and with support for Spark-SQL, it brings some features we love about Jupyter notebooks together with some very cool built in visualisations. For example, you can query a Spark data frame using the Spark-SQL interpreter and then visualize the results in form of pie-charts, line graphs and group the results dynamically. Such abilities make Zeppelin an handy tool for quick demonstrations and story-boarding. We at The Data Team frequently use Apache Zeppelin for data analysis and even for use-case presentations to our clients.

Most data science use cases involve the mapping of the business or the domain context onto the data that’s been collected about the domain. This business context could be a collection of entities in the domain and their relationships. This knowledge of the domain lends itself to representation well when we use a graph to describe the domain. Such graphs are essentially collections objects and the relationships that exist between them. In this context, a graph database comes in handy to implement these entities and their relationships as a series of relationships, and even convert such data about graphs into a visual form.

Recently, we have had an opportunity to present few use-cases to one of our clients, where we used such graph representations of knowledge about a domain. For our implementation, we stored the domain context in form of a graph, thereby connecting entities and their relationships. This graph database is to store the domain only, and not massive amounts of data from social networks or other such systems, and therefore, the data store didn’t need be a scalable graph database. This is therefore very different from deriving relationships from large scale data or do graph analytics, for which GraphX and frameworks like Apache Giraph or Titan are a better fit. Since we didn’t need the scale of such databases, we used Neo4j to store our graph of objects and relationships. Neo4j provides a suite of REST APIs using which you can query and store information as graph.

In Neo4J terminology, the query language is the Cypher Query Language (CQL). Through this implementation, we provided our client with a single interface to view their business context, and then subsequently use the same information to query data sets using tools such as Spark and Hive.

Share it:
Share it:

[Social9_Share class=”s9-widget-wrapper”]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

You Might Be Interested In

Announcing Neo4j Aura, the World’s Most Powerful Graph Database in the Cloud

5 Dec, 2019

Neo4j brings the graph database trusted by over 75% of the Fortune 100 to SMBs Unlike other graph and traditional …

Read more

Big Data Analytics: Effectiveness, Ethics, and Emerging Trends

21 Apr, 2017

Big Data is the force for digital transformation of businesses. Many definitions of the Big Data exist in the literature, …

Read more

How Lakehouses Solve Common Issues With Data Warehouses

9 Feb, 2021

Data analysts, data scientists, and artificial intelligence experts are often frustrated with the fundamental lack of high-quality, reliable and up-to-date …

Read more

Recent Jobs

IT Engineer

Washington D.C., DC, USA

1 May, 2024

Read More

Data Engineer

Washington D.C., DC, USA

1 May, 2024

Read More

Applications Developer

Washington D.C., DC, USA

1 May, 2024

Read More

D365 Business Analyst

South Bend, IN, USA

22 Apr, 2024

Read More

Do You Want to Share Your Story?

Bring your insights on Data, Visualization, Innovation or Business Agility to our community. Let them learn from your experience.

Get the 3 STEPS

To Drive Analytics Adoption
And manage change

3-steps-to-drive-analytics-adoption

Get Access to Event Discounts

Switch your 7wData account from Subscriber to Event Discount Member by clicking the button below and get access to event discounts. Learn & Grow together with us in a more profitable way!

Get Access to Event Discounts

Create a 7wData account and get access to event discounts. Learn & Grow together with us in a more profitable way!

Don't miss Out!

Stay in touch and receive in depth articles, guides, news & commentary of all things data.