automatic generation of data for chord graph