Election maps with the power and beauty of CartoDB

Summary

This post may describe functionality for an old version of CARTO. Find out about the latest and cloud-native version here.
Election maps with the power and beauty of CartoDB


##_NOT_FOUND_IMAGE_## https://i.imgur.com/FTvfdEq.png ##_NOT_FOUND_IMAGE_##

Election maps are an interesting challenge for digital media: millions of people are awaiting the results hitting F5 endlessly in their desktops and accessing from their mobile devices (that means: from everywhere!) at the time that data comes bit by bit in what seems a very slow night. Receiving processing and publishing this data in an appealing way to offer an interactive application that enables the usable discovery and browsing of the election data is not an easy task.

But this is one of the situations where CartoDB comes to the rescue making easy and beautiful what before was hard and -many times- ugly. With the CartoDB Platform you can easily push real time updates of your data to populate your visualizations. The CartoDB infrastructure provides all needed to serve millions of users visiting your maps. But when you mix those two things it is recommended that you follow some guidelines to ensure optimal performance.

The key point is to avoid the continuous invalidation of the generated caches by not doing updates more than it is really needed.

Guidelines

  1. Only update data when new data is really available
  2. Update your data within reason and in batch. 5 minutes seems perfect
  3. Make updates with a single statement (as explained in Faster data updates with CartoDB )
  4. Make sure to use the latest version of cartodb.js library

As a bonus point consider showing us your application before going public to check things that could be optimized.

Some great election maps: live examples


##_NOT_FOUND_IMAGE_## https://i.imgur.com/7HKFjXn.gif ##_NOT_FOUND_IMAGE_##


##_NOT_FOUND_IMAGE_## https://i.imgur.com/8Vu7VO6.png ##_NOT_FOUND_IMAGE_##

Why CartoDB is the best tool for election maps

  • Real time updates
  • Quick deploy times
  • Easy unlimited visual styling and customization
  • Built-in interactivity: data filtering infowindows
  • Seamless integration with your publication systems
  • Embeddable maps: let your users republish your maps
  • Easy redistribution of data in re-usable format: let your users consume the raw data you have processed

Further resources

Sign up for a CartoDB account to start testing its possibilities or contact sales to let us know your needs.