library(knitr) library(d3heatmap) library(flexdashboard) url <- "http://datasets.flowingdata.com/ppg2008.csv" nba_players <- read.csv(url, row.names = 1)
d3heatmap(nba_players, scale = "column")
knitr::kable(nba_players[1:20,c("G", "MIN", "PTS")])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.