I have an idea, and to be frank I don't have any kind of Start / MWE because I think this is actually quite a difficult problem, at least for me, but it might be an interesting kind of result if anyone is interested in having a go.
I want to change the link colour for inline citations (ie \citep{...}, \citet{...} type macros) based on the frequency of use of the particular reference.
So low frequency citations (ie a citation used only say once) might be rendered black, and the most popular citation (ie like a seminal review that contributes significantly to a literature review, and is cited say X times, X > 1) it would be rendered say in red. Everything else by amount that is proportionate to its relative popularity.
So when compiling the document, the first pass needs to count the respective frequencies for each bibliography key that is in use, and subsequent compilations needs to somehow dynamically allocate a colour, based on its ratio between 1 and the frequency of the most popular reference.
Why might you do this? Well the reader might get a sense of what is an important reference and what is not as they are reading the document based on the 'hotness' of the colour.
