Replies: 1 comment 2 replies
-
Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? The goal is to make it as easy as possible for us to recreate your problem so that we can fix it: please help us help you! Thanks. Did your code actually works on Observable? Note that this discussion board is not about Observable, so if your code does not work on Observable, you are not in the right place to ask support about it. You can share a self-contained "working" (reproducible) Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four If you have multiple files (and if it is absolutely required to have multiple files), please share as a Git repository.
Additionally and if not already given, please share the output of |
Beta Was this translation helpful? Give feedback.
-
Description
I have a table which I want to select a row and then subsequent plots (a table and eventually a map) get updated with data associated with that row.
I was looking at the documentation on ojs website on tables. It's using the penguins data as an example and offers this line underneath the table to define a variable based upon the selection:
const selection = view(Inputs.table(penguins, {required: false}));
However, when I use the same syntax, the rendered page shows a syntax error with this line.
This is my current code:
My JSON file has further data which I wish to display but right now I'm just trying to get the filter to work. thanks,
Beta Was this translation helpful? Give feedback.
All reactions