i will need to figure out a way to make this code cleaner and smarter, but anyway i can plot just fine now the stacked bars on plot.ly