{"repo":"thomasp85/gganimate","free":true,"listed":false,"github":"https://github.com/thomasp85/gganimate","clone":"git clone https://github.com/thomasp85/gganimate.git","description":"A Grammar of Animated Graphics","language":"R","stars":1983,"topics":["rstats","ggplot2","animation","transition","data-visualization","ggplot-extension"],"license":null,"category":"analytics","readme_excerpt":"gganimate gganimate extends the grammar of graphics as implemented by ggplot2 to include the description of animation. It does this by providing a range of new grammar classes that can be added to the plot object in order to customise how it should change with time. - transition () defines how the data should be spread out and how it relates to itself across time. - view () defines how the positional scales should change along the animation. - shadow () defines how data from other points in time should be presented in the given point in time. - enter () / exit () defines how new data should appear and how old data should disappear during the course of the animation. - ease aes() defines how different aesthetics should be eased during transitions. An Example All of the above might seem a bit abstract. Let’s try with a contrived example: Here we take a simple boxplot of fuel consumption as a function of cylinders and lets it transition between the number of gears available in the cars. As this is a discrete split ( gear being best described as an ordered factor) we use transition states and provides a relative length to use for transition and state view. As not all combinations of data is present there are states missing a box. We define that when a box appears it should fade into view, whereas at should shrink away when it disappear. Lastly we decide to use a sinusoidal easing for all our aesthetics (here, only y is changing) Installation gganimate is available on CRAN and can","default_branch":null,"files":null,"tree":[],"storefront":"/r/thomasp85","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/thomasp85/gganimate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}