<jupyter_start><jupyter_text>Becker's Barley Trellis Plot----------------------------This example shows how to make a Trellis Plot with the barley dataset.<jupyter_code>import altair as alt
alt.data_transformers.enable('json')
from vega_datasets import data

source = data.barley()

alt.Chart(source).mark_point().encode(
    alt.X('median(yield)', scale=alt.Scale(zero=False)),
    alt.Y(
        'variety',
        sort=alt.SortField(field='yield', op='median', order='descending'),
        scale=alt.Scale(rangeStep=20)
    ),
    color='year:N',
    row='site'
)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.18288590604026847, 'fraction_numerical': 0.003355704697986577, 'mean_word_length': 3.738095238095238, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '78291', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 203, 'n_tokens_neox': 195, 'n_words': 38, 'path': 'notebooks/examples/beckers_barley_trellis_plot.ipynb', 'repo_name': 'pydatawrangler/altair_notebooks', 'size': '596'}