I don't know if this is possible, but it would be really neat to have a tighter integration between R and Observable Plot as an htmlwidget.
It's currently possible to pass data to Observable in Quarto, and this is really powerful, but an htmlwidget would allow users to use Observable Plot from R code alone.