I want to plot a Dirichlet distribution $\operatorname{Dir}(\alpha), \alpha=[\alpha_1, \alpha_2, \ldots,\alpha_n]$. However, when I google it, almost all of the results consider 3 targets ($n=3$), and the distribution can be visualized by a triangle (e.g. Dirichlet distribution from Wikipedia).
What if I have 4 ($n=4$) or 5 ($n=5$) targets? Will the visualization be rectangle or pentagon?
To obtain some toy data, we can do
from scipy.stats import dirichlet
import numpy as np
n_samples = 100
alpha = np.array([0.4, 5, 15, 3, 2])
toy_data = dirichlet.rvs(alpha, size=n_samples) #shape (100, 5)