← Back to selected work

BBC NEWS · ELECTIONS

2019 Poll Tracker

I built the D3 polling chart and a publishing workflow that let BBC News journalists update the tracker from Slack, including outside developer cover.

BBC News poll tracker showing polling data for the 2019 UK general election.
The public tracker brought together a polling chart, a pictogram and a table.

Keeping the tracker up to date

New polls could come in outside the hours developers were available. I built the data pipeline so journalists could publish updates to the D3 chart, pictogram and table together. The pipeline also used Puppeteer to generate fallback images.

Publishing from Slack

Journalists could start a deployment from their project’s Slack channel. An AWS Lambda function checked that the person was authorised to deploy that project, then triggered a Jenkins pipeline to build, test and publish the update.

The workflow posted progress and failures back to Slack so journalists could see whether the update had gone through.

Reusing the workflow across the newsroom

The department later adopted the deployment workflow. Standard pipeline templates gave teams a starting point for new projects, with room to add project-specific steps such as formatting data or generating fallback content.