CData Python Connector for Azure Cosmos DB

Build 24.0.9060

From Matplotlib

Matplotlib contains a number of tools that can graphically model Azure Cosmos DB data after being fed a data frame From Pandas.

Using PyPlot

Before any Matplotlib tool, such as pyplot, can be used, it must be imported:
from matplotlib import pyplot as plt

Once a Pandas data frame is obtained, it can be used to create a plot visualizing Azure Cosmos DB data. For example, the following plot generates and displays a bar graph relating City and Balance values:

df.plot(kind="bar", x="City", y=["Balance"])
plt.show()

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060