Questions tagged [bar-chart]
A bar chart is graphical representation of data where the value is represented by the length of the bar.
8,394
questions
2
votes
0
answers
20
views
Get a separate stacked bar for each row in Plotly when data has name multiples
I'm using Python 3.10 with Plotly
I have a dataframe called "cluster_user_distribution_data" with around 40 rows and a varying number of columns depending on an analysis. But lets say there ...
1
vote
0
answers
24
views
Fix order of stacks but allow colour to change
The data and code for this question were adapted from:
How to fill colors of stacked bar plot depending on colors column of df in R using ggplot
I want to fix the order of country appearance in each ...
0
votes
0
answers
6
views
In Apache superset, Issue facing for setting the x-axis tile margin
I have installed the latest Apache superset version and created some dashvoards using posgresql data. I have used pie charts, bar charts etc. But right now i can't able to set the x axis margin ...
1
vote
1
answer
21
views
How to Add Significance bars a Bar Plot that have percentage/logical data
I have a dataframe with a categorical variable and a few logical variables. I’ve created an example using the iris dataset:
# Create a new dataframe showing the percentage each variable that is ...
0
votes
1
answer
30
views
How do I create an animated stacked bar chart using matplotlib
I have been trying to create an animated stacked bar chart using matplotlib. Although I have managed to animate each stack element, the output only shows one element at a time. I was also able to ...
0
votes
0
answers
12
views
percent stacked bar chart not scaling to 100% [duplicate]
It's clear I'm not understanding the math behind what I wish to accomplish. I want a stacked bar chart showing the percent contribution of each contamination source to the total ASV counts per sample....
0
votes
0
answers
36
views
Show dataset by dataset bars/lines in chart.js [closed]
Expected output
[current output][https://i.sstatic.net/CUfctmhr.png]
So as the images show. currently it shows a bar from each year in january. I want this years to be visible only after all months of ...
0
votes
1
answer
34
views
Reducing gap between bars of bar chart in R
I wrote the following code for plotting bar charts :
library(ggplot2)
library(dplyr)
interaction_data <- read.csv("association.tsv")
interaction_data <- interaction_data %>%
...
0
votes
0
answers
36
views
Plotly bar plot y_axis value
I am not understanding the reason why range on y_axis goes more than around 500k whereas the max value for the column Total_Expenditure 2486. What is the reason of being the value at y axis goes over ...
2
votes
2
answers
51
views
Trying to create a grouped barchart in R - producing a stacked one instead
I am trying to create a bar chart that has the number of each species grouped into years. I want each year represented on the x axis with the number of each of the 3 species grouped next to one ...
0
votes
2
answers
57
views
How to make a barplot with rounded corners in R
I have this dataset:
df <- data.frame(category = c("A", "B", "C", "D", "E"), value = c(10, 20, 15, 30, 25))
I want to create a barplot with ...
0
votes
0
answers
16
views
How to descending order Maximum aggregated value at the top minimum aggregated value at the bottom in the chart like the image
To render the chart using Dimple.js, ensure the maximum aggregated value appears at the top of the chart and the minimum aggregated value at the bottom.
Current output:
While rendering the chart using ...
0
votes
0
answers
14
views
Bars Sorting issue in Superset
Hi this is my data for the last 1 year containing three columns: Year, Month and Count. When i am creating a bar graph using superset, the bars get arranged alphabetically instead of the order ...
0
votes
1
answer
47
views
Showing one x tick per month on a pandas plot
I have a time series with daily data, that I want to plot, and only plot a x-tick every month. I have tried multiple approaches (including the ones described here, but it seems that pandas considers ...
-1
votes
0
answers
16
views
"point" is not a registered element. at Registry._get (https://localhost:3000/static/js/bundle.js:362022:13)
"point" is not a registered element.
at Registry._get (https://localhost:3000/static/js/bundle.js:362022:13)
why the error came .how to solve this .iam using react-chart.js package
iam ...