picatz / chart_js

📈📊📉 A simple ruby DSL to build responsive charts for the web using Chart.js
MIT License
9 stars 2 forks source link

Pi-Charts #5

Closed noraj closed 4 years ago

noraj commented 4 years ago

What are the difference between Pi-Charts and chart_js ?

picatz commented 4 years ago

chart_js provides a DSL-style syntax to do roughly the same thing. In general, both of these were experiments in using Ruby to generate Chart.js visualizations.

But, I tend to not use these gems anymore. These days I would much prefer to perform the client-side stuff in something like Svelte and then the backend API in Ruby or Go to feed the chart with information.

noraj commented 4 years ago

These days I would much prefer to perform the client-side stuff in something like Svelte and then the backend API in Ruby or Go to feed the chart with information.

Seems like a good idea to build a web app.

But, I tend to not use these gems anymore.

I was more wishing to build a rubygems CLI tool that generates some charts rather than a web app. But maybe a CLI tool that opens a webapp on localhost is more suitable for visualization all will allow to sue numerous chart libs targeting RoR/Sinatra.

picatz commented 4 years ago

Totally agree with the webapp on localhost idea. 👍