For our election coverage we wanted to show a mix of commentary and live information on the night of. Live commentary means video as well as a chat component but the hardest part was delivering live data results without having the page to refresh, which would interrupt the
video and be entirely too slow.
To solve that problem, we’re using CartoDB’s real-time election map which lets us make changes to our data on the backend and have the results fade in as results are pushed to our readers. We added a few details such as number tallies that tick up one by one so readers can see changes when a lot of states are called at once. We also made the numbers of recently called states to green so that you can see at a glance which states were newly called this round.
As a contingency we also have some views in place that will kick in automatically in case a state is marked as “Disputed” or if it ends in a tie.
After tonight, the map will live on here. We hope you like it!
Here’s a little peak behind the curtain at how we put together the interactive that’s taken over our homepage.
Our live video just started. This is a pretty great election night dashboard if we do say so ourselves.
President Obama responds to 10-year-old’s letter about her two gay dads.
“I am so glad that you agree two men can love each other because I have two dads and they love each other, but at school kids think that it’s gross and weird, but it really hurts my heart and feelings…,” Sophia wrote last week.
His response, which was no form letter:
“They are lucky to have such an exceptional daughter in you.”
“…We recognize that whether you have two dads or one mom what matters above all is the love we show one another. You are very fortunate to have two parents who care very deeply for you.”
President Obama greets Mitt Romney’s grandson, Miles, following the last presidential debate on Monday night. “I think you won, Mr. President,” Miles didn’t say, not adding “Grandpa is kinda dopey.” (Pool photo: Rick Wilking / EPA via The New York Daily News)