.. currentmodule:: altair

.. _user-guide-circle-marks:

Circle
~~~~~~

``circle`` mark is similar to ``point`` mark, except that (1) the ``shape`` value is always set to ``circle`` (2) they are filled by default.

Circle Mark Properties
^^^^^^^^^^^^^^^^^^^^^^
A ``circle`` mark definition can contain any :ref:`standard mark properties <mark-properties>`
and the following special properties:

.. altair-object-table:: altair.MarkDef
   :properties: size

Scatter Plot with Circle
^^^^^^^^^^^^^^^^^^^^^^^^

Here is an example scatter plot with ``circle`` marks:

.. altair-plot::
   import altair as alt
   from altair.datasets import data

   source = data.cars.url

   alt.Chart(source).mark_circle().encode(
      x=("Horsepower:Q"),
      y=("Miles_per_Gallon:Q"),
   )


