Chapter 4. Data modeling

This chapter covers

  • What is a data model?
  • How to convert tabular data to graph data
  • What about graph databases?
  • What about other key-value stores?

I hope that the first few chapters have convinced you of the value of graphs, but most data isn’t conveniently organized into nodes and links. In this chapter, I’ll show you how to take data in tabular or key-value format and represent it in terms of nodes and links so that it can be visualized. Data is rarely natively organized in a way that’s useful in a graph, so it must be restructured.

Imagine your data as a number of large spreadsheets. In order to visualize this data as a graph, you’d have to pick through the entries in the spreadsheets to determine which entries ...

Get Visualizing Graph Data now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.