A vector image represents a picture as instructions for paths: where an imaginary pen moves, whether paths are filled, and how strokes look. Unlike raster images, which store colored pixels, vectors can usually scale up or down while maintaining their fidelity. section 1.5.4
Keep these practical distinctions in mind:
- Common vector formats include SVG, EPS, and PDF; common raster formats include JPEG, PNG, GIF, and BMP. section 1.5.4
- Scaling a filled path differs from scaling a pen stroke, whose width may remain specified in a constant number of pixels. section 1.5.4
- Choose raster or vector tools according to the job rather than assuming one image type is universally better. section 1.5.4
A practical visualization workflow
Create a chart with code, export it as an SVG, then refine its design in Adobe Illustrator or Figma. This adds control for a one-time visualization, but is less suitable when a web page must recreate the chart on every load. section 1.6
Compare how scaling a stroke differs from scaling a path, the key caveat behind vector resizing. section 1.5.4

