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)

SurveyJS custom survey software

JavaScript Form Builder UI Component

Generate dynamic JSON-driven forms directly in your JavaScript app (Angular, React, Vue.js, jQuery) with a fully customizable drag-and-drop form builder. Easily integrate with any backend system and retain full ownership over your data, with no user or form submission limits.

Learn more