I want to make a interactive bar graph with clickable icons/buttons and instead of “bars” i want it to have corresponding icons that gather around the data that’s clicked on if that makes sense.
Check out some of the examples (File > Examples… ) that come with Processing:
A lot of ideas come to mind already!
You can move the buttons around and these can correspond to data points.
Try it yourself first and then ask for help if needed.
Grafica is also an excellent library for real-time interactive bar graphs. You will have to add the collision detection interactivity yourself – it only handles the display – but it has a lot of display features for bar graphs.