I’m tring to create an R package to draw charts with metrics-graphics.js. This code only succeeds when used with minified d3.js.
devtools::install_github("yutannihilation/metricsgraphics")
library(metricsgraphics)
library(wikipediatrend)
library(dplyr)
wp_trend() %>%
transmute(date = as.character(date), value = count) %>%
metricsgraphics