X-axis
The x-axis is the horizontal reference axis in a two-dimensional coordinate system, on which the other coordinate is zero.
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.
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.
Also covered in
- Grokking Machine Learning, Second EditionIn early access (MEAP)
What to know first
- visualizationVisualization is the representation of data, information, or concepts in visual form to support inspection, interpretation, analysis, or communication.
- SVGSVG (Scalable Vector Graphics) is an XML-based standard and markup language for describing scalable two-dimensional vector graphics.
Related concepts
- coordinate systempart of · A coordinate system is a reference framework that assigns numerical coordinates to points or positions relative to defined origins, axes, or other references.
- configure_axis()configured by · configure_axis() is an Altair chart method that sets default properties shared by chart axes.
- scaleuses · A visualization scale maps data values to visual values such as positions, colors, or sizes.
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.

