還記得前面有將工作整理成唯一值的陣列new_data 嗎?利用indexOf 就能取得這個值在new_data 中的index 值,再將這個值傳進前面使用scaleOrdinal 做出來的 ...
確定! 回上一頁