https://observablehq.com/ logo
Join Slack
Powered by
# help
  • a

    Adebiyi Adedotun

    03/07/2023, 10:13 PM
    Hello 👋 friends, I’m new to D3 and I started learning about D3 Scales. I made a table that categorizes each scale function. Can anyone help me confirm that the categorization is true?
    ✅ 1
  • s

    Slackbot

    03/08/2023, 2:27 AM
    This message was deleted.
    o
    p
    • 3
    • 5
  • r

    Res Marti

    03/08/2023, 2:18 PM
    Hi there, So I've generated a chart with a drop down menu with various export options for the user. This chart and many others using this dropdown are going to be embedded in an existing website using the embed options of observable. An example is here: https://observablehq.com/@resmartizh/grouped-bar-chart. What’s missing in the drop down now is an embed button in the dropdown menu to allow any visitor of the website to generate an embed code for this chart to also embed it in his website. This would be useful in our case since the government data that we are publishing is often picked up by regional media outlets. The technical problem I'm facing is that I can't seem to get neither the url slug / notebook name nor the cell name from within a cell. If I had these two elements, it would be easy to string together an embed code. Thanks for any help.
  • a

    Adam Roberts

    03/08/2023, 2:25 PM
    Can you clarify a bit? Do you want the selection someone makes to be respected in the embed? I can create an embed from the Observable menu, but that’s not what you want, if I’m not mistaken…
  • r

    Res Marti

    03/08/2023, 2:39 PM
    I've created my chart to put everything that needs to be embed into one cell / one html container. On one hand this was necessary for the image export function (so I can include everything needed in one png/svg), on the other hand this makes the embeding easier, since only one cell is relevant for the embeding. The user of our website should not have to worry about selecting particular cells but rather press on a button and get the iframe or javascript code. It could be the same code that can be generated in the embed menu of observable, but this menu is not available to the user once a chart has been embeded in our website. So what I need is the url slug and the cell name of a cell available within that cell. I could probably find a workaround for the cell name (make it static, pass it along as a string,...), but I can't do anything without the url slug.
  • s

    Slackbot

    03/08/2023, 2:42 PM
    This message was deleted.
    r
    • 2
    • 1
  • f

    Fabian Iwand

    03/08/2023, 2:56 PM
    Folks, may I recommend to create a thread for your discussion? 🙂
    👍 3
  • s

    Slackbot

    03/09/2023, 10:01 PM
    This message was deleted.
    f
    d
    • 3
    • 9
  • s

    Slackbot

    03/10/2023, 7:40 PM
    This message was deleted.
    f
    d
    +2
    • 5
    • 8
  • r

    Robert Lesser

    03/10/2023, 7:53 PM
    I’ve built out a search Input that combines API compatibility for suggestions, suggestion autocomplete, and debouncing. Would love any feedback on how it could be improved. Also, I’m wondering if there’s a better way to inherit observable input styles than my current method of using the
    oi-ec050e
    class, which might be subject to change. https://observablehq.com/@rlesser/input-autocomplete-debounce
    ❤️ 3
  • s

    Slackbot

    03/12/2023, 10:58 AM
    This message was deleted.
    f
    j
    • 3
    • 11
  • s

    Slackbot

    03/14/2023, 2:07 PM
    This message was deleted.
    🙌 1
    f
    r
    • 3
    • 7
  • s

    Slackbot

    03/14/2023, 6:40 PM
    This message was deleted.
    p
    w
    l
    • 4
    • 3
  • s

    Slackbot

    03/15/2023, 4:51 PM
    This message was deleted.
    y
    a
    • 3
    • 13
  • s

    Slackbot

    03/16/2023, 6:24 AM
    This message was deleted.
    a
    f
    l
    • 4
    • 8
  • s

    Slackbot

    03/16/2023, 4:43 PM
    This message was deleted.
    a
    t
    • 3
    • 15
  • t

    Tonya Howe

    03/16/2023, 4:54 PM
    I know it has to do with filter -- .filter(d => d.return != null)
  • s

    Slackbot

    03/16/2023, 6:23 PM
    This message was deleted.
    a
    z
    f
    • 4
    • 12
  • s

    Slackbot

    03/17/2023, 4:02 PM
    This message was deleted.
    m
    z
    • 3
    • 12
  • s

    Slackbot

    03/17/2023, 7:40 PM
    This message was deleted.
    f
    z
    • 3
    • 2
  • s

    Slackbot

    03/18/2023, 11:24 PM
    This message was deleted.
    a
    m
    f
    • 4
    • 3
  • s

    Slackbot

    03/19/2023, 2:44 PM
    This message was deleted.
    e
    f
    • 3
    • 7
  • s

    Slackbot

    03/20/2023, 3:22 AM
    This message was deleted.
    c
    • 2
    • 1
  • s

    Slackbot

    03/20/2023, 8:39 AM
    This message was deleted.
    m
    • 2
    • 1
  • s

    Slackbot

    03/20/2023, 11:13 PM
    This message was deleted.
    f
    • 2
    • 1
  • s

    Slackbot

    03/20/2023, 11:13 PM
    This message was deleted.
    f
    y
    • 3
    • 20
  • g

    Gary McClelland

    03/21/2023, 12:11 AM
    I have two related problems. How to nest other graphs within a Plot. 1. a graph of graphs. I have a number of small graphs that I want to locate in a larger plot defined by x,y values. Something like the Plot example that puts images at different locations. That suggests one solution. Generate the small graphs, save them as images, and then import them. A better way? 2. have a Plot as an inset in another Plot. I'm trying to accomplish this: (in next message)
  • s

    Slackbot

    03/21/2023, 12:17 AM
    This message was deleted.
    PlotInsetExample.pdf
    a
    y
    +3
    • 6
    • 12
  • s

    Slackbot

    03/21/2023, 1:23 PM
    This message was deleted.
    a
    f
    • 3
    • 4
  • s

    Slackbot

    03/21/2023, 11:21 PM
    This message was deleted.
    a
    d
    +2
    • 5
    • 10
12345...11Latest