Category: HTML5
Everything filed under HTML5.
Readability Redux
I recently posted about using a Python module to convert HTML to usable text. Since then, a new package has hit CRAN dubbed htm2txt that is 100% R and uses regular expressions to strip tags from…
Global Temperature Change in R & D3 (without the vertigo)
One of the original versions was static and was not nearly as popular, but—as you can see—this one went…
A Tale of Two Charting Paradigms: Vega-Lite vs R+ggplot2
This post comes hot off the heels of the nigh-feature-complete release of vegalite (virtually all the components of Vega-Lite are now implemented and just need real-world user testing). I've had a few and seen a few questions about "why…
Create Vega-Lite specs & widgets with the vegalite package
Vega-Lite 1.0 was released this past week. I had been meaning to play with it for a while but I've been burned before by working with unstable APIs and was waiting for this to bake to a stable release. Thankfully, there were no new shows…
Two pending features to metricsgraphics
I've been slowly prodding the metricsgraphics package towards a 1.0.0 release, but there are some rough edges that still need sorting out. One of them is the ability to handle passing in variables for the x & y accessor values (you can…
A quick, incomplete comparison of ggplot2 & rbokeh plotting idioms
I set aside a small bit of time to give rbokeh a try and figured I'd share a small bit of code that shows how to make the "same" chart in both ggplot2 and…
Scraping jQuery DataTable Programmatic JSON with R
School of Data had a recent post how to copy "every item" from a multi-page list. While their post did provide a neat hack, their "words of warning" are definitely missing some items and the overall methodology can be improved upon with…
New release (0.7) of metricsgraphics htmlwidget — grids & rollovers
I've updated my metricsgraphics package to version 0.7. The core MetricsGraphics JavaScript library has been updated to version 2.1.0 (from 1.1.0). Two blog-worthy features since releasing version 0.5 are mjsgrid (which is a…
Slopegraph Workbench/Workshop in D3
I've been getting a huge uptick in views of my Slopegraphs in Python post and I think it's due to @edwardtufte's recent slopegraph contest…
One More Time…Mapping Maine Power Outages with D3
It started with a local R version and migrated to a Shiny version and is now in full D3 glory…