DEV Community

Igor Kasyanchuk
Igor Kasyanchuk

Posted on

5 4

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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more