This is the second project assignment for the Developping Data Products course in Coursera's Data Science specialization track. The purpose of this project is to create an interactive plot with plotly R package. I will create an interactive plot with the data of the artisanal companies in France (numbers, sales revenue, net added value) per department. Original Data is downloaded from data.gouv.fr.
Checking for required packages and install them if necessary, then load them
if (!require("plotly")) {
install.packages("plotly")}
## Loading required package: plotly
## Loading required package: ggplot2
## ## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2': ## ## last_plot
## The following object is masked from 'package:stats': ## ## filter
## The following object is masked from 'package:graphics': ## ## layout
if (!require("readxl")) {
install.packages("readxl")}
## Loading required package: readxl
library(plotly) library(readxl)