How to create dashboards & widgets with CartoDB

Last weeks I have been working with DeepInsights.js, the “new” CartoDB’s Javascript library that allows you to create dashboards. This technology is so powerful that can be intimidating. But in this blog post I am going to demonstrate how easy is to create dashboards, widgets and add customized elements. Let’s start!


Read More

How to map NBA player shots using CartoDB

A couple of weeks ago LA Times amazed us with their Kobe’s 30,699 shots visualization. Then they explained us how they made it. In this post, I am going to replicate their process. But in my case, I am going to plot Stephen Curry’s last regular season shots. A little bit of knowledge of the NBA API, few lines of Python and some SQL queries in CartoDB and… BOOM!

Read More

Torque visualizations using CartoDB.js

My #geopropósito for this year is learning Javascript. Quite useful if you want to know how to use all the APIs for webmapping. I started taking a very interesting course about understanding the weird parts of this language. Then I watched all the Javascript for GIS programmers free-tutorials made by Geospatial Training -especially, the one concerning APIs– and also attended the seminary about the ArcGIS API for Javascript organized by GeoDevelopers. But what I needed was practise. So I decided to instead of using the CartoDB editor, I would created my torque animated maps with the CartoDB.js library.

What is the code behind this map? First, it had Python at the backend. If you do not have yet read the post about how to capture data from the Twitter API, do it now! On the other hand, it has some interesting lines of CartoCSS and Javascript at the frontend. I am still working on it because there are some details to add such as title, legend and a better slider. But I believe the main skeleton is set up. First the CartoCSS:

Read More

How to import tweets to CartoDB with Python

I have been quite busy these last couple of weeks. On the 3rd of December I attended to the CartoDBeers and Workshop for data journalists at CartoDB Headquarters to be prepared for the next Spanish general elections. Then on the 5th of this month, Carmen Langa and me organized a kids map workshop at Medialab-Prado. But this requires a whole blog post to explain how much fun we had! Finally, last thursday I went to Campus Madrid at the last stop of the LocationTech Tour. It was quite interesting to listen to all the people from CartoDB, QGIS, Glob3mobile and Boundless.

And in the meantime I manage to figure out how to import tweets from twitter to CartoDB using Python:

Read More