Skip to content

Commit

Permalink
Update ternary.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaffuri authored Jan 31, 2025
1 parent 7847fac commit 1c81136
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/utils/ternary.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ export const ternaryColorClassifier = (properties, totalFunction, colors, opts =
return fun
}




// OLD VERSIONS

/*
const orderedIndexesDec = arr => [...arr.keys()].sort((a, b) => arr[b] - arr[a]);
const orderedIndexesInc = arr => [...arr.keys()].sort((a, b) => arr[a] - arr[b]);
Expand Down

0 comments on commit 1c81136

Please sign in to comment.