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
0
votes
1 answer

d3.js stacked chart animations

I'm developing a stacked chart application. http://jsfiddle.net/NYEaX/174/ I've placed it inside a jquery plugin to create multiple instances etc... different properties and eventually different data sources. For now I am having problems animating…
The Old County
  • 89
  • 13
  • 59
  • 129
0
votes
1 answer

Highcharts: convert columns to stacked column in multiple axis chart

I want to use combo-multiple-axis chart but i want to convert "columns" to "stacked columns" because one of my "y value serie" is the sum of 3 data series and i want to show that change on my chart too. I am so new with javascript and coding but i…
0
votes
1 answer

Why are my tooltips in d3 not updating correctly?

I'm using this jsfiddle. All of the tooltips are initially correct when I hover over the bars. But when I click the weekview button to change the graph the tooltips don't get updated. I believe the problem is in this section: layer.enter() …
Grammin
  • 11,808
  • 22
  • 80
  • 138
0
votes
1 answer

Highcharts - stacked columns by category

I have this data: Array ( [firefox 3.0] => 2 [chrome 24.0] => 1 [ie 9.0] => 2 [ie 10.0] => 1 ) Question: How to add series to achieve wanted chart? My try: JsFiddle: http://jsfiddle.net/fVrbQ I want to have stacked chart like this:
Ing. Michal Hudak
  • 5,338
  • 11
  • 60
  • 91
0
votes
1 answer

Is it possible to have reqular bar and stacked bar in the same jqPlot chart?

I am trying to build a bar chart where 1st series represent the revenue and the next three represent different kind of expenses. So 1st series to be a single bar and the rest three series as stacked bar. Here is my code for the same. var s0 = [15,…
Abhay
  • 139
  • 2
  • 16
0
votes
1 answer

How to create a multi-series stacked bar chart in dc.js

My needs are very similar to those of this question, where a series of records like: var data = [ // time, text, temperature, count ['1379952000', 'field_1', 91, 56], ['1379952000', 'field_2', 50, 20], ['1379952000', 'field_3', 88, 24], …
Luis E.
  • 841
  • 11
  • 15
0
votes
0 answers

How to Display Tool-Tip for the Stacked Bar chart?

I am using Stacked Bar chart and I have plotted Different value in the Stacked Bar chart. and I am using tool tip and I can take Single value on the tool tip when I hover mouse on the bar. using This. renderer.setBaseToolTipGenerator(new…
Kishan Bheemajiyani
  • 3,429
  • 5
  • 34
  • 68
0
votes
2 answers

Stacked bar plot in R

I have a csv file like below, I want to make a stacked bar plot that x-axis is link column and and y-axis shows the frequency and each bar is grouped based on Freq_E and Freq_S. when I read the csv and give it to barplot it doesn't work. I searched…
Marjan
  • 123
  • 2
  • 11
0
votes
1 answer

D3.js stacked bar chart with multiple levels?

Any tips on how would I go about producing a stacked bar chart with multiple levels? Similar to having floated divs that slip underneath. But I understand that svg doesn't have the concept of floating, so something more rigid based upon the svg…
Alex KeySmith
  • 16,657
  • 11
  • 74
  • 152
-1
votes
1 answer

Stacked barchart in ggplot2 with months and counts

I thought this would be simple, but I also haven't used ggplot2 a whole lot, so here I am. This is a portion of my dataset: Month Cause 1 Oct Unknown 2 Apr Unknown 3 Nov Roadkill 4 Oct Disease 5 Sep Predation 6 Jul …
-1
votes
1 answer

plotly 2 stacked plots various y-axis types but shared x-axis

I am using Plotly to visualize scientific data in interactive mode. I need to visualize a lot of points on two graphs. Now i am using one, and I need to add another one below the first one.. Data is almost similar, the graphs must use one common…
twistfire
  • 425
  • 1
  • 5
  • 15
-1
votes
1 answer

add background color to highcharts stacked Bar Chart

How i can add background color to highcharts stacked Bar Chart column like in picture I have try find in highcharts official documentation but unfortunately cant find.
Garo Gabrielyan
  • 466
  • 2
  • 7
  • 20
-1
votes
1 answer

Tableau desktop average line granularity error

[14 day sales trend,split by student type][1] I was trying to plot an average line for the sales over the past 14 days. I have used average line in analytics pane for the entire table. And I have made bar chart to stacked bar chart by splitting the…
-1
votes
1 answer

Issue with Label in Stacked Bar chart in Matplotlib from a Pandas Dataframe

I have a Dataframe with a column (say 'Col') with values either from this list ['PO101','NI101','NE101']. Count is: PO101 = 30000 NI101 = 5000 NE101 = 3000 I am trying to show how many are which on a stacked bar chart. I created the stacked chart…
Meet
  • 461
  • 4
  • 19
-1
votes
1 answer

Stacked bar ggplot2 in R

I have a table like this: dput of data dput(data) structure(list(status = c("Recovered", "Dead", "On-Treatment" ), northern_countries = c(24130778L, 955048L, 15634207L), Southern_countries = c(9157967L, 308243L, 726474L)), class = "data.frame",…