Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
138 views

I have generated the following summary of means and SDs for two parameters, SAR and ER, for several multi-column categories: structure(list(category = c("DIT GROUP\nCR 16.0005\nADB", "...
1 vote
1 answer
47 views

I am trying to have my subplots be grouped, rather than stacked. However, fig.update_layout({"barmode": "group"}) does not seem to work. My df as here: import pandas as pd import ...
0 votes
1 answer
47 views

I am building a hospital simulation in AnyLogic in which the agent is the patient and where each operating room (OR) is a resource type contained inside a ResourcePool. For having the surgery ...
2 votes
0 answers
108 views

I am using ggplot2 to create a horizontal bar chart. I use position_stack() function from the ggplot2 library version 4.0.0 on a Windows 11 computer. packageVersion("ggplot2") [1] ‘4.0.0’ ...
6 votes
1 answer
99 views

How can I ensure legends take up the full width?

I am trying to customize the behavior of a horizontal legend in Plotly.js for varying viewport widths. Minimal example: <head> <script src="https://cdn.plot.ly/plotly-latest.min.js&...
1 vote
1 answer
80 views

I have a dataset cars which describes how common are brands of cars sold at two dealerships. cars <- data.frame(dealership = rep(c("a", "b"), 3), car = rep(c("toyota", ...
Lucy's user avatar
  • 53
0 votes
1 answer
132 views

I'm currently attempting to create a graph that shows the performance of different algorithms. However, I can't seem to get the y-axis working quite right. The labels are too close together making the ...
2 votes
1 answer
158 views

I am using openpyxl (python module) to dynamically plot a bar graph with data from respective cells, but the chart title gets in between my bar graph. Code used to create the bar graph: #...
1 vote
0 answers
127 views

I have a graphic in ggplot that takes too long to compile. Actually, the plot does not appear and I have to force R to stop the compilation. As far as I know, the code has no error, but perhaps due to ...
1 vote
1 answer
43 views

Consider the following example of a bar plot in horizontal layout. In each chart the y and color channels both encode column "y" of df. import altair as alt import numpy as np import polars ...
1 vote
1 answer
43 views

In the below example, I create an bar plot, with the height and the color of the bars both encoding the y column of df. The bars then appear in different shades, for very light to very dark; in blue. ...
-1 votes
0 answers
62 views

I am trying to make a stacked, group bar chart using ggplot2 that represents data of the type below: vec_a <- c("a","a","a","b","b","b",&...
1 vote
2 answers
99 views

I'm working on a Python project where I'm plotting a bar chart on top of a basemap. My original goal is to create a visualization that mimics a 3D bar chart by plotting vertical bars at specific ...
1 vote
1 answer
52 views

I've developed a custom element using Lit, incorporating the Chart.js library. This element exposes properties like data, options, plugins, and type, which are used to generate the chart. When ...
0 votes
0 answers
79 views

In R I have this data: food_data <- data.frame( date = as.Date(c("2025年01月01日", "2025年02月01日", "2025年03月01日", "2025年04月01日", "2025年05月01日")), ...

15 30 50 per page
1
2 3 4 5
...
561

AltStyle によって変換されたページ (->オリジナル) /