<jupyter_start><jupyter_text>Trellis Area Sort ChartThis example shows small multiples of an area chart. Stock prices of four large companies sorted by [‘MSFT’, ‘AAPL’, ‘IBM’, ‘AMZN’]<jupyter_code>import altair as alt
from vega_datasets import data

source = data.stocks()

alt.Chart(source).transform_filter(
    alt.datum.symbol != 'GOOG'
).mark_area().encode(
    x='date:T',
    y='price:Q',
    color='symbol:N',
    row=alt.Row('symbol:N', sort=['MSFT', 'AAPL', 'IBM', 'AMZN'])
).properties(height=50, width=400)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1624087591240876, 'fraction_numerical': 0.009124087591240875, 'mean_word_length': 5.777777777777778, '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': '426145', 'license': 'MIT', 'n_tokens_mistral': 207, 'n_tokens_neox': 202, 'n_words': 47, 'path': 'doc/gallery/trellis_area_sort_array.ipynb', 'repo_name': 'mattijn/altdoc', 'size': '548'}