This example shows how to include an image
require 'rubyvis' img_url="fixtures/tipsy.gif" vis = pv.Panel.new().width(200).height(200); dot=vis.add(pv.Image) .data([1,2,3,4,5,6]) .bottom(lambda {|d| d*30}) .left(lambda {|d| d*30} ) .width(9) .height(9) .url(img_url) vis.render() puts vis.to_svg