Tree graph of ordered data