Questions tagged [stacked-chart]

For questions about stacked charts, i.e. charts where multiple data series are superimposed.

Stacked are charts in which you collect multiple data series and display their cumulative values. These can be stacked histograms, stacked areas, or a number of other arrangements.

Stacked areas Stacked areas adding up to 100% 3d example Stacked area chart

Typical questions involve how to get this sort of layout from various plotting engines and how to affect details like legends, orientation, color palette, grouping, etc.

674 questions
-1
votes
1 answer

Single Stacked bar with three sections in Angular

I am new to angular. I want implement vertical bar or stacked bar with three colors. Colors area depends on the values like Accept -10, reject-6, pending -20. When I click on one section it should fire the event. I have a requirement screenshot I…
R15
  • 13,982
  • 14
  • 97
  • 173
-1
votes
1 answer

How to give y axis the total number of rows of a table in ggplot stacked bar?

I am using GGPLOT to create a stacked bar chart where y axis should be total number of movies, x axis should be year and the fill should be countries. Here what I have tried so far but Y axis is giving a irregular number: ggplot(IMDB,…
user13290052
-1
votes
1 answer

How do I create a stacked bar chart in R, where the y axis should denote the percentages for the bars?

I would like to create a stacked bar chart in R. My X axis just contains data on sex i.e male or female. I just need the y axis to show percentages of the stacked bars. The "Survived" column is just a mixture of 0s and 1s. I.e 1 denoting that an…
Jed
  • 35
  • 6
-1
votes
1 answer

How to plot a stacked bar using the groupby data from the dataframe in python?

I am reading huge csv file using pandas module. filename = pd.read_csv(filepath) Converted to Dataframe, df = pd.DataFrame(filename, index=None) From the csv file, I am concerned with the three columns of name country, year, and value. I have…
sodmzs
  • 184
  • 1
  • 16
-1
votes
1 answer

Draw stacked bar based on columns in R

Suppose I have the following dataframe: x = c(10,11,12,13) x1 = c(0.50,0.55,0.58,0.62) df <- data.frame(debt= c(0,1,2,3), x = x, x1 = x1, x2 = x-x1) How I can draw a diagram like the following one?
msh855
  • 1,493
  • 1
  • 15
  • 36
-1
votes
1 answer

kendo chart: sort stacked bar on each category

I want to sort the bar series on each category of my kendo chart Like this image. My code is here https://dojo.telerik.com/EDERUfEY Thanks in advance!
Enzoff
  • 1
-1
votes
4 answers

Creating Stacked Bar Chart With one Variable for each Bar, using melt, and ggplot

This question is raising different points as the one I posted yesterday, with a better description, so I hope for your understanding. I have the following Data: Data <- data.frame(LMX = c(1.92, 2.33, 3.52, 5.34, 6.07, 4.23, 3.45, 5.64), Thriving =…
Andreas G.
  • 190
  • 11
-1
votes
1 answer

stackLabels with separate data in Highcharts

Good afternoon, I'm putting together a chart that uses Highcharts stackLabels, it's exactly the same as this: JSFiddle however I do not want it to display the sum of the column values, I want it to appear item by item one on top of the other, same…
Medina
  • 47
  • 2
  • 4
-1
votes
1 answer

Stacked bar chart in ggplot has separated my variables

I'm trying to make a stacked bar graph but I can't seem to get the protobacteria to group together. This is the code I used ggplot(data = Bacteria, aes(x = bacteria$Location, y = bacteria$reads, fill = bacteria$Phylum.Division)) + …
porterrose
  • 11
  • 1
-1
votes
2 answers

Stacked bar css

I want a stacked bar with inner vertical text. I failed to put it in the right position. This is how I want it: This is my code and output: .colWrapper{ height:200px; width:100px; position:relative; border:1px solid…
-1
votes
2 answers

Highcharts stacked bar chart - parse JSON to form series

I am learning to create a stacked bar/column chart using highcharts. The json data i have from a pojo class has three properties- date, status and count. On a given day i could have no records for a particular status or more than one record too.…
Ninja
  • 183
  • 3
  • 5
  • 15
-1
votes
1 answer

plot stacked bar chart from csv file using python

I have data from a csv file that looks like this: ,jobID,hum_starttime,hum_endtime,duration,exit_status,CPU,energy,memory,virt_mem,wall_time 0,525231,29/05/2015 11:53:47,29/05/2015…
PyRsquared
  • 6,970
  • 11
  • 50
  • 86
-1
votes
1 answer

stacked barplot with different colours

I have a matrix X, which has 5 columns and 3825 rows (accounting for days). The values are either 0, 1 or NA. station1 station2 station3 station4 station5 0 0 0 0 0 1 0 0 …
-1
votes
1 answer

R: Stacked bar chart from two column data

I'm trying to create a stacked bar chart from data held in a data frame that has two columns. An example of the data format is below: Date Speed 01/01/2013 56 01/01/2013 45 01/01/2013 34 02/01/2013 23 02/01/2013 12 02/01/2013 1 …
Pete
  • 21
  • 4
-1
votes
1 answer

Excel - Is it possible to create nested 2D stacked bar chart?

I'm trying to create a "nested" 2D stacked bar chart in excel but I only got until stacking the columns. Unable to show "work %" inside "Used %". Is there a way to accomplish this in excel? I seen a similar example but that was in BI and not in…
Tinman
  • 63
  • 1
  • 2
  • 7
1 2 3
44
45