OCHA-DAP / hdx-signals

HDX Signals
https://un-ocha-centre-for-humanitarian.gitbook.io/hdx-signals/
GNU General Public License v3.0
6 stars 0 forks source link

Improve plot for JRC agricultural hotspots #147

Closed caldwellst closed 5 months ago

caldwellst commented 5 months ago

JRC agricultural hotspots could use with some visual improvements to plots. See an example campaign here.

And an image here:

  1. Distance between title and plot. Might be worth adjusting our margins between plot and title/subtitle. In other plots, we use an empty subtitle = "" to create distance, so if we adjust anything in theme_signals.R we should make sure the plots for other indicators aren't similarly affected. Probably best practices to get rid of subtitle = "" in all instances anyway, and just use margins officially.
  2. Same issue of distance between the captions and the plot.
  3. Sizing of the plot when saved out. The plot sizing works well when we have full 5 years of historical data, but for these earlier campaigns the sizing doesn't look great. So, in case we get new countries added and monitored to ASAP, the height of the plot should be dynamic. Maybe we just specify width = x and allow height to adjust itself.
caldwellst commented 5 months ago

Closed by #151