add example for popchart.py