Jack Ketcham
07/19/2024, 3:44 AM6
, 14
) of the count bucket, so I'd like to key off of that for the faceting.
Here's a notebook with what I'm working with: https://observablehq.com/d/bfbb63a16a2d77b5Wouter de Vries
07/19/2024, 2:13 PMWouter de Vries
07/20/2024, 12:40 PMDuckDBClient.of({ mydb: FileAttachment("mydb.parquet") })
then?
Error: Binder Error: Can only update base table!
Wouter de Vries
07/21/2024, 2:52 PMhistogram()
function built into DuckDB. The query seems to run fine, but the SQL cell shows "Error" as a value and inspecting the array itself says "Uncaught TypeError: proxy [[OwnPropertyKeys]] must return an array with only string and symbol elements". Am I using it incorrectly? Of course I could do the binning myself which is a lot more flexible.
https://observablehq.com/d/75014781c1acd67c#cell-120Justin Angevaare
07/22/2024, 5:41 PM<h1>head</h1>
and <h2>subhead</h3>
, only head
shows in toc.)
TIAWouter de Vries
07/22/2024, 7:04 PMInput.search
with an Input.table
to help looking entries to select. The problem is that the previous selection clears when you filter data away by typing in the search field. Is there a clever way to preserve selection even though the list of visible items are filtered? A native search field on the table like the data table cell has would be even better 👼 There's an issue related to search #222, but it has no mention of preserving selection.Blake Decker
07/23/2024, 2:22 PMWouter de Vries
07/24/2024, 8:19 AMalbers-usa
projection for the US which also happens to resize nicely when used in Plot. For other countries I've been doing projection: d3.geoMercator().fitSize([width, 650], nl_land)
, but that does not take into account the height. Is there a variable around for the standard height of a plot cell I can use? It seems that the aspect ratio remains 1.6, but who's to say that's a given.
https://observablehq.com/d/91980718e3b1cae1Tobias Sjösten
07/24/2024, 11:22 AMBianca Melo
07/24/2024, 2:41 PMAditya Rana
07/26/2024, 5:55 AMaaronkyle
07/26/2024, 12:42 PMyarn create @observablehq
within a folder that already has Framework project content? [i.e., a config file and src folder?]. I am switching computers have a number of in-progress Framework projects that I wish to move over, and am hoping I don't have to run the create command repeatedly to set up the directory before copying files over.Wouter de Vries
07/27/2024, 12:07 PMError: unknown file type: application/vnd.ms-excel
. After reloading the notebook everything is fine and I can start using it.Wouter de Vries
07/27/2024, 8:38 PMPlot.geo
. I've seen some solutions using a Plot.tip
(@thehogfather/nigeria-geo-plot-templates), but the documentation seems to indicate it should work directly on the geo mark itself. For some reason the mouse over only appears in the middle in the plot and it might even show up all the tooltips. Tooltips are present on US and NL map.Jeremy
07/28/2024, 10:17 PMClément PZ
07/29/2024, 8:20 AMPaul Souvestre
07/29/2024, 1:46 PMZhaocong Yang
07/30/2024, 6:14 PMZach Bogart
08/07/2024, 10:10 PMMultnomah County
is less well known, but people could search for Portland
, which is more well known, and be sent to the multnomah county data. So we would have a dataset of some popular cities for each county
Thought I’d ask if anyone has run into this and whether they have any suggestions about an approach for data on this topic. Thanks!Piotr Pasza Storożenko
08/08/2024, 7:07 AMaaronkyle
08/11/2024, 3:49 PMbounding_box_view
variable doesn't seem to update and remains 'null'. The mutable pattern below is from https://observablehq.com/framework/reactivity. Full source code is here: https://github.com/aaronkyle/dataviz/blob/main/kba_question.md
Any insights into what I am doing incorrectly?
js
const bounding_box_view = Mutable([])
js
{
map.on('moveend', () => {
const bounds = map.getBounds();
const set_bounding_box = () => bounding_box_view.value = {
north: bounds.getNorth(),
south: bounds.getSouth(),
east: bounds.getEast(),
west: bounds.getWest()
};
});
}
aaronkyle
08/12/2024, 12:50 PMNhem Gomia
08/13/2024, 2:27 AMCora Sutton
08/15/2024, 5:08 AMNet
08/15/2024, 4:52 PMMattias Villani
08/16/2024, 8:18 PMBenny Schudel
08/20/2024, 3:52 PMZach Bogart
08/20/2024, 10:03 PMTypeError: Decoding failed.
Kamille Monroe
08/21/2024, 12:04 PMKamille Monroe
08/21/2024, 12:07 PM