AashitaK
bubbly
Python

A python package for plotting animated and interactive bubble charts using Plotly

Last updated Jul 2, 2025
47
Stars
8
Forks
2
Issues
0
Stars/day
Attention Score
22
Language breakdown
Python 100.0%
Files click to expand
README

bubbly


Bubbly is a package for plotting interactive and animated bubble charts using Plotly. The animated bubble charts can accommodate up to seven variables viz. X-axis, Y-axis, Z-axis, time, bubbles, their size and their color in a compact and captivating way. Bubbly is easy to use with plenty of customization, especially suited for use in Jupyter notebooks and is designed to work with `plotly's offline mode such as in Kaggle kernels.

Dependencies


  • Python 3.4+
  • numpy
  • pandas
  • plotly
Installation
.. code:: python

pip install bubbly Usage in a Jupyter Notebook


.. code:: python

from future import division from plotly.offline import initnotebookmode, iplot initnotebookmode() from bubbly.bubbly import bubbleplot figure = bubbleplot(dataset=gapminderindicators, xcolumn='gdpPercap', y_column='lifeExp', bubblecolumn='country', timecolumn='year', sizecolumn='pop', colorcolumn='continent', xtitle="GDP per Capita", ytitle="Life Expectancy", title='Gapminder Global Indicators', xlogscale=True, scalebubble=3, height=650) iplot(figure, config={'scrollzoom': True})

.. image:: https://github.com/AashitaK/aashitak.github.io/blob/master/images/bubblechart.gif Please refer to the Jupyter notebook here _ for more examples and illustration of the plotting function bubbleplot`.

Note: I am looking for someone to be the maintainer of this package. If you are interested, please contact me.

🔗 More in this category

© 2026 GitRepoTrend · AashitaK/bubbly · Updated daily from GitHub