Working dictionary to array, import text file, and sample graph.