DEV Community

Dev Power
Dev Power

Posted on

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

Top comments (0)

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay