Fix chart not always showing up

Had added a check on @data existing that would bail if it didn't exist,
but it doesn't seem necessary and was causing the chart not to render
sometimes.