Network representations of relationships in data