You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have with me a layered facet chart. The data is kinda tricky and I already use transform_filter before making the chart and choosing only one "category" (type) of data - "case" in this example.
Now what I want to do is to be able to show only those places in the facet which qualify a certain condition like max(case) > 8000wherecaseitself is time series. Since its a time series data I also need to employmaxon thevalueonly for typecasebut I am not able to figure out how to do that. I tried to usetransform` in facet but I am not quite there yet.
The above shows all place. When I update alt.layer... to below then I do get a subset of the facets, but the graphs are not quite right, which is something I understand, as I have not yet figured out how to do max of value for case.
There is a possibility that it may be done better when data is massaged rather than the chart...but as you can imagine, the data was transformed that way to be able to easily study different types. Is there a way where I can just show the places where case is greater than 8000 or any other number?
This discussion was converted from issue #2155 on January 01, 2025 19:22.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have with me a layered facet chart. The data is kinda tricky and I already use
transform_filter
before making the chart and choosing only one "category" (type) of data - "case" in this example.Now what I want to do is to be able to show only those
place
s in the facet which qualify a certain condition likemax(case)
> 8000where
caseitself is time series. Since its a time series data I also need to employ
maxon the
valueonly for type
casebut I am not able to figure out how to do that. I tried to use
transform` in facet but I am not quite there yet.The above shows all
place
. When I updatealt.layer...
to below then I do get a subset of the facets, but the graphs are not quite right, which is something I understand, as I have not yet figured out how to domax
ofvalue
forcase
.There is a possibility that it may be done better when data is massaged rather than the chart...but as you can imagine, the data was transformed that way to be able to easily study different
type
s. Is there a way where I can just show theplace
s wherecase
is greater than 8000 or any other number?Beta Was this translation helpful? Give feedback.
All reactions