HTML widgets work just like R plots except they produce interactive web visualizations. A line or two of R code is all it takes to produce a D3 graphic or Leaflet map. HTML widgets can be used at the R console as well as embedded in R Markdown reports and Shiny web applications. In addition to the widgets featured below you may also want to check out the htmlwidgets gallery. Overview The htmlwidge
![Creating a widget](https://cdn-ak-scissors.b.st-hatena.com/image/square/cae0b4ef4640ebd3e8b21303135798247f1d0100/height=288;version=1;width=512/http%3A%2F%2Fwww.htmlwidgets.org%2Fimages%2Fsigma.png)