View source: R/utils_timeseries.R
make_timeseries | R Documentation |
Plots a raw time series for a clicked population on the point map using ggplot2
. This function can then be used within the timeseries
module to generate the plot on the dashboard in reaction to a click.
make_timeseries(clicked_population)
clicked_population |
Population selected from a user's click on the point map. |
A plotly of the raw time series of population size through time, with years on the x
axis and population size on the y
axis. Points are coloured following the same palette as the rest of the dashboard, based on taxa groups, and are linked by lines.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.