[FIX] analyze: write_graph_csv: fix missing data variable