Introduction
In this article, I will try to reproduce one of Our World in Data charts using Plotly animation on Jupyter.
ourworldindata.org is an excellent website and I really like their visualizations.
The above chart can animate the graph, highlight lines, select different cases on the right side, select LINEAR and LOG buttons, and select countries you want to display.
The project is an open-source project and you can explore their GitHub repo.
It is a JavaScript-based app, using MySQL as a database and React, Mobx, TypeScript, Node, Express, D3, and other JavaScripts.
Plotly supports creating animations, buttons, and selectable lines.
However, current Plotly animations have some limitations, and smooth inter-frame transitions are only possible for a scatter and bar chart. It does not support a checkbox, even though PlotlyDash which is a Python framework for building web applications supports Checklist.
#line-chart-animation #python #data-visualization #plotly #data-science