DEV Community

Igor Kasyanchuk
Igor Kasyanchuk

Posted on

Sparkline charts in Ruby on Rails app

Hello, just want to present our new gem: https://github.com/railsjazz/peity_vanilla_rails

If you need something like below:

Image description

You can generate it with one line of code:

<%= peity_line_chart([115,123,234,-113,-43,-223,127,332,152,233]) %>
Enter fullscreen mode Exit fullscreen mode

It works without any 3rd party dependencies (like jQuery or React).

Give it a try and I hope to get a star from you!

If someone want's to contribute it would be great!

Top comments (0)