Export histogram