Wrapped facet doesn't work with geoshape
See original GitHub issueHi. I’m trying to follow this example: https://altair-viz.github.io/gallery/us_incomebrackets_by_state_facet.html?highlight=wrapped with my own data but it doesn’t seem to be working.
Here is the snipped of code I’m using:
alt.Chart(testData).mark_geoshape().encode(
color='citiStartDiff:Q',
facet=alt.Facet('weekNumber:O', columns=4),
tooltip=['NTAName:N']
).properties(
width=250,
height=250
)
And here is a sample of the data I’m using: https://github.com/juanfrans/data-sample/blob/master/testData.csv
I get the grid of charts and the legend with the appropriate scale range, but the charts are empty.
If I only do one chart with one weekNumber
it works fine.
Any ideas? Thank you.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Faceting a Plot into a Trellis Plot | Vega-Lite
Facet Field Definition; Row/Column Facet Mapping; Facet Headers; Example. Row-Facet; Wrapped Facet. Facet, Row, and Column Encoding Channels.
Read more >Having trouble with facet wrap in ggplot - Stack Overflow
I'm having a bit of difficulty setting up a facet wrap in ggplot with three variables of which two are points and the...
Read more >Graphics.Vega.Tutorials.VegaLite - Hackage
The VegaLite module exports a large number of symbols, but does not use any ... follows Elm VegaLite and requires you to use...
Read more >vega_lite_3 - Rust - Docs.rs
This crate provides a thin wrapper over Vega-Lite v3, as well as a few helpers to help ingest data from various sources and...
Read more >Josh Forman-Gornall - DogDogFish
I will go through some of the design decisions made and problems encountered ... the geo-shape query enables you to perform useful queries...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@joelostblom Thank you so much Joel. I have a vested interest in this issue as well as few more that have origins in Vega-Lite. I am tracking this in my portfolio myself in this visualization - https://armsp.github.io/covidviz/geospatial/vaccine/2021/02/20/vaccine-tracker.html So, as soon as a fix is available, I will comment to close this issue here. Really appreciate the work you do!
Thanks for clarifying @armsp and @juanfrans! I’ve reopened the issue so that it’s easily visible for others until the VegaLite bug is fixed.