DOC: Cleaned up trellis scatter example
@@ -7,10 +7,10 @@ This example shows how to make a trellis scatter plot.
import altair as alt
from vega_datasets import data
-source = data.movies.url
+source = data.cars()
alt.Chart(source).mark_point().encode(
- x='Worldwide_Gross:Q',
- y='US_DVD_Sales:Q',
- column='MPAA_Rating:N'
+ x='Horsepower:Q',
+ y='Miles_per_Gallon:Q',
+ row='Origin:N'
)
