Set up the basic reactivity for reading data and updating plot