Logo

dev-resources.site

for different kinds of informations.

Exploring Chart.js with Star Wars data

Published at
5/30/2022
Categories
javascript
chartjs
swapi
Author
devpower
Categories
3 categories in total
javascript
open
chartjs
open
swapi
open
Author
8 person written this
devpower
open
Exploring Chart.js with Star Wars data

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

Featured ones: