liveBook · Manning

SVG

SVG, or Scalable Vector Graphics, is an XML-based standard and file format for describing scalable, resolution-independent two-dimensional vector graphics.

How 2 Manning books explain it

D3.js in Action, Third Edition

SVG is the Scalable Vector Graphics standard for describing resolution-independent two-dimensional graphics with XML-based elements.

How it is used
Builds D3 visualizations from DOM-based vector shapes whose attributes encode visible marks.
How deep it goes
Explains containers, coordinates, responsive viewBox sizing, core shapes, styling, grouping, and DOM order through a gallery exercise.
Examples
Builds a gallery containing lines, rectangles, circles, ellipses, paths, text, and translated groups, then creates a line-chart container.
What you can do after
Build it from scratch by placing, styling, grouping, and responsively sizing SVG marks for D3 charts.

Read how D3.js in Action, Third Edition explains SVG →

Tiny CSS Projects

SVG is an XML-based standard for describing two-dimensional vector graphics.

How it is used
Uses SVG rectangles to create a responsive loading graphic that communicates an ongoing task.
How deep it goes
Explains vector coordinates, basic shapes, responsive rectangle placement, and styling access; leaves irregular paths unused.
Examples
Shows eleven spaced rectangles in a responsive loader and CSS fill colors applied to individual bars.
What you can do after
Build it from scratch: position SVG rectangles in a responsive loader and style their fills with CSS.

Read how Tiny CSS Projects explains SVG →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.