Parameters
df: pd.DataFrame
The dataframe with the data to plotx: str
The column name of the data for the bar chart. One bar per unique value will be plotted.media: str
The column name of the media to displaycolor: Optional[str] = None
If added, the color will be used to create a stacked bar chart.
Example