let arr=[["8461690.0", "2021-1"],["8425903.0", "2021-10"],["8458725.0", "2021-11"],["8438781.0", "2021-12"],["8351260.0", "2021-2"],["8491796.0", "2021-3"],["8517884.0", "2021-4"],["8519660.0", "2021-5"],["8505487.0", "2021-6"],["8438154.0", "2021-7"],["8374489.0", "2021-8"],["8453695.0", "2021-9"]],把arr转换成这样的数据格式:arr=[{type:2021-1和2021-2,value:841693.0,data:2021-1},{type:2021-1和2021-2,value:8351260.0,data:2021-2},{type:2021-2和2021-3,value:8351260.0,data:2021-2},{type:2021-2和2021-3,value:8491796.0,data:2021-3},]