Here is a great resource for getting started with Observable Framework by Allison Horst. Observable Framework is an open-source JS library for creating dashboards. The sequence of videos covers how to set up a project and data loader, customize the dashboard, and deploy it.
Being able to get mgcv::gam into JS/Observable via #RStats {webr} is just the bees knees.
#Observable Plot just has basic linear regression (it's nowhere near as robust as geom_smooth()), and it's almost zero effort to slide in fit data from other models thanks to the work of George & team.
I'm rly backlogged on the #30DayChartChallenge b/c I got nerdswiped trying to make a new #Observable Plot mark for HTML styled text…and it's nearly working!
Nothing fancy for the late entry to day 14 of the #30DayChartChallenge. Just a basic Season/Episode ratings #Observable Plot heatmap for selected TV shows from IMDB's catalog.
For day 13 of the #30DayChartChallenge (relationships/family) we use #Observable and #D3 to explore the malware families used by threat actors, and let you tap into them to go to the entries on Malpedia.
For day 10 of the #30DayChartChallenge (distribution/physical) we look at the historical, present, and projected distributions of cargo by travel mode via an interactive #observable notebook that lets you explore each cargo type.
For day 8 of the 2024 #30DayChartChallenge (distribution / circular) we look at the historical make-up of the U.S. Congress (starting with the 32nd) with animated parliament plots in #Observable (#RStats data wrangling code included in the notebook).
For day 5 of the #30DayChartChallenge (diverging) this #Observable notebook looks at 2023 U.S. state migration inbound/outbound flows through two different lenses.
The notebook has #RStats data wrangling code, too.
I built this POC to demonstrate how I'd use CustomEvents to implement Signals. Please criticize my approach and tell me why I need a native browser API for this.
The #Observable Framework is a new #JavaScript library for building dashboards. It looks super awesome!
Here are the key features:
✅ It enables the building of the dashboard front-end with JS and the use of any other language on the back-end to process the data, such as #Rstats, #Python, #SQL, etc. This is an amazing feature that enables you to bring the beauty and strengths of JS while processing your data with a more friendly framework
(2/3) Key features
✅ It provides a local development server where you can test your code side-by-side with the output
✅ It compiles Markdown, JavaScript, and other sources and static assets
✅ Can be deployed as a static site (did not test yet, but I believe it can be deployed into Github Pages) or deployed directly to Observable
@frontend
I find #RxJS very powerful, yet quite unintuitive. I think I've got it, but I had a bugger of a time writing a custom operator that does this for any given #Observable-like stream in a generic way:
Pause the source stream until stream2 completes. Then replay the last emission from the source. Then allow all subsequent emissions from the source unimpeded.