Hello to all! The task seemed trivial, but for me it turned out to be complicated.
Let's report for a certain range of dates. I did not bother much, and I have it in the form of an associative array. The list of array keys is always the same, only their values differ.
Are there any libraries for facilitating the display of such arrays standing next to each other, and at the same time creating a third column in which the difference in indicators is displayed?
The result should be like this: Yellow color indicates values from two arrays, and red - the difference.
I built my bike, but it is not very beautiful, and therefore asked this question.
Also interested in the question of comparing two arrays with a variable set of keys.
Glad to hear any thoughts on the topic:]