Head to Lego.com — the official site has a minifigure builder where you pick heads, torsos, legs and accessories and see the result in 3D.
If you want a physical version, the same site's Minifigure Factory service lets you order a printed figure, though availability varies by region.