Another, slightly more complex example. This is a "reactive" app without all the cruft.
Select a data frame from the dropdown menu. I've pre-selected columns to be plotted b/c I am tired.
mtcars
and iris
are pulled from the running WebR session.
While the built in WebR session also has USArrests
, I saved it to a CSV and put it at https://rud.is/webr-d3-demo/us-arrests.csv
.
WebR reads that into usarrests
.
Observable Plot does the plotting.
The table is built with a custom function. The <div>
it is in is scrollable. There are no scrollbars b/c I really am kind of tired and didn't feel like tweaking CSS (this page shld know if you're in dark mode or not).
I promise something will be below this line soon.