Hi,
Is it possible to turn vertical bar chart to horizontal?
I use this example. Instead of 50 bars showing vertically, I want the whole chart to turn 90degree right. That is x-axis (y-axis) with 3 values, y-axis (vertical) with 50 values.
I tried the following 4 ways and does not work.
Original:
chart_data = pd.DataFrame(
np.random.randn(50, 3),
columns=["a", "b", "c"])
chart_data = pd.DataFrame(
np.random.randn(50, 3),
index=[“a”, “b”, “c”])
2. ```
chart_data = pd.DataFrame(
np.random.randn(50, 3),
columns=["a", "b", "c"],
rotation = 90)
3.
chart_data = pd.DataFrame(
np.random.randn(50, 3),
columns=["a", "b", "c"],
rotation = "vertical")
4. chart_data = pd.DataFrame(
np.random.randn(50, 3),
columns=["a", "b", "c"],
rotation = "horizontal")