---
layout: example
title: Scatter Plot Example
permalink: /examples/scatter-plot/index.html
spec: scatter-plot
image: /examples/img/scatter-plot.png
---

[Scatter plots](https://en.wikipedia.org/wiki/Scatter_plot) are ideal for visualizing the relationship between two quantitative variables. This example plots horsepower vs. mileage for a data set of cars. A size encoding is used to additionally depict acceleration.

{% include example spec=page.spec %}
