Chart.js
Data Visualization & Custom Charts
Worked extensively with Chart.js at MelkRadar, building and delivering more than 50 charts for production while also creating reusable templates and documentation for the design team.

Where It Helps
- Building production-ready charts and data visualizations for web applications
- Creating reusable chart templates and patterns for consistent implementation across teams
- Extending charts with custom configuration and plugins when standard options aren't enough
Story
I've worked with Chart.js a lot. Unfortunately. :)
Most of that experience came from MelkRadar.
Around March 2024, the company needed more than 50 charts prepared and delivered under a very tight deadline. I was the person on the team most comfortable taking on that challenge, learning the library in depth, and building them.
At the same time, part of the work was going to be handled by the design team, so I also needed to teach them how to work with Chart.js and how to build the simpler charts themselves.
Learning the library, building a large number of complicated charts under a tight deadline, and having multiple sessions with the design team to explain how everything worked made that period pretty exhausting for me.
But the result was worth it. The company was able to use all of those charts in one of the most important parts of its product, and eventually I got to see all that work actually being used.
To make working with the design team easier, I created a repository containing the important chart templates the company needed.
I also made a complete 12-page reference for the design team with the chart structures they commonly needed and explanations for how to use and modify them. It basically became their dictionary for working with the charts.
Chart.js is powerful, but I also found it pretty limiting when you start asking for very specific things. Its plugin system can get really complicated too.
I know the library pretty well.
I just don't like it that much anymore.
Probably because of the trauma. :)
با Chart.js خیلی خیلی زیاد کار کردم. متاسفانه. :)
عمده تجربهم باهاش مربوط به شرکت ملکرادار بود.
نزدیک عید ۱۴۰۳ شرکت نیاز داشت بیشتر از ۵۰ چارت تو یه بازه زمانی خیلی فشرده آماده و تحویل داده بشه. توی تیم من راحتتر بودم که این چالش رو بگیرم، لایببری رو درست یاد بگیرم و چارتها رو بسازم.
همزمان قرار شد تیم دیزاین هم بخشی از کار رو انجام بده، برای همین لازم بود کار با Chart.js رو به اونها هم یاد بدم که بتونند چارتهای سادهتر رو خودشون بسازند.
پروسه یاد گرفتن لایببری، ساخت و تحویل تعداد زیادی چارت پیچیده تو زمان خیلی محدود و همزمان جلسههای متعدد با تیم دیزاین برای توضیح نحوه کار، دوره خیلی سنگینی برام بود.
ولی نتیجه خیلی خوب شد. شرکت تونست از همه این نمودارها تو یکی از مهمترین قسمتهای محصولش استفاده کنه و در نهایت دیدم زحمتی که براش کشیده بودم واقعا نتیجه داد.
برای اینکه ارتباط و تحویل چارتها به تیم دیزاین راحتتر باشه، یه ریپازیتوری ساختم و تمپلیت چارتهای مهمی که شرکت نیاز داشت رو توش قرار دادم.
حتی یه فایل کامل ۱۲ صفحهای هم ساختم که ساختارهای مورد نیاز تیم دیزاین و نحوه استفاده و تغییرشون رو توضیح میداد. عملا تبدیل شده بود به دیکشنری تیم دیزاین برای ساخت چارتها.
Chart.js لایببری قدرتمندیه، ولی وقتی درخواستها خیلی خاص میشن میتونه فوقالعاده محدودکننده باشه و سیستم Pluginهاش هم بعضی وقتها خیلی پیچیده میشه.
خیلی خوب میشناسمش.
فقط دیگه اونقدر دوستش ندارم.
احتمالا به خاطر ترامایی که برام ساخته. :)
Ask ChatGPT
Get a summary or ask questions about this page.