React Js Add Array Python Size Function In Ggplot2