Hierarchy
A hierarchy is an organization of entities into levels or nested groups connected by parent-child, containment, or broader-to-narrower relationships.
Everyday Data Visualization
A data structure in which values contain or are organized within other values or structures.
- How it is used
- Organizes visualization data in layers rather than rows and columns, especially when coding with JSON.
- How deep it goes
- Explains nesting through arrays, arrays within arrays, and named objects, without developing tree algorithms.
- Examples
- Uses nesting dolls, pill containers, day-and-time arrays, and fruit-score JSON objects.
- What you can do after
- Evaluate/understand layered JSON data by following named keys and arrays from an outer structure to its values.
WordPress Power Toolkit: Harness AI to build next-level websites
The hierarchical organization and arrangement of a website's pages, content, and navigational relationships.
- How it is used
- Organizes website pages into clear routes from the home page to visitors’ goals before content is added.
- How deep it goes
- Gives a planning sequence, parent–child examples, and menu-size guidance, but defers measurement of where visitors stumble.
- Examples
- Uses a bass-fishing site with Lures and About Us parent pages, child-page lists, and an AI-assisted menu prompt.
- What you can do after
- Practice/perform planning a parent–child page hierarchy, then create titled placeholder pages in WordPress.
Read how WordPress Power Toolkit: Harness AI to build next-level websites explains hierarchy →
D3.js in Action, Third Edition
Nested data is a hierarchical data structure in which objects or records contain other objects or records recursively.
- How it is used
- Converts flat CSV rows or nested JSON into a root hierarchy for hierarchical visualizations.
- How deep it goes
- Shows CSV and JSON conversion, node traversal, and handoff to layouts; stops short of detailing layout implementation.
- Examples
- Uses language families and branches, including Indo-European, Germanic, English, and Sino-Tibetan.
- What you can do after
- Apply d3.stratify() or d3.hierarchy() to create a root, then pass it to d3.pack() or d3.tree().
Read how D3.js in Action, Third Edition explains hierarchy →
Clojure: The Essential Reference
A nested data structure is a data structure containing other data structures as elements or values at multiple levels.
- How it is used
- Models complex, multi-typed data as trees to support traversal and processing.
- How deep it goes
- Defines tree conventions and traversal orders, then explains prewalk and postwalk behavior, outputs, and a possible unsupported collection case.
- Examples
- Uses a map with vector-marked branches, a nested vector for visit order, and a workflow pipeline for branch handling.
- What you can do after
- Apply `clojure.walk/prewalk` or `postwalk` to inspect and transform items in nested collections.
Read how Clojure: The Essential Reference explains hierarchy →
Deep Learning with R, Third Edition
A JAX tree is a nested structure of named or unnamed lists and array values used as structured function state.
- How it is used
- Groups multiple state variables into a nested argument for differentiating a loss with JAX.
- How deep it goes
- Defines trees and shows them passed to value_and_grad, without detailing tree operations.
- Examples
- Uses state = list(a, b, c) as a loss-function argument alongside x and y inputs.
- What you can do after
- Apply trees via JAX's value_and_grad to group state variables and compute gradients.
Read how Deep Learning with R, Third Edition explains hierarchy →
Deep Learning with Python, Third Edition
A nested collection structure of tuples, dicts, and lists used by JAX to represent composite inputs and states.
- How it is used
- Groups multiple state variables into one argument when differentiating a loss with additional inputs in JAX.
- How deep it goes
- Defines trees as nested tuples, dictionaries, or lists and demonstrates their use as function state.
- Examples
- Uses a tuple containing a, b, and c as state, with x and y as separate loss inputs.
- What you can do after
- Apply it by passing a tuple, dictionary, list, or nested combination as state to a JAX loss-gradient function.
Read how Deep Learning with Python, Third Edition explains hierarchy →
Kafka Streams in Action, Second Edition
A nested structure is a hierarchical data structure whose fields or elements can themselves contain structured values.
- How it is used
- Models and queries hierarchical JSON records in ksqlDB streams.
- How deep it goes
- Defines nested STRUCT schemas and chained field access, but does not detail broader schema-management concerns.
- Examples
- Uses a school-event JSON schema, nested stream definition, course-recommendation query, and indexed array lookup.
- What you can do after
- Apply it via ksqlDB to define streams and retrieve deeply nested fields and array entries.
Read how Kafka Streams in Action, Second Edition explains hierarchy →
Modern C
A nested structure is a structure declaration or member arrangement in which one structure type is declared within or contains another structure type.
- How it is used
- Models nested data by placing a structure-typed member inside another structure.
- How deep it goes
- Defines struct nesting and explains how nested tags share the enclosing declaration's visibility.
- Examples
- Uses a person birthday field containing a stardate with tm and timespec members.
- What you can do after
- Understand how to declare nested struct members and predict tag visibility at file or block scope.
Also covered in
- Learn AI Data EngineeringIn early access (MEAP)
- Akka in Action, Second Edition
- 100 SQL Server Mistakes and How to Avoid Them
- Grokking Simplicity
- The Well-Grounded Data Analyst
- API Design Patterns
- The Well-Grounded Python Developer: How the pros use Python and Flask
- Grokking AI Applications
- Retrieval Augmented Generation, The Foundational IdeasIn early access (MEAP)
- AI-Powered Search
- Think Like a CTO
- The Design of Web APIs, Second Edition
What to know first
- JSONJSON is a language-independent text-based data-interchange format that represents structured values using objects, arrays, strings, numbers, booleans, and null.
- embeddingAn embedding is a numerical vector representation of an item in a feature space, encoding selected properties or relationships for computational tasks such as comparison or retrieval.
- similarity searchSimilarity search is a retrieval technique that finds or ranks items by their similarity to a query, often by comparing feature or vector representations under a similarity or distance measure.
- structured dataStructured data is information organized according to a defined schema or arrangement that makes its elements and relationships consistently interpretable and processable.
Related concepts
- class hierarchyincludes · A class hierarchy is an organization of related classes connected by inheritance relationships, typically from more general base classes to more specialized derived classes.
- coroutine hierarchyincludes · A coroutine hierarchy is a parent-child organization of coroutines through which execution lifetimes and failures can be related.
- module hierarchyincludes · A module hierarchy is a nested organization of modules that represents parent and child relationships in source code.
- actorhas part · An actor is a person, system, process, or computational entity that performs actions or participates in interactions within a system.
Questions about hierarchy
What is hierarchy?
A hierarchy is an organization of entities into levels or nested groups connected by parent-child, containment, or broader-to-narrower relationships.
Which Manning books explain hierarchy?
Everyday Data Visualization, WordPress Power Toolkit: Harness AI to build next-level websites, D3.js in Action, Third Edition, Clojure: The Essential Reference, Deep Learning with R, Third Edition, Deep Learning with Python, Third Edition, Kafka Streams in Action, Second Edition and Modern C.
What should I know before learning hierarchy?
Manning books that teach hierarchy usually introduce JSON, embedding, similarity search and structured data first.
What kinds of hierarchy are there?
Kinds of hierarchy include class hierarchy, coroutine hierarchy, module hierarchy and part-whole hierarchy.
What are the parts of hierarchy?
Hierarchy includes actor.
What is hierarchy also called?
Hierarchy is also called hierarchical structure, nested data structures, nested structure or hierarchical data structure.
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.







