8/4/2020

Introduction

This is an assignment for coursera Developing Data Products. This is a submission from Leonard

Interactive Plots Code

Required Package and data

library(plotly)
data("mtcars")

Code for the interactive plot

plot_ly(data = mtcars, x = ~cyl, 
        y = ~ mpg, color = ~factor(cyl), type = "box")

The Results