legend to data visualization chart and design fix