liveBook · Manning

Proportion

Also called percentage, percent

A ratio expressing a quantity relative to a whole or reference quantity, commonly represented as a fraction, decimal, or percentage.

How 4 Manning books explain it

Math for Web Design

A proportion is a mathematical relationship expressing the relative sizes of quantities or parts.

How it is used
Uses relative sizes to make layouts adapt to their containers and to express reading progress.
How deep it goes
Works through property-specific percentage references, nested multiplication, box-model effects, and a three-stage fixed-to-liquid conversion.
Examples
Calculates nested widths, converts an article-and-aside layout, and scales a hero image to its container.
What you can do after
Build it from scratch by converting fixed widths and spacing into percentages within a maximum-width liquid layout.

Read how Math for Web Design explains proportion →

Web Design Playground, Second Edition

A CSS percentage is a relative numeric value resolved against a context-dependent reference dimension.

How it is used
Supports liquid layouts by sizing horizontal measurements relative to available space instead of fixed pixels.
How deep it goes
Works through parent-relative width with numbers and gives spacing guidelines, but does not develop percentage-height resolution rules.
Examples
Uses an 800-pixel parent with a 75% child width and a responsive CSS listing that mixes percentage padding with rem spacing.
What you can do after
Apply it via CSS percentage widths and horizontal spacing, then recognize when cramped columns or surprising spacing call for another approach.

Read how Web Design Playground, Second Edition explains proportion →

Grokking Statistics

The fraction or percentage of a population possessing a specified categorical attribute.

How it is used
Measures categorical population attributes and supports confidence intervals and hypothesis tests for proportions.
How deep it goes
Defines P and p̂, explains sampling distributions and standard error, and works through confidence intervals without formal derivations.
Examples
Uses biking to work, sedentary lifestyles, daily steps, and video-game participation as categorical or percentage examples.
What you can do after
Apply proportions via Python and SciPy to calculate sample proportions, sampling probabilities, and confidence intervals.

Read how Grokking Statistics explains proportion →

Everyday Data Visualization

A proportion expressed as a number out of one hundred.

How it is used
Uses percentages to normalize comparisons and prevent population size or presentation choices from obscuring the intended insight.
How deep it goes
Explains normalization through practical chart examples, while stopping short of mathematical derivations or implementation details.
Examples
Uses sales per customer, voter turnout, county vote totals, and currency-versus-percentage reporting.
What you can do after
Apply percentages to choose fairer metrics and communicate comparisons without misleading visual emphasis.

Read how Everyday Data Visualization explains proportion →

Also covered in

What to know first

Related concepts

Questions about proportion

What is proportion?

A ratio expressing a quantity relative to a whole or reference quantity, commonly represented as a fraction, decimal, or percentage.

Which Manning books explain proportion?

Math for Web Design, Web Design Playground, Second Edition, Grokking Statistics and Everyday Data Visualization.

What should I know before learning proportion?

Manning books that teach proportion usually introduce pixel, em, flexbox and mean first.

What kinds of proportion are there?

Kinds of proportion include synthetic data proportion.

What is proportion also called?

Proportion is also called percentage or percent.

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.