While exploring Chart.js, I created a simple project and wrote a blog post to accompany it:
https://devpower.co.uk/javascript/exploring-chartjs-with-star-wars-data/
The fun part was to use Star Wars API and dynamic data coming from an API with the charts. In most examples, I saw hard-coded data was used so I thought it might be useful to explore how to use some data coming from an API.
TL;DR:
- Chart.js is a very easy to use, well-documented and open-source charting library.: https://www.chartjs.org/
- Star Wars API is quite fun to play around with to get some SW trivia. Too bad it's not open source though: https://swapi.dev
Top comments (0)