Graph implementation

thank u,but i require one view and one controller code
for running gruff,and how will i show it in browser…
please help with simple code…