liveBook · Manning

X-axis

Also called horizontal axis

The x-axis is the horizontal reference axis in a two-dimensional coordinate system, on which the other coordinate is zero.

How 2 Manning books explain it

D3.js in Action, Third Edition

A horizontal axis is a chart axis oriented horizontally, typically representing the x dimension.

How it is used
Provides a horizontal reference for dates, values, or categories and positions marks across a chart.
How deep it goes
Works through scale selection, SVG placement, and tick formatting, then shows how to draw a bottom axis manually in React.
Examples
Uses a monthly temperature line chart, a salary histogram, gender-grouped box plots, and a user-count scatterplot.
What you can do after
Apply it via D3’s axisBottom generator to place and label a horizontal axis using an x-scale.

Read how D3.js in Action, Third Edition explains x-axis →

Math for Web Design

The x-axis is the horizontal reference axis in a two-dimensional coordinate system.

How it is used
Locates elements, pointer positions, and movement horizontally within browser viewport coordinates.
How deep it goes
Defines the axis and viewport direction, then connects it to vector angles and trigonometric components.
Examples
Uses viewport positioning, mouse coordinates, element bounds, and a 100px movement at 30°.
What you can do after
Apply it via CSS and JavaScript to interpret horizontal positions, pointer coordinates, and directional movement.

Read how Math for Web Design explains x-axis →

Also covered in

What to know first

Related concepts

Questions about x-axis

What is x-axis?

The x-axis is the horizontal reference axis in a two-dimensional coordinate system, on which the other coordinate is zero.

Which Manning books explain x-axis?

D3.js in Action, Third Edition and Math for Web Design.

What should I know before learning x-axis?

Manning books that teach x-axis usually introduce visualization and SVG first.

What is x-axis part of?

X-axis 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 are the parts of x-axis?

X-axis includes x-axis label.

What is x-axis also called?

X-axis is also called horizontal axis.

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.