Readit News logoReadit News
mbostock commented on How to make a Smith chart   johndcook.com/blog/2025/1... · Posted by u/tzury
mbostock · 4 months ago
I made an interactive implementation here: https://observablehq.com/@mbostock/smith-chart
mbostock commented on Observable Notebooks 2.0 Technology Preview   observablehq.com/notebook... · Posted by u/mbostock
mourner · 6 months ago
The updated syntax looks brilliant — can't wait to try it out by upgrading some of my older notebooks! I was worried about the future of Observable since the Canvas announcement — it felt like notebooks were being slowly phased out, but I'm glad to be proven wrong.

Any timeline on bringing the new format to the Web editor? For me, the biggest draw of Observable is being able to instantly start exploring and visualizing some data without ANY setup (creating some local files, installing dependencies, launching a dev server etc.) — just click "New notebook" and off you go, frictionless. I hope this remains a priority.

Also worth mentioning the data viz community aspect, which I used to enjoy a ton — it's a bummer that things like being able to follow certain users and see their new notebooks in a feed were phased out, and that trending notebooks are now hidden under the Help menu instead of being featured on the user's homepage. This might be one of the reasons I stopped coming back to the platform as often, although I realize building a community is very difficult and hard to monetize — just thought I'd share.

mbostock · 6 months ago
Thank you. I don’t want to commit to a public timeline on the web editor yet, but rest assured it is a top priority, and we also value the convenience of a web editor, instant collaboration, and community!
mbostock commented on Observable Notebooks 2.0 Technology Preview   observablehq.com/notebook... · Posted by u/mbostock
jitl · 6 months ago
I used the older online notebooks for a bit and really loved the immediacy but I’m always hurting for TypeScript syntax support. The is this a thing w 2.0? Something I’ll need to add later with Vite and only available locally?

It was a bunmer to not be able to copy paste code from my projects into observable. With local notebooks I see more potential for homegrown workflow but for me the benefit was always the platform and how starting a new thing was as simple as going to a webpage and clicking plus.

Anyways excited to play with this once it ends up in the online editor

mbostock · 6 months ago
We’re interested in adding a TypeScript cell mode, probably first with type stripping rather than validating types. I was hoping for a pure JavaScript implementation; maybe we’ll try https://github.com/bloomberg/ts-blank-space? I’ve also been looking at https://github.com/val-town/codemirror-ts for the editor, but it’s a lot of machinery.
mbostock commented on Observable Framework 1.9   github.com/observablehq/f... · Posted by u/mbostock
sebsebmc · 2 years ago
Im still hoping that Typescript support comes soon!
mbostock · 2 years ago
Thanks for the feedback. We implemented the transform to strip TypeScript annotations (using esbuild)…

https://github.com/observablehq/framework/pull/129

but this approach stalled because it doesn’t implement validation of TypeScript: the TypeScript annotations are simply ignored. I felt this defeats the point of using TypeScript. We probably need to use tsc instead of esbuild to get type checking. Hints welcome!

mbostock commented on Observable Framework 1.9   github.com/observablehq/f... · Posted by u/mbostock
simonw · 2 years ago
The React support looks interesting, are there any examples available? I couldn't spot any in https://github.com/observablehq/framework/tree/main/examples
mbostock · 2 years ago
Currently the only examples are here: https://observablehq.com/framework/jsx
mbostock commented on D3 in Depth   d3indepth.com/... · Posted by u/lobo_tuerto
gaws · 2 years ago
Plot and Framework are locked into the Observable ecosystem, which has its own learning curve. Learning D3 offers the best flexibility and control.
mbostock · 2 years ago
In what way are these free open-source tools “locked-in” to Observable? Observable Plot is a vanilla JavaScript library that is released under the ISC license and can be used with any style of web development (e.g., React, Svelte, whatever). And likewise Observable Framework is released under the ISC license and you’re able to self-host projects anywhere and develop locally?
mbostock commented on A flat map with the least error possible: The Gott-Goldberg-Vanderbei projection   vanderbei.princeton.edu/p... · Posted by u/_ddzr
mbostock · 2 years ago
Here’s the D3 implementation (which is just an interrupted azimuthal equidistant projection):

https://observablehq.com/@d3/azimuthal-equidistant-hemispher...

u/mbostock

KarmaCake day4308August 12, 2011
About
https://bost.ocks.org/mike/
View Original