jdfekete / reorder.js

JavaScript library to reorder matrices
BSD 3-Clause "New" or "Revised" License
127 stars 29 forks source link

Fix d3.parcoords reordering function #23

Closed jdfekete closed 3 years ago

jdfekete commented 3 years ago

The current implementation works on https://github.com/syntagmatic/parallel-coordinates, which is outdated. Fortunately, a new implementation is available at https://github.com/BigFatDog/parcoords-es; it seems modern enough. The current function reorder.parcoords needs to be improved to handle all the data types handled by the library, and to do the right operations, ignoring the hidden attributes and the non-numeric ones as well.

curran commented 3 years ago

Oh wow this would be a fun project!

jdfekete commented 3 years ago

Fixed parcoords in pcp.js to work with d3.parcoords, the old version. Updated (simplified) examples/cars/index.html to use it. Still need to test with the new version of parcoords-es. The function parcoords-es() is in pcp.js but it is not tested yet.

jdfekete commented 3 years ago

reorder.parcoords_es now works with the parcoord-es package.