Political migration. How the deputies roam the parties

Country/area: Kyrgyzstan

Organisation: azattyk.org

Organisation size: Big

Publication date: 28 Aug 2020

Credit: Edil Baiyzbekov, Ulukbek uulu Yrysbek

Project description:

It’s the first scrollytelling visual-story using D3 In Kyrgyzstan. The idea was to visualy show how Kyrgyz deputies changed their parties for 25 years.

The lead in project says: “In Kyrgyzstan, deputies unite not around an idea, but to achieve personal goals. So sometimes they change parties.”

The project was in top-10 by GIJN https://buff.ly/3hT6UDW

Impact reached:

It was the first ever visual article in Kyrgyzstan made with D3, JavaScript, scrollytelling and custom layout design. After that another Kyrgyz media Kloop made article using similar visual approach.

Techniques/technologies used:

I used Python for data – scraping, analyzing, cleaning and preparation. Libraries: BS4, pandas, difflib, requests, re.

I used JavaScript for interactive chart and scrollytelling: D3, scrollama.

I used HTML and CSS for layout design.

You can find my visualization code here.

What was the hardest part of this project?

I was new to d3 and it was hard to make this really advanced chart, that uses updates, redrawings, not straight lines, custom matrix and performant animations.

Also it was very hard to find all the data for this project, I used around 8 sources including web archive and legislative documents of the 90s.

Now my repo is the only place in internet where you can find full data of deputies of Kyrgyzstan.

What can others learn from this project?

Journalists can learn how to make this kind of visual project. My code is open.

Project links: