Three cartography tricks for making CARTO BUILDER maps

Almost one year from last blog post, here we are again. Lots of things have happened since then. I would like to mention some key events such as CARTO Locations, SIGLibre (where I gave a talk about A series of unfortunate maps) and several GeoInquietos Madrid talks and workshops.

This time I will give you some easy tips to elaborate very useful artifacts with BUILDER STYLE UI but also switching to a more pro mode with CartoCSS. Before reading further, I will recommend to have a look at CARTO’s Styling Guides. They were written by Mamata Akella, the real expert here. But if you want to skip go through those guides, log into your CARTO account and follow the instructions below. In doing so, at the end of the day, you will be able to create outstanding visualizations in a manner of minutes displaying markers as beacons and fireflies among others.

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

3D buildings with CartoCSS!

Sorry, I lied. You cannot make 3D buildings with just CartoCSS. You also need SQL. I promise you it will be quickly and painless. But first, you need a dataset from a city. This has to be made by polygons representing buildings areas and must also have a height field. I downloaded one of Brooklyn from NYC OpenData.

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 geocode and visualize your data with CartoDB

In the last post we geocode our data with R. But the geocoding process did not work enterely right. Some points were badly geolocated. In this post, I will explain how to subset these outliers, correct their coordenates and finally, visualize the entire dataset both using R and CartoDB.

Read More