Hacker News new | ask | show | jobs
by floatrock 4182 days ago
The Drag-Recalculate feature is neat, but limited and often results in nonsensical operations.

For example, imagine a simple bar chart of fruits that people have:

Alice: 5 apples, 6 oranges

Bob: 10 apples, 2 oranges

From a quick perusal of the examples, you can drag Alice's apples onto Bob's apple stack. Now Bob has 15 apples? wat? It seems you can even drag Alice's apples onto Bob's oranges. Try it yourself: https://ecomfe.github.io/echarts/doc/example/bar4.html#-en (not sure what those funny characters on the left say, but imagine they say Alice, Bob, Charlie, etc., and the colors are apples, oranges, radishes, etc.)

The behavior also only really works if you're working with sum aggregations. If you're talking about averages or mins, you again get non-sensical combinations.

It's a neat behavior, no doubt, but it's very limited in the cases when it's appropriate. Some of their examples show cases where you can use it non-sensically. Unless the visualization is being produced by an expert who knows when NOT to use shiney features, I fear people will get too excited by the shineyness and create completely inappropriate visualizations. Remember when 3D bars were the shit?

5 comments

The default for Drag-Recalculate is "false" so a developer would need to specifically choose to enable this functionality.
The default for Drag-Recalculate is "false" so a developer would need to specifically choose to enable this functionality.
The default for Drag-Recalculate is "false" so a developer would need to specifically choose to enable this functionality.
The default for Drag-Recalculate is "false" so a developer would need to specifically choose to enable this functionality.
The default for Drag-Recalculate is "false" so a developer would need to specifically choose to enable this functionality.