# Returns a string representing a list of numeric values as a spark graph/bar chart

``

    spark_graph

Given a list of numeric values, this method turns them into a string of bar heights. Useful for quickly graphing the shape of an array. Remember to use puts so you can see the output. See `spark` for a simple way of printing a spark graph.

Introduced in v2.5

## Examples

# Example 1
``
    puts (spark_graph (range 1, 5))
| ``
    #=> ▁▃▅█
# Example 2
``
    puts (spark_graph (range 1, 5).shuffle)
| ``
    #=> ▃█▅▁