The Sankey Flow

Where exactly did the logic spiral?