Refactor of data bind for graphics generation