---
layout: mark
title: Rule Mark
permalink: /docs/marks/rule/index.html
---

**Rule** marks provide a convenient way to draw individual line segments. A rule is simply a line from (_x_, _y_) to (_x2_, _y2_). One of the primary uses of rule marks is to draw axis ticks and grid lines.

## Example

{% include embed spec="rule" %}

{% include properties.md %}
