horizontal bar chart

On Visualization add-on visual examples there’s a bar chart whose bars are set horizontally.
Can you pls explain how this is done?
Thanks,
Maayan

The source code for the demo application can be found
here
. It’s listed under the ‘Related Links’ section on the add-on page.