Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

https://www.chartjs.org/

It's pretty easy to configure and understand. It's the 80/20 principal of charts, it is 80% of D3 functionality for 20% the effort.



+1 for chart.js - use it for most charting needs and even created a Wagtail app[1] that uses Chart.js on the frontend to render charts based on user input.

[1] https://github.com/overcastsoftware/wagtailcharts


Ditto here. I thought I'd try Apex Charts on my most recent project and regret it:

- mobile support works, but is poorly done - very heavy library to load - RAM intensive; a few charts w/ lots (e.g. ~100) data points spirals out of control (e.g. memory spikes from 60 MB to 700 MB). On mobile this basically guarantees that the tab crashes. - UI interactions feel laggy and lack responsiveness (e.g. panning is pure guesswork)

I thought the SVG vs canvas focus would be nice, but not at these costs.


+1 I use chartjs for the web version of fatgpt.ai. It easy to setup and you can get charts going very quickly.

If I needed more dense data viz (ex a datadog-like system) I'd probably go with something D3 based


+1. I use it in https://tagely.com and it works great.


I like chartsjs, better than what a $200bn company in Salesforce can come up with..




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: