4/29/2017

Data Development Products

Week 3 Assignment

Create a web page presentation using R Markdown that features a plot created with Plotly, and publish it on RPubs!

Data

  • The dataset used in the following presentation has been developed by me during my Master degree thesis
  • Source data (GDP p/region, Time and Regions) are all publicly available at: http://istat.it
  • The dataset is composed of three variables: Year, CR (Code Region: 301=North, 302=South and 303=Centrum; referring to the macro-regional composition of Italy), GDP growth rate, computed as follows: ([GDP_rate(t)- GDP_rate(t-1)]/GDP_rate(t-1))

The purpose of the following plot is to give evidence at the path followed by the GDP growth rate by years (1996-2014) and by macro-regions.

Graph

plot_ly(gdp_data, x=~Years, y=~GDP, color = ~cr, type="scatter", mode="lines") %>%
        layout(title="GDP Growth Rate in Italy (1996-2014)")