Make Thematic Maps With Cartographer.js

Posted to Maps, Software  |  Nathan Yau

Like it or not, Google Maps mashups continue to be a Web favorite. It’s just so easy to use. Stick a few lines of javascript in your web page, and voila, you’ve got an interactive map. That’s for point-wise data though. It gets a little trickier beyond “you are here” pointers. Cartographic.js, in its first release, aims to make thematic mapping with the Google Maps API easier.

The above is a bubble map for Twitter user locations, and below is a simple choropleth demo.

choropleth with cartographer.js

There’s nothing earth-shattering here, but the above only required a couple lines of code, which I think is something every developer likes to hear.


  • Looks good for an early release. These maps are becoming more and more popular as the foundation for influential presentations.
    I have fallen in love with FortiusOne’s thematic and analytical maps. They made map creation elegantly simple and fun to do.

  • Very nice. Now, make it work at the county level and my prayers will be answered.

  • And theses choropleth maps have all the same disadvantage : the size, colour etc. of indicator depends on the size of the area it is to show. So, the wealth of Luxembourg is less important than the one of Greenland.
    A basic error that would stop you from passing any first year cartographer/geographer course. But great news on the internet.


The Most Unisex Names in US History

Moving on from the most trendy names in US history, let’s look at the most unisex ones. Some names have …

A Day in the Life of Americans

I wanted to see how daily patterns emerge at the individual level and how a person’s entire day plays out. So I simulated 1,000 of them.

Graphical perception – learn the fundamentals first

Before you dive into the advanced stuff – like just about everything in your life – you have to learn the fundamentals before you know when you can break the rules.

Most popular porn searches, by state

We’ve seen that we can learn from what people search for, through the eyes of Google suggestions: state stereotypes, national …