liveBook · Manning

Coordinate system

A coordinate system is a reference framework that assigns numerical coordinates to points or positions relative to defined origins, axes, or other references.

How 5 Manning books explain it

D3.js in Action, Third Edition

A coordinate system is a reference framework that locates points using an origin and coordinate values.

How it is used
Positions SVG shapes and establishes a separate plotting area inside a margin-based line chart.
How deep it goes
Explains the SVG origin and axis directions, then implements an inner coordinate system with a translated group.
Examples
Uses positioned SVG lines and shapes, plus a translated group for a line chart.
What you can do after
Build it from scratch: position SVG shapes and offset a chart’s plotting area without adjusting every element individually.

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

Math for Web Design

A two-dimensional coordinate system formed by perpendicular axes for locating points with ordered pairs.

How it is used
Locates points for CSS layout, DOM measurements, pointer interactions, and element-relative shapes.
How deep it goes
Defines axes, origins, and ordered pairs, then works through viewport, page, Grid, and element-local coordinates.
Examples
Uses a pointer-following tooltip, a CSS Grid plane, and a percentage-based clipped diamond.
What you can do after
Apply it via CSS Grid, CSS clip-path, and JavaScript DOM APIs to place UI elements using the intended origin.

Read how Math for Web Design explains coordinate system →

Digital Twins in Action

A coordinate system is a framework for specifying the position of points using numerical coordinates relative to defined axes or references.

How it is used
Aligns physical models and sensor data to provide spatial context in digital twins.
How deep it goes
Explains georeferencing and demonstrates a local-to-global coordinate transformation with a JavaScript listing.
Examples
Uses sensor readings on a home floor plan and a georeferenced 3D home model to illustrate spatial placement.
What you can do after
Apply local-to-global coordinate transformations using CesiumJS to position sensor readings in a 3D scene.

Read how Digital Twins in Action explains coordinate system →

Math and Architectures of Deep Learning

A coordinate system with perpendicular axes used here as the original input-space representation before latent transformation.

How it is used
Frames machine-learning inputs and outputs as points whose numerical representations depend on chosen axes.
How deep it goes
Defines coordinate dependence, then develops rotations, diagonalization, and eigenvector-aligned axes for hyperellipses.
Examples
Uses page coordinates, a two-dimensional hyperellipse, eigenvector angles, and PyTorch code as concrete illustrations.
What you can do after
Apply it via PyTorch to represent points and rotate coordinates until a symmetric ellipse matrix becomes diagonal.

Read how Math and Architectures of Deep Learning explains coordinate system →

Systems Programming with Zig

A coordinate system is a framework that assigns numerical coordinates to positions in a geometric space.

How it is used
Gives graphics vectors interpretable frames, linking screen-space interface drawing and mouse input to shader-transformed geometry.
How deep it goes
Defines screen space and normalized device coordinates, then explains clip-space division by w and clipping while leaving depth unused.
Examples
Uses window pixels, a centered coordinate cube, and a triangle exercise to illustrate coordinate frames.
What you can do after
Understand how coordinate frames give graphics vectors meaning and distinguish screen pixels from shader coordinates.

Read how Systems Programming with Zig explains coordinate system →

Also covered in

What to know first

Related concepts

Questions about coordinate system

What is coordinate system?

A coordinate system is a reference framework that assigns numerical coordinates to points or positions relative to defined origins, axes, or other references.

Which Manning books explain coordinate system?

D3.js in Action, Third Edition, Math for Web Design, Digital Twins in Action, Math and Architectures of Deep Learning and Systems Programming with Zig.

What should I know before learning coordinate system?

Manning books that teach coordinate system usually introduce CSS, Document Object Model, origin and array first.

What kinds of coordinate system are there?

Kinds of coordinate system include normalized device coordinate, right-handed Cartesian coordinate system, screen space, celestial coordinate system and cylindrical coordinate system.

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.