CARTO is growing fast. With lots of new exciting features to play with, there are a few basic ones that may be forgotten. For example, you could create charts just using the SQL API.

In this example, I’ve used the SQL API along with chart.js to create a simple graph of Spain’s population by province.

Code is really simple. So, just give it a try 🙂

The code is based in this block from Andy Eschbacher