.. SPDX-License-Identifier: BSD-2-Clause
   Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org

.. _ex_sparklines1:

Example: Sparklines (Simple)
============================

Example of how to add sparklines to a XlsxWriter worksheet.

Sparklines are small charts that fit in a single cell and are used to show
trends in data.

See the :ref:`sparklines` method for more details.

.. image:: _images/sparklines1.png

.. literalinclude:: ../../../examples/sparklines1.py

