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)

Image of Datadog

Get the real story behind DevSecOps

Explore data from thousands of apps to uncover how container image size, deployment frequency, and runtime context affect real-world security. Discover seven key insights that can help you build and ship more secure software.

Read the Report