Open ltartari opened 11 years ago
On it. =)
@ltartari Just fixed the way I was calculating the variations. It's right now. This creates a (small?) problem for you: as we're always considering the changes in percentual (i.e. if SAUDE was 10% of the total budget in 2011, and 5% in 2012, the delta is -50%, even though it might have increased in absolute numbers. Basically, we're showing how bigger/smaller is each treemap's square, when compared to the previous years).
What it means is that, for the first cut (year), everything will be 0%. Because the total budget is always 100% of the total budget :smile: This makes the layout a bit weird:
I was wondering if it didn't made more sense to show this number in the treemap's colors and table, instead of the budget execution. It obviously depends on the focus @andressafioravanti et al. are trying to do, but I felt the change in the budget allocation is very important. Maybe more important than the budget underspending.
Maybe in phase 2.
@vitorbaptista, how about using the absolute value for the entire budget for each year and show that comparison? Is that feasible? What do you think on that? I believe that we should ask @andressafioravanti and the guys from FGV what should we do here.
Looks awful btw :-1:
To give a fair comparison, we need to deflate the values. Unfortunately.
TODO: Change the pointer and/or add a hover effect to show that the bars are clickable.
@ltartari Your turn :smiley: