create svg before adding data missing text so that it displays even if the histogram doesn't exist yet. add some docs.