문서 메뉴

문서 홈보기 & 데이터 분석Atlas Charts

샘플 데이터 로드

이 페이지의 내용

  • 전제 조건
  • Atlas 클러스터에 샘플 데이터 로드
  • 다음 단계

예상 완료 시간: 10 분

이 튜토리얼을 완료하려면 MongoDB Atlas cluster가 필요합니다. Atlas cluster 생성에 대한 지침 Create a cluster 문서를 참조하세요.

Atlas는 Atlas cluster에 로드할 수 있는 샘플 데이터를 제공합니다. 샘플 데이터를 클러스터에 로드하려면 다음을 수행합니다.

1

https://cloud.mongodb.com에서 Atlas 계정에 로그인합니다.

2

사이드바에서 Database를 클릭합니다.

3
  1. cluster의 Ellipses (...) 버튼을 클릭합니다.

  2. Load Sample Dataset를 클릭합니다.

Atlas가 샘플 데이터를 로드하기 시작합니다. 이 작업을 완료하는 데 약 5 분이 걸립니다.

4

샘플 데이터를 보려면 Browse Collections 을 클릭합니다. 이제 데이터베이스 배포에 나타나는 샘플 데이터 세트에는 다음 데이터베이스가 포함됩니다.

  • sample_airbnb

  • sample_analytics

  • sample_geospatial

  • sample_guides

  • sample_mflix

  • sample_restaurants

  • sample_supplies

  • sample_training

  • sample_weatherdata

이러한 데이터 세트에 포함된 컬렉션 및 문서에 대한 자세한 내용은 사용 가능한 샘플 데이터 세트를 참조하세요.

이 튜토리얼에 필요한 데이터 세트는 sample_mflix 입니다. 다음은 데이터 세트의 샘플 문서입니다.

{
"_id": {
"$oid": "573a1391f29313caabcd9637"
},
"plot": "The ancient vampire Count Dracula arrives in
England and begins to prey upon the virtuous young Mina.",
"genres": [
"Horror"
],
"runtime": {
"$numberInt": "85"
},
"rated": "APPROVED",
"cast": [
"Bela Lugosi",
"Helen Chandler",
"David Manners",
"Dwight Frye"
],
"num_mflix_comments": {
"$numberInt": "1"
},
"poster": "https://m.media-amazon.com/images/M/MV5BZDY2ODZhZWQtNDk0ZS00OGE4LWE4NjAtZjE5MTJhMjExMTRjXkEyXkFqcGdeQXVyNjc1NTYyMjg@._V1_SY1000_SX677_AL_.jpg",
"title": "Dracula",
"fullplot": "After a harrowing ride through the Carpathian mountains in eastern Europe,
Renfield enters castle Dracula to finalize the transferral of Carfax Abbey in London to
Count Dracula, who is in actuality a vampire. Renfield is drugged by the eerily hypnotic
count, and turned into one of his thralls, protecting him during his sea voyage to London.
After sucking the blood and turning the young Lucy Weston into a vampire, Dracula turns his
attention to her friend Mina Seward, daughter of Dr. Seward who then calls in a specialist,
Dr. Van Helsing, to diagnose the sudden deterioration of Mina's health. Van Helsing,
realizing that Dracula is indeed a vampire, tries to prepare Mina's fiance, John Harker,
and Dr. Seward for what is to come and the measures that will have to be taken to prevent
Mina from becoming one of the undead.",
"languages": [
"English",
"Hungarian",
"Latin"
],
"released": {
"$date": {
"$numberLong": "-1226966400000"
}
},
"directors": [
"Tod Browning"
],
"writers": [
"Bram Stoker (by)",
"Hamilton Deane (from the play adapted by)",
"John L. Balderston (from the play adapted by)",
"Garrett Fort (play)"
],
"awards": {
"wins": {
"$numberInt": "2"
},
"nominations": {
"$numberInt": "1"
},
"text": {
"2 wins & 1 nomination."
}
},
"lastupdated": "2015-08-28 00:30:04.660000000",
"year": {
"$numberInt": "1931"
},
"imdb": {
"rating": {
"$numberDouble": "7.6"
},
"votes": {
"$numberInt": "30184"
},
"id": {
"$numberInt": "21814"
}
},
"countries": [
"USA"
],
"type": "movie",
"tomatoes": {
"viewer": {
"rating": {
"$numberDouble": "3.7"
},
"numReviews": {
"$numberInt": "44035"
},
"meter": {
"$numberInt": "82"
}
},
"dvd": {
"$date": {
"$numberLong": "998956800000"
}
},
"critic": {
"rating": {
"$numberDouble": "7.9"
},
"numReviews": {
"$numberInt": "45"
},
"meter": {
"$numberInt": "91"
}
},
"lastUpdated": {
"$date": {
"$numberLong": "1442516384000"
}
},
"consensus": "Bela Lugosi's timeless portrayal of Dracula in this creepy and
atmospheric 1931 film has set the standard for major vampiric roles since.",
"rotten": {
"$numberInt": "4"
},
"production": "Universal Pictures",
"fresh": {
"$numberInt": "41"
}
}
}

이제 Charts에 데이터 소스가 있으므로 시각화를 보유할 새 대시보드를 생성 할 수 있습니다.

Atlas Charts →