Unroll datasets into lookup objects

When runtime performance is more important than load time.

Your data source, an array of transactions:

Remember, we're not normalising a SQL database. Duplication is OK, if it gives faster data access.

This will create the following lookup objects:

Quickly look up relationships:

List all countries:

List all people:

More complex lookup objects can be created when the dataset is more complex.

Example: Circle Viz