facet_wrap in altair?
See original GitHub issueI’d like to suggest the equivalent of ggplot2’s facet_wrap in altair.
Right now, it’s possible to have facets plot in a single column (.facet(row
) or in a single column (.facet(column
), or even as a grid, but often, it’s useful to just lay out a ribbon of charts one after another (not necessarily mapping a column or row to variables in the data frame) using more than one column/row. In other words, those that line up in a single column/row don’t mean anything in particular.
I asked this question on SO first to see if there was already a way to do this in altair, but it seems rather involved (i.e. not as slick as facet_wrap
):
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
multiple column/row facet wrap in altair
Creating a facet_wrap() style grid of plots · First, create a base Altair chart · Use transform_filter() to filter your data into multiple ......
Read more >altair.Facet — Altair 4.2.0 documentation
Facet. Aggregation function for the field (e.g., "mean" , "sum" , "median" , "min" , "max" , "count" ).
Read more >Python – multiple column/row facet wrap in altair – iTecNote
In ggplot2 , it's easy to create a faceted plot with facets that span both rows and columns. Is there a "slick" way...
Read more >altair line up concatenated charts into a grid
I'd like to suggest the equivalent of ggplot2's facet_wrap in altair. Right now, it's possible to have facets plot in a single column...
Read more >How to use to facet_wrap in ggplot2
facet_wrap creates small multiple charts in ggplot2 ... The small multiple chart is a chart where a data visualization is repeated in several ......
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
This is now part of Altair as of version 3.0. For example:
It will be part of the 3.0 release. Once that is out, we’ll make an Altair 3.0 release that will include facet wrap.