Loading lessons...
Atlas Charts
Atlas Charts
MongoDB Charts is Atlas's built-in data visualization tool. You can build charts and dashboards from your collections with a drag-and-drop interface - no query code required.
Getting started
- In your Atlas dashboard, open the Charts tab.
- Click Activate Now (takes about a minute).
- Open the dashboard and click Add Chart.
Build a chart
- Under Data Source, select a collection (for example, the Movies collection in
sample_mflix). - Drag a field to an axis.
- Configure the Bin Size and Aggregate (like COUNT).
For example, to chart movies per year:
- Drag Year to the Y Axis, set Bin Size to
1. - Drag _id to the X Axis, set Aggregate to
COUNT.
Result: a bar chart of how many movies were released each year.
Why Charts?
- Build dashboards and analytics without writing aggregation code.
- Runs the queries against your data for you.
- Great for sharing visual insights with your team.
Key facts
- Charts is part of MongoDB Atlas (cloud), not the open-source server.
- Uses field dragging and aggregations (like COUNT) rather than hand-written pipelines.
TL;DR
- Atlas Charts = drag-and-drop data visualization.
- Pick a collection, drag fields to axes, set aggregates.
- Build dashboards without writing queries.