liveBook · Manning

Dimension

Also called dimensionality, axis, axes

A dimension is an independent coordinate or feature axis used to represent points or data; the dimensionality of a representation is the number of such axes or components.

How 11 Manning books explain it

D3.js in Action, Third Edition

A chart axis is a reference line with a scale, ticks, and often labels that communicates values or categories in a chart.

How it is used
Makes chart dimensions readable by giving positioned values or categories a visible reference.
How deep it goes
Works through scale selection, SVG axis generation, placement, tick formatting, and labels; also constructs axes manually in React.
Examples
Uses a monthly temperature chart, a salary histogram, gender-separated box plots, and a React scatterplot.
What you can do after
Build it from scratch with SVG elements, or apply it via D3 axis generators to label and position chart dimensions.

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

Robotics for Programmers

A dimension is the minimum number of independent coordinates required to specify the position of any point in a space.

How it is used
Uses dimension to choose the coordinates needed for representing robot positions and analyzing motion.
How deep it goes
Defines dimension, distinguishes it from pose parameters, and stops short of treating higher-dimensional spaces.
Examples
Uses (x, y), (x, y, z), planar SnackBot abstraction, and comparisons of 1D, 2D, and 3D spaces.
What you can do after
Evaluate whether a robot position requires one, two, or three independent coordinates.

Read how Robotics for Programmers explains dimension →

Advanced Algorithms and Data Structures

A dimension is an independent coordinate axis or degree of freedom needed to specify a point in a space.

How it is used
Organizes points and similarity data by representing each entry across multiple coordinate axes.
How deep it goes
Explains coordinate representation and partitioning consequences, then applies dimensionality to k-d tree deletion and SS-tree structures.
Examples
Uses ℝ², complex numbers, Cartesian-plane partitions, k-d tree points, and SS-tree k-dimensional tuples.
What you can do after
Evaluate how ignoring coordinates affects spatial partitioning and represent dimensionality in multidimensional index structures.

Read how Advanced Algorithms and Data Structures explains dimension →

Everyday Data Visualization

The blue-yellow axis is a color-space dimension whose opposing directions represent blue and yellow.

How it is used
Locates blue–yellow changes within CIELAB when selecting and tweaking visualization colors.
How deep it goes
Defines b* by its positive and negative directions and relates it to the other CIELAB coordinates, without deriving the mathematics.
Examples
Shows CIELAB color-space slices at lightness values of 75 and 25.
What you can do after
Evaluate/understand it: distinguish blueward and yellowward shifts from changes in lightness or the red–green axis.

Read how Everyday Data Visualization explains dimension →

Build Python Web Apps with Streamlit

A dimension is a categorical or descriptive attribute by which data can be grouped, filtered, or analyzed.

How it is used
Uses dimensions to group, filter, and compare dashboard metrics across products, demographics, geography, and time.
How deep it goes
Explains dimensions through dashboard requirements and grouped chart data, then stops short of broader data-modeling theory.
Examples
Demonstrates product, category, segment, gender, age group, state, and date using sales-dashboard CSV rows and pie-chart groupings.
What you can do after
Apply it via pandas grouping to prepare dimension-level values for Plotly and Streamlit dashboard charts.

Read how Build Python Web Apps with Streamlit explains dimension →

Grokking AI Algorithms, Second Edition

Embedding size is the number of numerical dimensions in each learned vector representation.

How it is used
Uses dimension to describe feature coordinates, search-space complexity, and Transformer embedding width.
How deep it goes
Explains dimensions through concrete examples and defines embedding width, but does not detail vector operations or representation learning.
Examples
Illustrates dimension with pepper attributes, diamond measurements, and toy and real-world Transformer widths.
What you can do after
Evaluate embedding width and recognize how added features expand datasets or optimization search spaces.

Read how Grokking AI Algorithms, Second Edition explains dimension →

Data Without Labels

A dimension is an independent feature or coordinate axis describing each observation in a data representation.

How it is used
Supports clustering and dimensionality reduction by representing observations with manageable numerical or derived features.
How deep it goes
Explains dimension reduction through selection, mathematical transformation, categorical encoding, and worked variable-combination formulas.
Examples
Uses city categories, retail transactions, and monthly telecom call minutes to demonstrate expanded, combined, and aggregated dimensions.
What you can do after
Apply selection, encoding, aggregation, and derived-variable construction to reduce or restructure dataset dimensions.

Read how Data Without Labels explains dimension →

Designing AI Systems

Dimensionality is the number of scalar values composing a vector representation.

How it is used
Sets the vector size for embeddings configured at the index level.
How deep it goes
Defines dimensionality and its storage and similarity-speed tradeoffs, without quantifying retrieval effects.
Examples
Shows an index configuration with embedding_dimensions set to 1536 and text-embedding-3-small as the default model.
What you can do after
Configure an index’s embedding dimensions and plan model changes through re-ingestion, validation, traffic switching, and rollback.

Read how Designing AI Systems explains dimension →

Math for Web Design

An axis is a reference direction in a coordinate system along which a component or position is measured.

How it is used
Explains how CSS and JavaScript measure positions, size elements, place grid content, and represent colors.
How deep it goes
Defines axes through viewport, grid, color, and vector examples, but stops short of a general mathematical treatment.
Examples
Uses viewport positioning, CSS Grid cells, LAB color axes, viewport-sized heroes, and two-dimensional movement vectors.
What you can do after
Apply it via CSS and JavaScript to reason about positions, responsive sizes, grid placement, colors, and movement.

Read how Math for Web Design explains dimension →

Grokking Machine Learning, Second Edition

A coordinate or independent attribute needed to specify a data point, corresponding here to a dataset column.

How it is used
Uses the number of dataset columns to describe data complexity and motivate dimensionality reduction.
How deep it goes
Explains dimensions through columns, coordinates, geometric spaces, and sentence vectors before applying the idea to classifiers.
Examples
Illustrates dimensions with housing columns, room-price coordinates, city addresses, and word-count sentence points.
What you can do after
Evaluate/understand how columns become coordinates and how data occupies spaces with different numbers of dimensions.

Read how Grokking Machine Learning, Second Edition explains dimension →

Math and Architectures of Deep Learning

The number of independent coordinates in an input space, used here to distinguish one-dimensional from two-dimensional constructions.

How it is used
Frames vectors, model inputs, outputs, and geometric transformations as points in spaces of varying dimension.
How deep it goes
Defines dimensions geometrically and extends them to hyperellipses, stopping short of a broader dimensionality treatment.
Examples
Uses plane coordinates, a page-corner vector, and a two-dimensional hyperellipse implemented with PyTorch.
What you can do after
Evaluate/understand how coordinate counts determine vector spaces and how two-dimensional constructions extend to multiple dimensions.

Read how Math and Architectures of Deep Learning explains dimension →

Also covered in

What to know first

Related concepts

Questions about dimension

What is dimension?

A dimension is an independent coordinate or feature axis used to represent points or data; the dimensionality of a representation is the number of such axes or components.

Which Manning books explain dimension?

D3.js in Action, Third Edition, Robotics for Programmers, Advanced Algorithms and Data Structures, Everyday Data Visualization, Build Python Web Apps with Streamlit, Grokking AI Algorithms, Second Edition, Data Without Labels, Designing AI Systems and 3 more.

What should I know before learning dimension?

Manning books that teach dimension usually introduce embedding, SQL, accuracy and vector first.

What kinds of dimension are there?

Kinds of dimension include space dimension.

What is dimension part of?

Dimension is part of 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.

What is dimension also called?

Dimension is also called dimensionality, axis or axes.

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.