# Uncategorized

**URL:** https://talk.observablehq.com/c/uncategorized/1.md

[Latest](https://talk.observablehq.com/latest.md) · [Categories](https://talk.observablehq.com/categories.md)

---

## [Set version of peer dependencies](https://talk.observablehq.com/t/set-version-of-peer-dependencies/1816)

<div class="topic-metadata">

**Author:** [@domoritz](https://talk.observablehq.com/u/domoritz)\
**Replies:** 4\
**Last updated:** [January 11, 2024, 8:08pm UTC](https://talk.observablehq.com/t/set-version-of-peer-dependencies/1816 "2024-01-11T20:08:51Z")

</div>

I am trying to figure out how to tell vega-embed what versions it should load. You can see that in https://observablehq.com/d/e55b7a44be1e6e5c, I am loading Vega 5.3.1 through Vega-Embed even though I would like Vega 5. …

---

## [Programmatically create new cells?](https://talk.observablehq.com/t/programmatically-create-new-cells/186)

<div class="topic-metadata">

**Author:** [@simonw](https://talk.observablehq.com/u/simonw)\
**Replies:** 1\
**Last updated:** [July 11, 2023, 11:00pm UTC](https://talk.observablehq.com/t/programmatically-create-new-cells/186 "2023-07-11T23:00:14Z")

</div>

I’m thinking about building a custom API explorer for a JSON web API. I’d like to be able to display a list of items from the API and have the user click on one of those items to trigger an additional API request to fetc…

---

## [oEmbed support](https://talk.observablehq.com/t/oembed-support/1665)

<div class="topic-metadata">

**Author:** [@infojunkie](https://talk.observablehq.com/u/infojunkie)\
**Replies:** 9\
**Last updated:** [March 24, 2023, 2:59pm UTC](https://talk.observablehq.com/t/oembed-support/1665 "2023-03-24T14:59:00Z")

</div>

Hello, I am wondering if oEmbed support exists or could be considered - I couldn’t find the relevant meta tags on the notebook page. Happy to file a Github feature request if it makes sense to folks here. Thanks, Kari…

---

## [How to load CSS files?](https://talk.observablehq.com/t/how-to-load-css-files/101)

<div class="topic-metadata">

**Author:** [@flarroca](https://talk.observablehq.com/u/flarroca)\
**Replies:** 2\
**Last updated:** [February 18, 2023, 8:23pm UTC](https://talk.observablehq.com/t/how-to-load-css-files/101 "2023-02-18T20:23:36Z")

</div>

I don’t how to properly load external CSS files. This could broke everything, but I already load a CSS files using javascript or html’\<link… with great results.

---

## [getBBox()?](https://talk.observablehq.com/t/getbbox/1222)

<div class="topic-metadata">

**Author:** [@Martien](https://talk.observablehq.com/u/Martien)\
**Replies:** 10\
**Last updated:** [December 12, 2022, 10:08am UTC](https://talk.observablehq.com/t/getbbox/1222 "2022-12-12T10:08:41Z")

</div>

How can I best get hold of svg.node().getBBox()? It returns SVGRect {x: 0, y: 0, width: 0, height: 0}.

---

## [Using the statistical package R?](https://talk.observablehq.com/t/using-the-statistical-package-r/1562)

<div class="topic-metadata">

**Author:** [@lborgman](https://talk.observablehq.com/u/lborgman)\
**Replies:** 5\
**Last updated:** [January 4, 2023, 10:30pm UTC](https://talk.observablehq.com/t/using-the-statistical-package-r/1562 "2023-01-04T22:30:11Z")

</div>

Is there any way to use R from within Observable?

---

## [Check if a cell is defined](https://talk.observablehq.com/t/check-if-a-cell-is-defined/4351)

<div class="topic-metadata">

**Author:** [@mkfreeman](https://talk.observablehq.com/u/mkfreeman)\
**Replies:** 28\
**Last updated:** [August 28, 2022, 10:08am UTC](https://talk.observablehq.com/t/check-if-a-cell-is-defined/4351 "2022-08-28T10:08:14Z")

</div>

I’m hoping to check if an Observable cell has been defined, but running into an issue using the eval() function as I would in a JavaScript setting. Any thoughts on this one? Would be helpful for writing activities for ne…

---

## [Feature idea: way to browse dependent notebook graph](https://talk.observablehq.com/t/feature-idea-way-to-browse-dependent-notebook-graph/819)

<div class="topic-metadata">

**Author:** [@jrus](https://talk.observablehq.com/u/jrus)\
**Replies:** 6\
**Last updated:** [August 10, 2022, 12:14pm UTC](https://talk.observablehq.com/t/feature-idea-way-to-browse-dependent-notebook-graph/819 "2022-08-10T12:14:31Z")

</div>

It’s awesome that we can see forks of a notebook (by appending /forks to the URL). But sometimes related notebooks are created by importing one into another, rather than by forking and editing. It might be fun to expose…

---

## [observablehq site is down?](https://talk.observablehq.com/t/observablehq-site-is-down/2483)

<div class="topic-metadata">

**Author:** [@jrus](https://talk.observablehq.com/u/jrus)\
**Replies:** 3\
**Last updated:** [July 14, 2022, 7:31am UTC](https://talk.observablehq.com/t/observablehq-site-is-down/2483 "2022-07-14T07:31:36Z")

</div>

Ping to observablehq.com works, but http requests time out. I’m not sure what the issue is.

---

## [Zoomable Sunburst d3 chart with react](https://talk.observablehq.com/t/zoomable-sunburst-d3-chart-with-react/3686)

<div class="topic-metadata">

**Author:** [@ArpitDadheech](https://talk.observablehq.com/u/ArpitDadheech)\
**Replies:** 22\
**Last updated:** [May 13, 2022, 5:10pm UTC](https://talk.observablehq.com/t/zoomable-sunburst-d3-chart-with-react/3686 "2022-05-13T17:10:03Z")

</div>

Hello All, I want to shows only two layers of the hierarchy at a time. I referred to this https://observablehq.com/@d3/zoomable-sunburst but this can’t be implemented with React. Is there any example of this kind of “…

---

## [Typescript support](https://talk.observablehq.com/t/typescript-support/3064)

<div class="topic-metadata">

**Author:** [@jonhelfman](https://talk.observablehq.com/u/jonhelfman)\
**Replies:** 9\
**Last updated:** [March 24, 2022, 12:04pm UTC](https://talk.observablehq.com/t/typescript-support/3064 "2022-03-24T12:04:12Z")

</div>

Are there any plans to have Observable support Typescript in addition to JavaScript? I work on a project that uses Typescript, and while Observable is great for testing and writing small code blocks, I find myself havin…

---

## [Feature request: initialize input cells from url query params](https://talk.observablehq.com/t/feature-request-initialize-input-cells-from-url-query-params/1122)

<div class="topic-metadata">

**Author:** [@RandomFractals](https://talk.observablehq.com/u/RandomFractals)\
**Replies:** 7\
**Last updated:** [December 16, 2021, 12:06pm UTC](https://talk.observablehq.com/t/feature-request-initialize-input-cells-from-url-query-params/1122 "2021-12-16T12:06:26Z")

</div>

I think it would be cool if we could initialize input cells from query params. for example: https://beta.observablehq.com/@mbostock/yarn-lock-visualizer?input=\<test\_lib\_yarn\_lock\_file\> would just run @mike’s yarn-lock-…

---

## [suggestion: "merge this cell"](https://talk.observablehq.com/t/suggestion-merge-this-cell/2614)

<div class="topic-metadata">

**Author:** [@Fil](https://talk.observablehq.com/u/Fil)\
**Replies:** 4\
**Last updated:** [October 21, 2021, 1:33pm UTC](https://talk.observablehq.com/t/suggestion-merge-this-cell/2614 "2021-10-21T13:33:24Z")

</div>

In fork compare view, where can see parent, diff, fork, I would use a “merge” button that would merge only this cell. Could be useful when you fixed a bug in a fork that has diverged, and want to cherry-pick this fix on…

---

## [Best way to slow down generators?](https://talk.observablehq.com/t/best-way-to-slow-down-generators/180)

<div class="topic-metadata">

**Author:** [@nstrayer](https://talk.observablehq.com/u/nstrayer)\
**Replies:** 8\
**Last updated:** [October 16, 2021, 6:07pm UTC](https://talk.observablehq.com/t/best-way-to-slow-down-generators/180 "2021-10-16T18:07:48Z")

</div>

So in a notebook I want debug some code in a generator cell. Say I have a loop like { for(let i=0;i\<10;i++){ yield i; } } This is great for seeing what’s going on but javascript is too fast! I want to…

---

## [Cross pointers are no longer working](https://talk.observablehq.com/t/cross-pointers-are-no-longer-working/2962)

<div class="topic-metadata">

**Author:** [@bumbeishvili](https://talk.observablehq.com/u/bumbeishvili)\
**Replies:** 6\
**Last updated:** [September 28, 2021, 2:57pm UTC](https://talk.observablehq.com/t/cross-pointers-are-no-longer-working/2962 "2021-09-28T14:57:50Z")

</div>

I am not sure if this is code mirrors or Observables issue, but cross pointer selection and editing, no longer working. It was working about two weeks ago. I am not sure when it stopped working Macbook - Chrome

---

## [Is it possible to memoize a recursive function without redefining it?](https://talk.observablehq.com/t/is-it-possible-to-memoize-a-recursive-function-without-redefining-it/3089)

<div class="topic-metadata">

**Author:** [@severo](https://talk.observablehq.com/u/severo)\
**Replies:** 11\
**Last updated:** [September 7, 2021, 7:23am UTC](https://talk.observablehq.com/t/is-it-possible-to-memoize-a-recursive-function-without-redefining-it/3089 "2021-09-07T07:23:37Z")

</div>

\[Maybe I should post this on SO but people are nicer here :hugs:\] I want to apply a memoization function (say mem()) to a recursive function: function fib(n) { return n \<= 1 ? 1 : fib(n - 1) + fib(n - 2); } with som…

---

## [bundle.run errors breaking notebooks](https://talk.observablehq.com/t/bundle-run-errors-breaking-notebooks/1050)

<div class="topic-metadata">

**Author:** [@shaunlebron](https://talk.observablehq.com/u/shaunlebron)\
**Replies:** 15\
**Last updated:** [August 30, 2021, 3:13pm UTC](https://talk.observablehq.com/t/bundle-run-errors-breaking-notebooks/1050 "2021-08-30T15:13:24Z")

</div>

My notebooks often need bundle.run to load npm libs, as officially recommended for stubborn modules. But lately, the service has been failing, causing my notebooks to break. For example, all of these are down at the mom…

---

## [List of keyboard shortcuts?](https://talk.observablehq.com/t/list-of-keyboard-shortcuts/89)

<div class="topic-metadata">

**Author:** [@alexjlockwood](https://talk.observablehq.com/u/alexjlockwood)\
**Replies:** 27\
**Last updated:** [July 2, 2021, 11:37am UTC](https://talk.observablehq.com/t/list-of-keyboard-shortcuts/89 "2021-07-02T11:37:40Z")

</div>

This blog post says near the bottom that there is a way to view a list of keyboard shortcuts. I haven’t had any success finding it however. Am I missing something? :face\_with\_raised\_eyebrow: https://beta.observablehq.co…

---

## [Observable for research - (advanced) statistics](https://talk.observablehq.com/t/observable-for-research-advanced-statistics/4538)

<div class="topic-metadata">

**Author:** [@chrispahm](https://talk.observablehq.com/u/chrispahm)\
**Replies:** 24\
**Last updated:** [June 23, 2021, 1:32am UTC](https://talk.observablehq.com/t/observable-for-research-advanced-statistics/4538 "2021-06-23T01:32:53Z")

</div>

Hey Observables folks :wave: Here’s something that I’d like to discuss with you: Are you planning on using Observable notebooks for research / teaching? Or are you already doing so? If not, what is keeping you from doi…

---

## [Negative zero printing](https://talk.observablehq.com/t/negative-zero-printing/739)

<div class="topic-metadata">

**Author:** [@shaunlebron](https://talk.observablehq.com/u/shaunlebron)\
**Replies:** 1\
**Last updated:** [May 10, 2018, 1:04am UTC](https://talk.observablehq.com/t/negative-zero-printing/739 "2018-05-10T01:04:46Z")

</div>

super nitpick—if an observable cell evaluates to -0, it is printed as 0, whereas in Node and browser consoles, it is printed as -0. (-0).toString() is "0", so you have to do something like this instead (reference) cons…

---

## [Feature request : destructuring assignment.](https://talk.observablehq.com/t/feature-request-destructuring-assignment/1127)

<div class="topic-metadata">

**Author:** [@enkimute](https://talk.observablehq.com/u/enkimute)\
**Replies:** 5\
**Last updated:** [March 17, 2021, 1:23am UTC](https://talk.observablehq.com/t/feature-request-destructuring-assignment/1127 "2021-03-17T01:23:18Z")

</div>

I’m adding some features to better integrate ganja.js as observable input and I noticed I can’t combine viewof and destructuring assignment. viewof \[a,b,c\] = Algebra.graph(....) Unless I’m missing something, the altern…

---

## [How to undo delete or combine cells?](https://talk.observablehq.com/t/how-to-undo-delete-or-combine-cells/2605)

<div class="topic-metadata">

**Author:** [@nachocab](https://talk.observablehq.com/u/nachocab)\
**Replies:** 2\
**Last updated:** [March 13, 2021, 10:46pm UTC](https://talk.observablehq.com/t/how-to-undo-delete-or-combine-cells/2605 "2021-03-13T22:46:39Z")

</div>

I find it very unintuitive that there isn’t a way to undo actions outside of the current cell. For example, if I select all cells with shift + a and hit d by mistake (or if I merge them), they all get deleted and the on…

---

## [Business model and future plans?](https://talk.observablehq.com/t/business-model-and-future-plans/243)

<div class="topic-metadata">

**Author:** [@bortels](https://talk.observablehq.com/u/bortels)\
**Replies:** 6\
**Last updated:** [March 9, 2021, 6:03pm UTC](https://talk.observablehq.com/t/business-model-and-future-plans/243 "2021-03-09T18:03:54Z")

</div>

Sorry - I’ve been burned by falling in love with things and having google yank them too often, I gotta ask; what is your business model? I just can’t get invested in another hosted service, no matter how cool (and - this…

---

## [Ctrl - / not toggling comments in Firefox](https://talk.observablehq.com/t/ctrl-not-toggling-comments-in-firefox/216)

<div class="topic-metadata">

**Author:** [@Evan](https://talk.observablehq.com/u/Evan)\
**Replies:** 9\
**Last updated:** [March 3, 2021, 2:26pm UTC](https://talk.observablehq.com/t/ctrl-not-toggling-comments-in-firefox/216 "2021-03-03T14:26:04Z")

</div>

This is awesome! Just noticed that Ctrl-/ isn’t toggling comments in Firefox or Chrome (Windows).

---

## [Google Blockly?](https://talk.observablehq.com/t/google-blockly/1702)

<div class="topic-metadata">

**Author:** [@empiimp](https://talk.observablehq.com/u/empiimp)\
**Replies:** 13\
**Last updated:** [March 3, 2021, 9:25am UTC](https://talk.observablehq.com/t/google-blockly/1702 "2021-03-03T09:25:08Z")

</div>

Has anyone thought of using Google Blockly (https://developers.google.com/blockly/) inside Observable? It supports generating JavaScript from a visual programming editor.

---

## [Vega-Lite: Aggregate a nominal field by concatenation?](https://talk.observablehq.com/t/vega-lite-aggregate-a-nominal-field-by-concatenation/4686)

<div class="topic-metadata">

**Author:** [@dcnorris](https://talk.observablehq.com/u/dcnorris)\
**Replies:** 3\
**Last updated:** [February 24, 2021, 11:43pm UTC](https://talk.observablehq.com/t/vega-lite-aggregate-a-nominal-field-by-concatenation/4686 "2021-02-24T23:43:47Z")

</div>

As distinct from this query, I wonder if Vega-Lite supports ‘aggregating’ a nominal field across groups of data points by analogy of string concatenation with number addition. The reason for wishing to do this may be ap…

---

## [Change words in paragraph on timer ?](https://talk.observablehq.com/t/change-words-in-paragraph-on-timer/4681)

<div class="topic-metadata">

**Author:** [@dhowe](https://talk.observablehq.com/u/dhowe)\
**Replies:** 12\
**Last updated:** [February 21, 2021, 6:22pm UTC](https://talk.observablehq.com/t/change-words-in-paragraph-on-timer/4681 "2021-02-21T18:22:03Z")

</div>

So I have a paragraph of text, and I want to replace one word from the paragraph with a new word every second. The paragraph should change gradually over time. Seems quite simple but I can’t seem to make this work in obs…

---

## [d3 10 year anniversary event, live now](https://talk.observablehq.com/t/d3-10-year-anniversary-event-live-now/4659)

<div class="topic-metadata">

**Author:** [@jrus](https://talk.observablehq.com/u/jrus)\
**Replies:** 1\
**Last updated:** [February 17, 2021, 6:33pm UTC](https://talk.observablehq.com/t/d3-10-year-anniversary-event-live-now/4659 "2021-02-17T18:33:56Z")

</div>

Stop by the video stream at

---

## [Conditional logic based on logged in user or embedded?](https://talk.observablehq.com/t/conditional-logic-based-on-logged-in-user-or-embedded/4644)

<div class="topic-metadata">

**Author:** [@nachocab](https://talk.observablehq.com/u/nachocab)\
**Replies:** 2\
**Last updated:** [February 15, 2021, 9:31pm UTC](https://talk.observablehq.com/t/conditional-logic-based-on-logged-in-user-or-embedded/4644 "2021-02-15T21:31:59Z")

</div>

Is there a variable that I could access from a notebook that tells me any of these?: current logged in user info notebook is currently embedded I’d like to apply some conditional logic based on whether the notebook is…

---

## [How to edit each TOPO Json segment's fill based on conditions](https://talk.observablehq.com/t/how-to-edit-each-topo-json-segments-fill-based-on-conditions/4588)

<div class="topic-metadata">

**Author:** [@ciscorucinski](https://talk.observablehq.com/u/ciscorucinski)\
**Replies:** 10\
**Last updated:** [February 12, 2021, 10:59am UTC](https://talk.observablehq.com/t/how-to-edit-each-topo-json-segments-fill-based-on-conditions/4588 "2021-02-12T10:59:09Z")

</div>

Background Right now, I have an SVG of Korea and its provinces that updates its color fill by hovering. The use of hovering to do this isn’t my intended use case. I want the colors of each province to be in the SVG from …

[Next page](https://talk.observablehq.com/c/uncategorized/1.md?page=1)
