liveBook · Manning

Logarithmic scale

A logarithmic scale represents values according to their logarithms, so equal intervals correspond to equal multiplicative ratios rather than equal additive differences.

How 3 Manning books explain it

Statistics Every Programmer Needs

A logarithmic transformation replaces each value with its logarithm to compress scale differences and reduce positive skewness.

How it is used
Prepares skewed or wide-ranging variables for linear regression and models Benford leading-digit probabilities.
How deep it goes
Explains use cases, transformed-scale interpretation, NumPy implementation, probability calculation, and distribution plots, but does not develop alternative nonlinear models.
Examples
Demonstrates data-frame transformation, Benford probabilities for digits 1–9, and plots contrasting logarithmic, uniform, and random distributions.
What you can do after
Apply logarithms with NumPy, compute Benford probabilities, and interpret transformed-scale results cautiously in regression.

Read how Statistics Every Programmer Needs explains logarithmic scale →

D3.js in Action, Third Edition

A logarithmic scale maps values through a logarithmic transformation so multiplicative differences in magnitude can be represented across a visual range.

How it is used
Uses logarithmic scaling to make populations spanning large magnitude differences readable in a scatterplot.
How deep it goes
Defines logarithmic transformation and demonstrates domain, range, and nice() configuration, without developing the underlying mathematics.
Examples
Uses cetacean population estimates and tenfold axis labels from 1 through 10M to demonstrate the visual benefit.
What you can do after
Apply it via D3 by configuring d3.scaleLog() with a data-driven domain and chart-width range.

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

Effective Data Analysis

A numerical axis scale in which equal visual intervals represent equal multiplicative ratios.

How it is used
Supports visualizing metrics that fluctuate across several orders of magnitude in analytics and stakeholder reporting.
How deep it goes
Defines the visualization use and interpretation risk, but does not develop mathematical construction or implementation steps.
Examples
Uses population growth and metrics with exponential fluctuations as examples of data suited to logarithmic visualization.
What you can do after
Evaluate/understand when logarithmic scaling improves range visibility and communicate its interpretive limitations responsibly.

Read how Effective Data Analysis explains logarithmic scale →

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.