eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

215
active users

#observable

0 posts0 participants0 posts today
Jaanus Kase<p><a href="https://iosdev.space/tags/Swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Swift</span></a> <a href="https://iosdev.space/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a></p><p>Is there any good practice for working with Observable and protocols?</p><p>I’d like to conform a protocol to Observable (so I could mock it in tests and previews, and pass around only protocol types in most of my code, not concrete types), but Observable macro seems to be geared towards working with concrete types</p><p>So what are your best practices and thoughts on Observable vs mocking/testing</p>
Nicola Rennie<p>I had a great time at <span class="h-card" translate="no"><a href="https://fosstodon.org/@EdinbR" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>EdinbR</span></a></span> last night, talking about interactive charts in R 🦖 (and catching up with people I haven't seen in a while)</p><p>💬 How to add tooltips and dropdowns<br>🦒 In R with {ggiraph}<br>📊 By passing data from R to Observable</p><p>Slides: <a href="https://nrennie.rbind.io/talks/edinbR-interactive-charts/slides.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">nrennie.rbind.io/talks/edinbR-</span><span class="invisible">interactive-charts/slides.html</span></a></p><p><a href="https://fosstodon.org/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> <a href="https://fosstodon.org/tags/DataViz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DataViz</span></a> <a href="https://fosstodon.org/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a> <a href="https://fosstodon.org/tags/QuartoPub" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>QuartoPub</span></a></p>
Nicola Rennie<p>If you're based in Edinburgh(-ish), come along on Thursday 15th May to the <span class="h-card" translate="no"><a href="https://fosstodon.org/@EdinbR" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>EdinbR</span></a></span> meetup!</p><p>I'll be chatting about interactive charts in <a href="https://fosstodon.org/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> (and beyond!) 📊 Jordan Richards will also be chatting about fast Bayesian inference (so I guess that also makes it a mini STOR-i CDT reunion as well!)</p><p>Register: <a href="https://www.meetup.com/edinbr/events/307742291" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">meetup.com/edinbr/events/30774</span><span class="invisible">2291</span></a></p><p><a href="https://fosstodon.org/tags/DataViz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DataViz</span></a> <a href="https://fosstodon.org/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a></p>
Nicola Rennie<p>It's Day 8 of the <a href="https://fosstodon.org/tags/30DayChartChallenge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>30DayChartChallenge</span></a>, and the prompt is "Histogram" 📊 </p><p>💻 Another <a href="https://fosstodon.org/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> + Observable combination ❤️<br>📈 Kept it simple, but figured out more about small multiples (facets), sorting categories, and colour palettes in Observable today!</p><p><a href="https://fosstodon.org/tags/Day8" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Day8</span></a> <a href="https://fosstodon.org/tags/DataViz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DataViz</span></a> <a href="https://fosstodon.org/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a></p>
Nicola Rennie<p>It's Day 7 of the <a href="https://fosstodon.org/tags/30DayChartChallenge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>30DayChartChallenge</span></a>, and the prompt is "Outliers" 📊 </p><p>💻 Data wrangling in <a href="https://fosstodon.org/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a><br>📈 Scatter plot made with Observable<br>🗒️ Static tooltips for annotations (+ dynamic tooltips for exploring)</p><p><a href="https://fosstodon.org/tags/Day7" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Day7</span></a> <a href="https://fosstodon.org/tags/DataViz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DataViz</span></a> <a href="https://fosstodon.org/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a></p>
Nicola Rennie<p>For Day 3 of the <a href="https://fosstodon.org/tags/30DayChartChallenge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>30DayChartChallenge</span></a>, the prompt is "Circular" 📊 </p><p>☀️ Sunburst plot showing countries where 1% have &gt;10% of wealth<br>📈 Data formatting <a href="https://fosstodon.org/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> to create JSON data<br>👁️‍🗨️ Figured out how to edit an imported D3 chart in Observable</p><p><a href="https://fosstodon.org/tags/Day3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Day3</span></a> <a href="https://fosstodon.org/tags/DataViz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DataViz</span></a> <a href="https://fosstodon.org/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a></p>
Nicola Rennie<p>Quarto + <a href="https://fosstodon.org/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> + Observable = ❤️</p><p>New blog post from me about:</p><p>👁️ What is Observable?<br>❓ Why should R users care?<br>📊 How do you use both together to make interactive charts?</p><p>Link: <a href="https://nrennie.rbind.io/blog/observable-r-users/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">nrennie.rbind.io/blog/observab</span><span class="invisible">le-r-users/</span></a></p><p><a href="https://fosstodon.org/tags/DataViz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DataViz</span></a> <a href="https://fosstodon.org/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a> <a href="https://fosstodon.org/tags/QuartoPub" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>QuartoPub</span></a></p>
Nicola Rennie<p>It's Day 1 of the <a href="https://fosstodon.org/tags/30DayChartChallenge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>30DayChartChallenge</span></a>, and the prompt is "Fractions" 📊 </p><p>🌎 Data from Our World in Data on wealth distribution<br>💻 Data wrangling in <a href="https://fosstodon.org/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a><br>🧇 Waffle plot made with Observable</p><p><a href="https://fosstodon.org/tags/DataViz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DataViz</span></a> <a href="https://fosstodon.org/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> <a href="https://fosstodon.org/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a> <a href="https://fosstodon.org/tags/Day1" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Day1</span></a></p>
boB Rudis 🇺🇦 🇬🇱 🇨🇦<p>Being able to get `mgcv::gam` into JS/Observable via <a href="https://mastodon.social/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> {webr} is just the bees knees.</p><p><a href="https://mastodon.social/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a> 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 &amp; team.</p>
boB Rudis 🇺🇦 🇬🇱 🇨🇦<p>It's still very much a WIP but I've got a usable `Textbox` <a href="https://mastodon.social/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a> Plot Mark in development.</p><p>It's sort of like a Plot.html, letting you specify HTML code for the mark text, and it renders it.</p><p>I now see why this hasn't existed before. Lots of edge cases/gnarly bits.</p><p><a href="https://observablehq.com/@hrbrmstr/textbox-mark-html-text-mark" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">observablehq.com/@hrbrmstr/tex</span><span class="invisible">tbox-mark-html-text-mark</span></a></p>
boB Rudis 🇺🇦 🇬🇱 🇨🇦<p>I'm rly backlogged on the <a href="https://mastodon.social/tags/30DayChartChallenge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>30DayChartChallenge</span></a> b/c I got nerdswiped trying to make a new <a href="https://mastodon.social/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a> Plot mark for HTML styled text…and it's nearly working!</p>
boB Rudis 🇺🇦 🇬🇱 🇨🇦<p><a href="https://mastodon.social/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a> <a href="https://mastodon.social/tags/Framework" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Framework</span></a> just added support for installing and using NPM modules! <a href="https://github.com/observablehq/framework/releases/tag/v1.6.0" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/observablehq/framew</span><span class="invisible">ork/releases/tag/v1.6.0</span></a></p>
boB Rudis 🇺🇦 🇬🇱 🇨🇦<p>Nothing fancy for the late entry to day 14 of the <a href="https://mastodon.social/tags/30DayChartChallenge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>30DayChartChallenge</span></a>. Just a basic Season/Episode ratings <a href="https://mastodon.social/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a> Plot heatmap for selected TV shows from IMDB's catalog.</p><p><a href="https://observablehq.com/@hrbrmstr/2024-30-day-chart-challenge-day-14-relationships-heatmap" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">observablehq.com/@hrbrmstr/202</span><span class="invisible">4-30-day-chart-challenge-day-14-relationships-heatmap</span></a></p>
boB Rudis 🇺🇦 🇬🇱 🇨🇦<p>For day 13 of the <a href="https://mastodon.social/tags/30DayChartChallenge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>30DayChartChallenge</span></a> (relationships/family) we use <a href="https://mastodon.social/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a> and <a href="https://mastodon.social/tags/D3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>D3</span></a> to explore the malware families used by threat actors, and let you tap into them to go to the entries on Malpedia.</p><p>Totally forgot to post the link yesterday :facepalm: <a href="https://observablehq.com/@hrbrmstr/2024-30-day-map-challenge-day-12-relationships-family" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">observablehq.com/@hrbrmstr/202</span><span class="invisible">4-30-day-map-challenge-day-12-relationships-family</span></a></p>
boB Rudis 🇺🇦 🇬🇱 🇨🇦<p>For day 10 of the <a href="https://mastodon.social/tags/30DayChartChallenge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>30DayChartChallenge</span></a> (distribution/physical) we look at the historical, present, and projected distributions of cargo by travel mode via an interactive <a href="https://mastodon.social/tags/observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>observable</span></a> notebook that lets you explore each cargo type.</p>
boB Rudis 🇺🇦 🇬🇱 🇨🇦<p>A bit behind on the <a href="https://mastodon.social/tags/30DayChartChallenge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>30DayChartChallenge</span></a> (sigh)</p><p>Day 9 • Distribution • Major/Minor</p><p>We take a look at major/minor quake densities across the globe over the last 30 days.</p><p>Nothing groundbreaking, as <a href="https://mastodon.social/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a> Plot makes this pretty easy.</p><p><a href="https://observablehq.com/@hrbrmstr/2024-30-day-chart-challenge-day-09-distribution-major-minor" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">observablehq.com/@hrbrmstr/202</span><span class="invisible">4-30-day-chart-challenge-day-09-distribution-major-minor</span></a></p>
boB Rudis 🇺🇦 🇬🇱 🇨🇦<p>For day 8 of the 2024 <a href="https://mastodon.social/tags/30DayChartChallenge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>30DayChartChallenge</span></a> (distribution / circular) we look at the historical make-up of the U.S. Congress (starting with the 32nd) with animated parliament plots in <a href="https://mastodon.social/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a> (<a href="https://mastodon.social/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> data wrangling code included in the notebook).</p><p><a href="https://observablehq.com/@hrbrmstr/2024-30-day-chart-challenge-day-08-distribution-circular" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">observablehq.com/@hrbrmstr/202</span><span class="invisible">4-30-day-chart-challenge-day-08-distribution-circular</span></a></p>
boB Rudis 🇺🇦 🇬🇱 🇨🇦<p>For day 6 (OECD) of <a href="https://mastodon.social/tags/30DayChartChallenge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>30DayChartChallenge</span></a> I tapped into their database of "trust in the national government" via <a href="https://mastodon.social/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> <a href="https://mastodon.social/tags/WebR" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebR</span></a> in <a href="https://mastodon.social/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a>.</p><p>Unsurprisingly, 🇺🇸 trust is in the 🚽.</p><p>Now I gotta dig in a bit more to know why Luxembourg is #1.</p><p><a href="https://observablehq.com/@hrbrmstr/2024-30-day-chart-challenge-day-06-oecd" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">observablehq.com/@hrbrmstr/202</span><span class="invisible">4-30-day-chart-challenge-day-06-oecd</span></a></p>
boB Rudis 🇺🇦 🇬🇱 🇨🇦<p>For day 5 of the <a href="https://mastodon.social/tags/30DayChartChallenge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>30DayChartChallenge</span></a> (diverging) this <a href="https://mastodon.social/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a> notebook looks at 2023 U.S. state migration inbound/outbound flows through two different lenses.</p><p>The notebook has <a href="https://mastodon.social/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> data wrangling code, too.</p><p><a href="https://observablehq.com/@hrbrmstr/2024-30-day-chart-challenge-day-4-diverging" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">observablehq.com/@hrbrmstr/202</span><span class="invisible">4-30-day-chart-challenge-day-4-diverging</span></a></p>
boB Rudis 🇺🇦 🇬🇱 🇨🇦<p><a href="https://mastodon.social/tags/30DayChartChallenge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>30DayChartChallenge</span></a> Day 4 • 🧇</p><p>Hit up — <a href="https://observablehq.com/@hrbrmstr/2024-30-day-chart-challenge-day-04-waffle" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">observablehq.com/@hrbrmstr/202</span><span class="invisible">4-30-day-chart-challenge-day-04-waffle</span></a> — to see your GitHub activity % breakdown in a proper waffle chart (via my OBS Plot WafleMark) vs the daft radar chart GitHub uses.</p><p>Ended up having to write a Deno edge function to make this data available to <a href="https://mastodon.social/tags/Observable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Observable</span></a> notebooks.</p>