This message was deleted.
# show-and-tell
s
This message was deleted.
πŸ‘ 4
πŸŽ‰ 1
j
@Fil kindly fixed this up! i wasn't using observable plot properly πŸ™‚ thank you fil!! it's soooo much nicer -- this makes my day πŸ˜„ -> https://jaanli.github.io/american-community-survey/
❀️ 2
πŸ™Œ 2
f
the example you started from is really tailored to one datasetβ€”maybe we should clarify this.
πŸ‘ 1
and welcome to Observable Plot! glad you like it πŸ™‚
❀️ 1
note that there is a bit of "mathemagic" in the formula I used to create the buckets on the log scale: because
(10**0.3).toPrecision(3)
is exactly 2.00, the bins starts at 10, 20, 100, 200, etc
πŸ™‡ 1
p
it would be nice if the tooltip showed the details of all the stacks together instead of only what we hovered on. Is it possible to do that?
f
yes, but you won't be able to use the
tip: true
shortcut; instead you will need to build a separate tip mark that groups things a bit differently than the mark we see
πŸ‘ 1
p
Got it. So the pattern is -- defaults will give you something simple. Like
tip: true
for tooltip,
grid
for some axis grid...etc. But if you want to customise, you should use the respective marks?
f
I wouldn't say that one is simpler than the other. When you're using {tip:true} the tips are tied to the elements that you see (lots of small rects), and show the values for that rect only. What you want is to tie it to the horizontal position only, and show a multiline text.
πŸ‘ 1
j
trying to get this working for all years dating back to 2000! unfortunately i don't think i understand how to re-run a duckdb query; added details here in case this is obvious - https://github.com/observablehq/framework/issues/911
f
for questions, please open a new discussion ; issues are for bugs and feature requests (I've moved it to discusions)
ah Mike beat me to it by a few seconds
j
my bad fil, thank you!! will do πŸ™
quick update thanks to fil & mike's
async
wizardry helping me debug: https://jaanli.github.io/american-community-survey/income stoked for more! let me know if you have any ideas; there are thousands of variables here and at least 38 million people's data: https://github.com/jaanli/exploring_american_community_survey_data/blob/main/prompts/exploring-new-york-city.md my next goal is to tackle geospatial, which will be tricky given the volume of data. will try to use this: https://bdon.github.io/observable-framework-maps/example-map and this: https://uwdata.github.io/mosaic/examples/nyc-taxi-rides.html also plan on linking to SIPP data from medical debt & tax lot data on real estate. happy to collab if anyone's interested!
πŸŽ‰ 4
πŸ‘ 6
😍 2
most recent update! added the 159 areas in the core based statistical area of new york-newark-jersey city (and the 55 community districts/neighborhoods in nyc proper) https://jaanli.github.io/american-community-survey/new-york-area next up, looking at loneliness metrics.
πŸ‘πŸ» 1
πŸŽ‰ 2
πŸ‘ 1
f
awesome
πŸ™ 1