Black Lives Matter. Please consider donating to Black Girls Code today.

Updating a table and a graph after upload

I’m trying to extend the first example on this page so after a file is being upload both the table and a graph will be updated with the corresponding data.

Is it possible to create a second callback to the upload component? if not what’s the next best recommended way? (I thought about setting a callback on the datatable component, but I don’t know how I’ll read the data from it since it’ll be already in an html form…)

Appreciate any help and related examples how to do this