Skip to content
  1. Examples

CSV

This example shows how to import a CSV file into an Ogma visualisation. The dataset contains edges network data for character relationships within George R. R. Martin's A Storm of Swords, the third novel in his series A Song of Ice and Fire (also known as the HBO television adaptation Game of Thrones). This data was originally compiled by A. Beveridge and J. Shan, "Network of Thrones," Math Horizons Magazine , Vol. 23, No. 4 (2016), pp. 18-22..

The Papa Parse library is used to correctly parse the CSV file.