Open burkmarr opened 1 year ago
The initial development can be viewed on this Pantheon multidev site: https://burkmar-brc-ukbms.pantheonsite.io/charts1
@colinharrower is looking into adding country-level trend data.
From @DavidRoy: One thing I’d like to see is the ability to have multiple lines on the same chart, e.g. to compare between countries. Perhaps a set of radio buttons would work better than the country selector?
Some questions/comments from James Heywood and responses (italics) from @DavidRoy:
It is a visual aid to assess the short term (10-year) trends.
I don’t think there’s much value in this as the index values are not meaningful. We should like to the dataset for these results though, you are right.
We will give a separate trend summary. We do have confidence intervals around the index values but we don’t think they are realistic for all species. We plan some more work on this.
Possibly although we don’t want to overcomplicate the interface too much.
Good idea, we’ll link to the data source. We will also provide an option to download a high quality version of the plot image.
These are standardised between 0 and 1 so not so meaningful. This is useful for comparing between years. We will look at providing absolute values of the flight periods.
We have short and long-term trends and will develop some visual summaries of these.
Tasks for this page from the comments above:
I've updated the multidev site (https://burkmar-brc-ukbms.pantheonsite.io/charts1) with changes to address the four points above. Instead of replacing the 'switching' behaviour of the country drop-down list with the overlay behaviour (check buttons), I've provided the means to switch between these two behaviours. The drop-down list is replaced with country radio buttons and you can switch between switching behaviour (radio buttons) and overlay behaviour (check-boxes) with a button group.
It proved quite difficult to enable the overlay behaviour for various reasons which required changes to the temporal chart, but it is done. In general the overlay behaviour results in a congested chart, but you can highlight/lowlight the elements from different countries by clicking on their corresponding legend elements. Currently all countries are being shown in black - which we may want to change - but this will be complicated by the fact that we already use red and blue for decreasing and increasing trends.
The download buttons for chart images and data are towards the bottom of the display underneath the charts.
Thanks Rich - that's excellent for demonstrating the potential. One quick comment is whether the colours for the different series could be easier to tell apart.
I also think we need to simplify the charts for comparing time series between countries as it's currently quite cluttered. The plots in https://butterfly-conservation.org/butterflies/the-state-of-britains-butterflies work well.
I suggest we 'park' the multi-species/multi-country charts for now as we are discussing the way we analyse the data
Thanks @DavidRoy - I really like those charts in the butterflies report. We could use similar colours and styles for the interactive page. I agree that it looks rather busy at the moment. Probably we should remove the dots when charts are being superimposed. Anyway, I'm happy to park it for now as you suggest.
Trends and phenology charts are available for each species on the species accounts pages: https://ukbms.org/species. These are being updated to replace the image with a chart generated by the BRC Charts library - see this related issue: https://github.com/BiologicalRecordsCentre/UKBMS/issues/28. But comparing taxa is difficult becaues each species has a completely separate page. This issue covers the creation of a new page to easily switch between and compare taxa.