De nos jours, tout le monde devrait être "Data Analyst". Mais avec tant de données disponibles, comment les comprendre et vous assurer que vous prenez les meilleures décisions ? Une excellente approche consiste à utiliser des visualisations de données. Au cours de cette présentation, notre expert utilisera un jeu de données complexe et vous montrera comment l'étendue des fonctionnalités de MongoDB Charts peut vous aider à transformer les bits et bytes en informations.
2. #MDBLocal
Agenda
• Why did we build Charts?
• What is Charts?
• Demos!
• Basic workflow
• Charting capabilities
• Document model
• Sharing and permissions
• Installing Charts
3. #MDBLocal
Options for Visualizing MongoDB Data
Custom Code + Charting
Libraries
ETL + 3rd Party Data
Visualization tool
BI Connector + 3rd Party
Data Visualization tool
4. #MDBLocal
Wouldn’t it be nice if...
You could visualize your MongoDB Data…
• without needing to write your own code
• without needing to move your data into a different
repository
• without needing to purchase and configure third-party tools
• without losing the richness of the Document Model
5. #MDBLocal
Introducing MongoDB Charts
The fastest way to build
visualizations over your
MongoDB data
Built for the MongoDB
document model
Visualize live data
from on-prem or Atlas DBs
6. #MDBLocal
Charts Basic Concepts
• A data source is a reference to a MongoDB collection or view that
contains data you want to visualize.
• A chart is a visualization of data from a single data source.
• A dashboard is a collection of charts which you manage as a unit
(name, layout, sharing)
13. #MDBLocal
Sharing and Permissions
• All users log onto Charts with their own account
• Users can be managed by anyone with the UserAdmin role
• Any user can add a data source
• They must have a valid connection URI to connect to the MongoDB instance
• A data source owner can choose to share with nobody, specific people or
everybody
• Any user can add a dashboard
• By default, the dashboard is only visible to the creator
• A dashboard owner can choose to share with nobody, specific people or
everybody
14. #MDBLocal
Charts Roles: Data Sources
Any User Data Source Reader
Data Source
Manager
Data Source Owner
Add a data source*
Read data from a data
source (for a chart)
Modify data source
details (alias,
connection URI)
Delete a data source
Change permissions
for a data source
* After creating a data source, the user gets the Data Source Owner role on that data source.
15. #MDBLocal
Charts Roles: Dashboards
Any User Dashboard Voewer Dashboard Author Dashboard Owner
Add a dashboard*
View a dashboard**
Add, edit or remove
charts on a dashboard
Modify dashboard
layout
Delete a dashboard
Change permissions for
a dashboard
* After creating a dashboard, the user gets the Dashboard Owner role on that dashboard.
** The user can only view individual charts on the dashboard if they also have the Data Source Reader (or higher) role on the
data source used for each chart
16. #MDBLocal
Charts Roles: Global
User User Admin
Create, view and manage data sources (subject to Data Sources roles)
Create, view and dashboards (subject to Dashboards roles)
Change your own password
Create new users
Modify user details (name, role)
Reset user passwords
Delete Users
18. #MDBLocal
Installing Charts
• Charts is now available to download!
• No cost to use the beta
• Download and install instructions @ http://mongodb.com/charts
• Charts runs as a Docker container on a server of your choice
• Supported on any OS that runs Docker CE or EE (Linux, MacOS, Windows)
• Can be a physical server, cloud VM or even a laptop
• Charts requires a MongoDB instance to run
• For storing metadata about users, data sources and dashboards
• Can be any MongoDB instance in your organization (including Atlas)
• Not included in the Charts Docker container
19. #MDBLocal
Installing Charts
• Installation process:
• Deploy or identify a MongoDB instance for the Charts metadata
• Install Docker on your target server
• Download the Charts Docker Compose file from MongoDB download center
• Create a Docker Secret containing the URI for your MongoDB instance
• Deploy Charts using docker stack deploy
• Create your first Charts user
• Access Charts from a web browser
21. #MDBLocal
Resources
Learn more about Charts:
https://mongodb.com/charts
Sign up for Atlas and Charts:
https://cloud.mongodb.com
Download Charts On-Prem:
https://www.mongodb.com/download-center/charts