liveBook · Manning

Visualization

As explained in MongoDB 8.0 in Action, Third Edition

A data visualization is a graphical representation of data designed to reveal patterns, comparisons, or other analytical results.

Data visualization represents data graphically to reveal trends, anomalies, comparisons, and opportunities for optimization. Atlas Charts connects directly to MongoDB data and provides a no-code interface for building shareable charts and dashboards. section 19.1 section 19.0

Atlas Charts supports several practical visualization workflows:

  • Choose a MongoDB collection, database view, or custom Charts view as the data source. section 19.1
  • Build bar charts, line graphs, heat maps, and dashboards from document data, including embedded objects and arrays. section 19.1
  • Use aggregation metrics such as mean and standard deviation, then embed charts in applications or dashboards for ongoing analysis. section 19.1
  • Create charts with natural-language requests when writing aggregation pipelines or chart specifications is unnecessary. section 19.1.1

Natural-language restaurant analysis

Ask, “What are the top 10 cuisines in terms of the number of restaurants in each borough?” Atlas can generate a borough-by-borough chart from the sample_restaurants database and restaurants collection. The resulting aggregation groups by cuisine and borough, counts valid restaurant identifiers, maps the results to chart axes and colors, sorts by total count, and selects the top 10 cuisines. Review the generated pipeline when validating the chart or refining its result. Natural-language requests transmit the query, collection schema, and sample field values to MongoDB’s backend and/or its AI provider; connection strings and credentials are not transmitted. section 19.1.1

Figure 19.1 This example dashboard displays the total number of movies (2,658) and their average Metacritic score (55). The Movie Ratings pie chart breaks down films by rating categories. The Top 10 Genres bar chart highlights the most popular genres, with Drama leading. The Top 10 Languages chart shows that English dominates, and the Most Prolific Actors chart identifies actors with the most appearances, categorized by critic ratings (Fresh, Not Rated, and Rotten). (Image © MongoDB 2025)
A screenshot of a graph

Description automatically generated

Use the dashboard to compare movie counts, average scores, ratings, genres, languages, and prolific actors in one visual workspace. section 19.1

How MongoDB 8.0 in Action, Third Edition covers it

How deep it goes
Explains data sources, chart types, aggregation, embedding, and generated pipelines, but stops short of detailed chart construction commands.
Examples
Uses movie-statistics dashboards and borough-level restaurant cuisine charts as concrete visualization examples.
What it assumes
Assumes access to MongoDB data but teaches chart creation without requiring command-line use or aggregation expertise.
What you can do after
Apply it via Atlas Charts to build, share, embed, and inspect MongoDB-backed charts and dashboards.
How it connects
Connects visualization with Atlas Charts, MongoDB collections, database views, aggregation pipelines, dashboards, and natural-language interfaces.

Also explained in

Compare how 16 books explain visualization →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of MongoDB 8.0 in Action, Third Edition. The section links point to the parts of the book it draws on.