Intro to programming with R: create interactive graphics from corona data

The R language allows a quick introduction to data visualization. It doesn’t matter how big the amount of data is or how finely R has to process it. R can best be compared to the Python scripting language.

In this example, we show how to install R and the R-Studio development environment. An interactive tiling diagram should then be created as a graph, which visually shows the proportion of global corona infections by country. In addition, the evolution of corona infections for each country should appear as a curve in another graph. Both projects can be edited as HTML files and quickly integrated into a website. It doesn’t have to be corona numbers – all possible data can be visualized with R.

Countless packages are available for R that make the language easier to use and extend it with out-of-the-box functions. The central collection pool for these packages is called CRAN, which stands for Comprehensive R Archive Network. Around 20,000 packages are gathered there.

  • Access to all heise + content
  • proprietary testing, advice and history: independent, well-founded
  • Read c’t, iX, MIT Technology Review, Mac & i, Make, c’t photography right in your browser
  • register once – read on all devices – can be canceled monthly
  • first month free, then € 12.95 per month
  • Weekly newsletter with personal reading recommendations from the editor-in-chief

Start the month FREE

Start your FREE month now

Already subscribed to heise +?

Sign up and read

Register now and read the articles right away

More information about heise +

Source of the article

Disclaimer: This article is generated from the feed and is not edited by our team.

Source link

About Mariel Baker

Check Also

Greek National Opera announces alternative stage lineup

The Greek National Opera has announced its 2021 lineup for the alternative scene. For the …