Docs Menu

Load the Sample Data

On this page

  • Prerequisites
  • Load the Sample Data into Your Atlas Cluster
  • Add the Supply Store Collection as a Data Source
  • Next Steps

Time to Complete: 8 minutes

To complete this tutorial you will need a MongoDB Atlas cluster. Refer to the Create a Cluster documentation for instructions on creating an Atlas cluster.

Atlas provides sample data you can load into your Atlas cluster. To load sample data into your cluster:


Log in to your Atlas account at


Click Clusters in the sidebar.

  1. Click the Ellipses (...) button for your cluster.
  2. Click Load Sample Dataset.

Atlas begins loading your sample data. This operation takes approximately 5 minutes to complete.

Once Atlas finishes loading the data, you can add the collection containing the sample data as a data source in Charts. Adding a collection as a data source links the collection to Charts and allows you to visualize that data.


Click Charts in the navigation bar in Atlas to launch MongoDB Charts. This launches an instance of MongoDB Charts linked to your Atlas project.


In the Connect to Deployment step of the modal, select the Atlas Project which contains the sample data.


In the Choose Collections step of the dialog, select the sample_supplies database from the list. This selects the sales collection within the database.


Charts grants the default permissions to each data source. For details on data source permissions, see the Data Source Permissions page.

Now that you have established the data source in Charts, you can Create a New Dashboard which will use this data source to create visualizations.

←  Visualizing Order DataCreate a New Dashboard →
Give Feedback
© 2022 MongoDB, Inc.


  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.