Categories: Visualizations

Behind the CNN-IBN Microsoft EAC

Reading Time: 2 mins

Here’s a brief overview of the technology that’s powering the CNN-IBN Microsoft Election Analytics Centre. (That’s the site behind http://bing.com/elections and http://ibnlive.in.com/general-elections-2014/analytics/.)

The entire EAC is sitting on a single server in Southeast Asia, hosted on Azure.  It’s a virtual machine provisioned with 4-cores and 7GB of RAM. Over the last 2 weeks, it has served 2 million requests with a peak CPU utilisation of less than 1%.

The system runs Ubuntu 12.04 LTS, with nginx as the front-end proxy. nginx has been tested with loads of 10,000 concurrent requests.

Behind this runs 4 load-balanced instances of the Gramener visualisation server. These create the actual visualisations that are displayed on Bing and IBNLive.

All visualisations are rendered as SVG, which makes it easier to scale across devices, as well as making them amenable to animation. On the server side, the Gramener visualisation server (which is written in Python) generates the SVG using templates.

The traffic follows a predictable pattern. The bulk of the visits are between 10am and midnight, with significant drops during weekends.

The early enthusiasm during the first few days of polling has calmed down, and is replaced by the steady interest of the enthusiasts. The traffic will, of course, spike during the elections.

The popular are well represented in this mix, with Chrome leading at around 56%, followed by Internet Explorer at 27% and Firefox at 17%.

Mobile devices are well represented too, with Windows Phone leading at 55% share, followed by Android at 24%, iPad at 11% and iPhone at 12%. (BlackBerry, for the curious, is under 0.5%)

Of the visuals themselves, the most popular (by far) is the cartogram, followed by the stack bar summarising the history of all elections so far.

Following in popularity are the constituency page, state page, factoids page, summary statistics page and patterns page.

Over the next few weeks, we plan to add more visualisations, covering how the country performed under various governments, how manifestos of parties differ, the live status of parties on counting day, and so on. Stay tuned.

Gramener - A Straive Company

Gramener – A Straive company is a design-led data science firm. We build custom Data & Al solutions that help solve complex business problems with actionable insights and compelling data stories.

Leave a Comment
Share
Published by
Gramener - A Straive Company
Tags: Election

Recent Posts

Top 5 Benefits of Visual Inspection Systems You Must not Ignore

Are you struggling with lengthy and labour-intensive processes of manual inspection at your manufacturing? You… Read More

2 weeks ago

AI for Inventory Optimization – Maximizing Efficiency and Minimizing Costs

Managing smarter inventory is always challenging: too much stock consumes money, while too little results… Read More

1 month ago

How Does Computer Vision Help With Managing Perishable Goods?

The global food industry faces significant losses daily due to the spoilage of perishable goods.… Read More

2 months ago

Enhancing Warehouse Accuracy with Computer Vision

In today’s fast-paced world of e-commerce and supply chain logistics, warehouses are more than just… Read More

2 months ago

How AI is Redefining Quality Control and Supercharging OEE Optimization?

What does it mean to redefine the future of manufacturing with AI? At the heart… Read More

3 months ago

How is AI Transforming Cold Chain Logistics in Healthcare?

In 2022, Americans spent USD 4.5 trillion on healthcare or USD 13,493 per person, a… Read More

3 months ago

This website uses cookies.