Open yxiao315 opened 5 years ago
We have a gallery with about 16 examples:
https://rstudio.github.io/r2d3/articles/gallery.html
Would those examples help?
The r2d3
examples got translated from D3's gallery:
https://github.com/d3/d3/wiki/Gallery
So for instance, bubble looks like the following in D3:
https://observablehq.com/@d3/bubble-chart
and as follows in r2d3
:
Lots of the gallery examples just read in .JSON files; showing how would you use R data in these examples (e.g. from a data frame) would help me.
for the new beginner who is not familiar with d3.js, are there more r2d3 script examples like the basic chart as line, bar, area. etc. Since I still have difficulty to translate d3.js to r2d3 script which can be used in R