Added field visualization example.

Also fixed namespace issue.