Questions tagged [grouped-bar-chart]

A grouped bar chart (aka clustered bar chart, multi-series bar chart) plots numeric values for two levels of categorical variables instead of one. Bars are grouped by position for levels of one categorical variable, with color indicating the secondary category level within each group.

138 questions
0
votes
0 answers

Grouped Bar Chart using d3.js .. how to convert the "CDATE" to Date format and put it in the axis bottom. not working if i convert to Date Format

I am trying to put the date in US dateFormat mm/dd/yy from the below json CDATE. [{CDATE: '16/Feb/2023', CLAIMSIN: '127192', CLAIMSOUT: '361952'}] enter image description here
0
votes
2 answers

Creating a grouped boxplot with different numbers of rows for each grouped column?

I have data that I would like to compare in a grouped boxplot, meaning comparing the before/after response to each treatment. The issue is my trial number for each type of treatment is different so I cannot create a dataframe (I am getting an error…
0
votes
0 answers

Grouped bar plot using ggplot2

I am trying to create a grouped bar chart using the ggplot2 package. I am following this example but I am having difficulty to set the parameters inside the ggplot function. Basically, I want the x axis to be the Year column of my data.frame, and…
Nikos
  • 426
  • 2
  • 10
0
votes
1 answer

Python-Plotly grouped bar chart with the five highest values from five pandas.dataframe columns

A radiation dose simulation gave the [following organ doses:][1] I would like to use Python - Plotly to make a grouped bar chart with the five highest organ dose values from each age group columns '0', '1', '5', '10', and '15'. The x-axis should…
ptrber
  • 5
  • 2
0
votes
2 answers

Bar chart from many variables where varx = in Stata

I have a bar chart question here. Given that for all the variables in the dataset 1 = yes and 0 = No. I would like to plot a bar graph with the percentages (where var=1) on the y-axis and the variables on the x axis. Thanks in…
0
votes
0 answers

Changing order of bars (fill positions) in grouped plot ggplot2

I want to re-order the bars (fill positions) in my grouped bar plot in ggplot2. Here is my code for my grouped plot. data7<-read.csv("inf_size_time.csv") inf_size_time <- ggplot( data=data7, aes(fill=size, x=Day, y=perc)) + …
D.dot
  • 3
  • 2
0
votes
1 answer

Histogram and density plots with multiple groups

I have a dataset consist of 4 variables: CR, EN, LC and VU: View first few values of my dateset CR = c(2, 9, 10, 14, 24, 27, 29, 30, 34, 43, 50, 74, 86, 105, 140, 155, 200, …) EN = c(24, 52, 86, 110, 144, 154, 206, 242, …
Sina Kh.
  • 17
  • 3
0
votes
0 answers

customising individual bars in group barmode

Is there a way to customize the colors of individual bars in a group bar chart? In here, under the section "Customizing Individual Bar Colors" shows the manner in which customization can be done for the regular bar charts. But in barmode=group…
0
votes
1 answer

Creating grouped bar chart

I'm trying to make groupped bar chart in r but it doesn't work. In other words, i only could get ugly stacked chart which is not enough. I'm giving the screenshots of my data and group chart example which I have created in excel. Sure it is not…
0
votes
1 answer

Grouped barplot with SD bars from two different groups with ggplot2

I'm almost certain I'm overcomplicating this, but I don't have much experience using ggplot2 so any advice is welcome! I have one large dataset with male and female responses to three stimulus types for 4 variables. I have used aggregate to…
0
votes
0 answers

Make a grouped bar chart using 3 columns from datafrane

I have been trying to create this graph using matplotlib I have a dataframe which looks like this: Car_Model Cold Weather Mild Weather 0 Mercedes-EQS-450plus 535 740 1 Mercedes-EQS-450-4MATIC 515 …
0
votes
0 answers

Grouped Stacked Bar Chart with D3 JS

I have created two different stacked charts. I want to combine them so that they can be visualized in a single chart. The data I have looks like: I divided the data into two parts, one containing the male data and the other containing female data…
0
votes
0 answers

Custom Axis labels for Grouped Bar chart

Needed output: I need to configure a grouped bar chart in which the type of each bar is shown in the axis itself. I am using chartjs 2.9. How can I add the text "Availability","Co-funded","CPC" in the axis itself. I can't find any configuration…
Anandu S
  • 159
  • 8
0
votes
1 answer

How to annotate grouped bars with group count instead of bar height

To draw plot, I am using seaborn and below is my code import seaborn as sns sns.set_theme(style="whitegrid") tips = sns.load_dataset("tips") tips=tips.head() ax = sns.barplot(x="day", y="total_bill",hue="sex", data=tips, palette="tab20_r") I want…
user20566115
0
votes
0 answers

How do I create bar chart in cloudwatch?

I am new bae in AWS cloud watch, I don't know how to create bar chart in cloudwatch I'm searching on google i didn't find any relevant query or code to build a bar chart in AWS Cloudwatch.