Hacker News new | ask | show | jobs
by clitmouse 3678 days ago
d3 is way overkill for static chart (i skimmed your code and there's no callback for events)

Interactives are what missing from others. Sure you can see the largest circle, wonder what that is, look up csv, ... second largest circle? rinse repeat. wasting time? sure

with d3, you can hover a circle and get its horiz and vert rule to indicate its center's position on x and y axis -- also a small popup box for simple info, like name, id, etc.

you can summon external vis by clicking on said circle and say, a table appears under the chart, showing rows of data relevant to said circle, or ... other charts for the matter.

the code is not terribly long. i did it 3 years ago.

i don't know how to do interactive chart like i did in d3 in matplotlib, granted i haven't touched matplotlib for 13 years (i think i used numarray back then and feed the result to matplotlib because i refused to use matlab)