<commit_before>"""
Binned Scatterplot
-----------------
This example shows how to make a binned scatterplot.
"""

import altair as alt
from vega_datasets import data

source = data.movies()

chart = alt.Chart(source).mark_circle().encode(
    x = alt.X('IMDB_Rating',  bin = alt.BinParams(maxbins=10)),
    y = alt.Y('Rotten_Tomatoes_Rating',  bin = alt.BinParams(maxbins=10)),
    size = 'count(IMDB_Rating)'
)  <commit_msg>added in the * instead of the name<commit_after>"""
Binned Scatterplot
-----------------
This example shows how to make a binned scatterplot.
"""

import altair as alt
from vega_datasets import data

source = data.movies()

chart = alt.Chart(source).mark_circle().encode(
    x = alt.X('IMDB_Rating',  bin = alt.BinParams(maxbins=10)),
    y = alt.Y('Rotten_Tomatoes_Rating',  bin = alt.BinParams(maxbins=10)),
    size = 'count(*):Q'
)  
{'fraction_non_alphanumeric': 0.17033603707995365, 'fraction_numerical': 0.009269988412514484, 'mean_word_length': 3.6956521739130435, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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}}
{'dir': 'git-commits-cleaned', 'id': '5993884', 'n_tokens_mistral': 305, 'n_tokens_neox': 293, 'n_words': 74}