All Questions
Tagged with data-visualization or visualization
14,382 questions
3
votes
2
answers
84
views
How to visualize a dense, gappy time series with spikes in Python?
I have a sensor time series with these properties:
~250,000 data points at high sampling rate over ~12 hours
~11 continuous segments separated by 30-40 minute gaps (sensor goes offline periodically)
...
-2
votes
1
answer
61
views
ggplot2: element_textbox_simple causing line break text for no reason [closed]
I have used element_textbox_simple to add html to my plot, axis and legend titles and all worked fine until the legend title. The legend title has a line break where I haven't added one in the html ...
0
votes
0
answers
93
views
Removing or optimizing labels in a busy RDA plot
I am using Vegan and ggplot to create an RDA plot, but I am having trouble fixing the clutter from my point labels. They are not readable, and I have tried abbreviations with only a few letters but it ...
Advice
2
votes
2
replies
107
views
Starting out on GitHub to create a portfolio
Currently getting into SQL data cleaning and querying and looking forward to building dashboards and data visualization using BI tools.
As a beginner, how do I start with GitHub to create a portfolio ...
3
votes
1
answer
67
views
Seaborn split violin plot with multiple hue categories but on one single axis
I am in the process of migrating code and workflows from R-tidyverse/ggplot2 to Python and I'm trying to replicate something that worked for me in R. My challenge in this case is working with split ...
Advice
0
votes
1
replies
86
views
Power BI - how to remove this bar?
How do I get rid of this bar in Power BI?
It prevents me from moving things to the top of the report and generally gets in the way.
Sometimes they just randomly appear in reports. For some people they ...
0
votes
2
answers
151
views
Data visualization with clear bars on a histogram?
I am making a histogram where all the bars are overlapped, but even with the transparency lowered for the bars, it still looks like a mess to me. I thought if I could make the bars themselves ...
Tooling
0
votes
0
replies
19
views
Python Glueviz: Show label on hover (pointing with mouse cursor)
Hello everybody out there using Glueviz,
Is there a way to make Glueviz show labels for individual data points in scatterplots of high-dimensional datasets when moving the mouse cursor over them (i.e. ...
3
votes
1
answer
94
views
White border with geom_sf() that matches plot.background colour
I'm plotting a map using sf, geom_sf(), and ggplot2. geom_sf() automatically preserves the aspect ratio, which is perfect, but it introduces white borders around the map that remain white even when I ...
2
votes
2
answers
98
views
How can I position_dodge individual points within a grouped boxplot using ggplot2
I have a dataset where I am trying to show that variation in Var2 across groups within grouping categories is correlated with variation in Var1, especially when breaking down variation among a ...
1
vote
2
answers
114
views
Is there a way to plot groups with a single row as filled symbols in a boxplot using ggplot?
I have a data set visualized as a grouped boxplot where the boxplots are grouped by one variable (family, here) and then color-coded based on subgroups. For some levels of the subgroup variable there ...
Best practices
2
votes
1
replies
42
views
What kind of graph can make the data below easier on the end-user?
I have an aggregated response to over 300 questions per team. As of this moment, it's in tabular form like what you see below in power BI. I have been asked to create a graph to make it more easier ...
Best practices
2
votes
4
replies
69
views
Visualizing categorical features with severe Class Imbalance for ML: Absolute Counts vs Normalized Percentages?
I am performing Exploratory Data Analysis (EDA) on a medical dataset (Primary Biliary Cirrhosis) to select features for a multiclass classification model. My target variable is Stage (1, 2, 3, 4).
The ...
Tooling
0
votes
1
replies
55
views
Real-time interactive plotting options
I have a C++ data processing program. I want to view a live plot of a stream of data that is being produced in the program, for debugging purposes. I'm not looking for a production-ready plotting ...
4
votes
1
answer
92
views
Facet breaks either sjPlot or geom_point
I am trying to produce with faceted sjPlot lines, and geom_points. mtcars data supplied as an example.
fit <- lm(mpg ~ cyl * hp * am, data = mtcars)
I want to have slopes of mpg by hp for each cyl,...
1
vote
1
answer
235
views
Keras: only display NN-architecture without model memory allocation
My goal is to use Keras to visualise the architecture of the model. No training, no inference.
For example if I just want to visualise the graph of the network of the classic VGG16-model with
model = ...
0
votes
0
answers
40
views
dynamic animation in paraview
I need to animate the movement of a cylinder in space. I have the x, y, and z coordinates as a function of time in a CSV file. Since it's very large, I can't create the animation manually. Is there a ...
1
vote
1
answer
69
views
LightningChart Python — legend entries overlap
I'm trying to use LightningChart Python v2.0.1 to display a line chart with multiple trends and outlier points, but for some reason the legend entries overlap each other.
I'm following guidance from ...
1
vote
0
answers
182
views
What does np.ones_like represent in a quiver plot of a differential equation?
I found some similar questions about quiver plots and direction fields, but I’m still confused about the meaning of these two lines in many examples:
What do dx = np.ones_like(f) and dy = f mean in a ...
2
votes
1
answer
138
views
How to add a transparent reference plane to 3D persp() plot without covering the surface beneath it?
I am trying to add a horizontal reference plane to a 3D surface plot using R's persp() function, but the plane acts as an opaque layer that cover the surface beneath it.
I want the plane to be ...
2
votes
1
answer
127
views
How to make a half-circle, semi circle,hemisphere diagram start on the the x-axis and attach correct labels to the chart
I have a semi circle plot that is displaying this data (named data_extract) :
Option Count Perc Fract
Excellent 8 73 .73
Good 1 9 ...
3
votes
1
answer
182
views
PyVista axis labels failing to show with show_bounds()
I found while visualizing a dataset that subplots sometimes fail to show bounds/axis titles under the conditions I'm plotting in. Minimal reproducible code is:
import pyvista as pv
mesh = pv....
3
votes
1
answer
88
views
Adjusting secondary y-values
I'm having trouble fixing my secondary y-values. I have a context plot showing my inputs and a results plot showing the outputs. But no matter what I do, the values on my secondary y-axis don't align ...
2
votes
1
answer
67
views
How to show currently pointed series values in LightningChart JS legend
I am using LightningChart JS library (https://www.npmjs.com/package/@lightningchart/lcjs) to display several line trends with scrolling time window. The data is coming over from websocket in real-time....
1
vote
1
answer
91
views
Plotly R: Annotations showing fixed X values on hover despite recalculating closest points across subplots
I'm working with a Plotly figure in R that has 3 subplots sharing the same Y-axis (using subplot() with shareY = TRUE). I've implemented custom hover behavior using onRender() that:
Draws a ...
0
votes
0
answers
29
views
How to visualize a graph with nodes and edges in Zeppelin
I'm trying to visualize a graph with nodes and edges on a Zeppelin notebook, but it doesn't work.
I was following the official document for %network display https://zeppelin.apache.org/docs/0.12.0/...
1
vote
1
answer
61
views
Can I flip the axes in a sjPlot::plot_model(type = "est") plot?
I have a logistic regression model. The outcome is whether individuals voted for a certain party at time t. We have filtered the data so that only observations remain which have voted for this party ...
0
votes
0
answers
53
views
How to prevent jumpback on user input in deneb vega gantt chart?
I am trying to create a Vega Gantt Chart using the template from David Bacci - Deneb-Showcase.
In my original dataset I am taking the data from sharepoint and importing it into deneb visual. I did ...
0
votes
0
answers
67
views
Set custom colors for legends in stacked column chart
I have a stacked column chart and I want custom color for each brand present in the data. The brands are added in the legends section. I could go and set color manually for each individual brand but ...
1
vote
1
answer
392
views
Langfuse trace graph for multi-agent runs is ambiguous / broken — bug or my trace format?
I’m seeing confusing / broken graphs in the Langfuse dashboard for multi-agent traces and I’m not sure if it’s a Langfuse bug or something I’m doing wrong.
What I did:
I run a multi-agent system using ...
0
votes
0
answers
38
views
How to hide overlapping regions on offset line charts in python
I want to make a "3d" offset figure of chromatogram traces. I am doing this by offsetting in both x & y but the background traces are "showing through" the area under the peaks ...
0
votes
1
answer
165
views
How can I clip a 3D surface plot in matplotlib with a horizontal plane?
I am trying to create a 3D surface plot similar to the one shown below. view of 3D surface plot with defined z-bounds and added contour lines I have been able to have some luck with the basic pyplot ...
0
votes
0
answers
78
views
visualize interactive map with heatmap layer, color as a function of distance to points
I want to create an interactive map with a heatmap layer on it. The color should reflect a score which is calculated from the distance to coordinates. The coordinates are amenities (like public ...
-1
votes
1
answer
108
views
Interpolate between log-scale and linear scale [closed]
The logarithmic scale is a useful and popular alternative to the linear scale in many visualizations.
Instead of a discrete choice between these two very different scales, I want the user to be able ...
1
vote
2
answers
106
views
how do I overlay an image clip onto an image of different size? [closed]
I am comparing clips of one image (Image A) to another image (Image B). Image A and B are the same size; the clip (Clip) is smaller than Image A or B. Clip is ostensibly seen in Image B, just from a ...
3
votes
0
answers
104
views
Force order in Plotly Treemap
I'm creating a treemap using plotly express. In timepoints I have three options: Time 1, Time 2 and Time 3. However I have less data in Time 2 than Time 3 (I have less visits and thus less instrument ...
1
vote
0
answers
639
views
How do I show a cumulative sum of each series in a Grafana multi series?
In Grafana, I have a JSON data source that takes the following format:
{"data" : [
{
"timestamp": 189237320,
"category": "cat-A",
"value1&...
3
votes
1
answer
73
views
In a diagram, relations are always deleted from last to first instead of selected
I have a basic diagram in D3.js, containing objects and relations between objects initialized in these arrays:
let objectsData = [
{ id: 1, x: 150, y: 150, type: "circle", color: "#...
0
votes
0
answers
151
views
How can I achieve a radial layout in Mermaid?
I am trying to build a Turtle diagram, using Mermaid. I was able to get very close (image below). However, I am not able get a radial layout - all nodes should surround 'Process' in a circular manner.
...
0
votes
1
answer
60
views
Trying to input the ticker symbol, start and end dates etc. using HTML, CSS and pyscript but cannot get the desired result
This is the html code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-...
2
votes
1
answer
66
views
Power BI: DAX measure to calculate portfolio, benchmark and excess returns in a matrix filter context
I have a table containing the monthly returns of a portfolio, its benchmark and the monthly excess (portfolio - benchmark).
Table 1 extract
| Date | Attribute | Value |
|----------------|----...
2
votes
1
answer
120
views
Dual-axis chart with nearest point highlighting in Vega
I've created a dual-axis chart with VegaLite following this example:
{
"data": {
"values": [
{"date": "2021-01-22", "var": "A", &...
1
vote
0
answers
53
views
R tigris: Areas not in a ZCTA [duplicate]
I'm trying to create a map of the US at the zip code level to show the value of a particular variable. Used this code to create the source:
zcta_geo <- tigris::zctas(class = "sf", year=...
0
votes
0
answers
31
views
Does spotfire have a built-in limit to the amount of categories in a heat map?
I noticed that my heat map only shows 50 rows, whereas I have more than 50 unique values in the column that I configured as y-axis.
Is this by any chance the limit of the heat map's possibilities? ...
1
vote
1
answer
72
views
Zoom to y-axis range with time series in VegaLite
I have a time series with some outlier values around Covid. I'd like to zoom in to a particular y-axis range (say, -3 to +3) to de-emphasize those:
With something like dygraphs, the solution would be ...
1
vote
1
answer
47
views
matplotlib: how to change spacing between the tick marks (lines) and the main figure content?
How to change the spacing between the tick marks (green) and the main figure content (red)? Not the pad parameter in tick_params
fig, ax = plt.subplots(figsize=(5, 5))
sns.histplot(
data=tips,
...
0
votes
1
answer
547
views
How to facet plots by multiple variables and wrap plots in R
I have what I thought would be a simple problem that has been absolutely killing me: I have a group of people and I would like to plot ~5 metrics for each of them. Each metric is a function over time (...
0
votes
0
answers
44
views
How to handle missing monthly data in Vega-Lite for year-over-year (YoY) comparisons using window lag?
I'm working on a Vega-Lite visualization to compare monthly metrics year-over-year by plotting the current month's values alongside values from the same month in the previous year.
Here's a simplified ...
1
vote
1
answer
86
views
How to stretch an axis of type date in R?
I am fairly new to R and currently working on visualizing some health data (BPM, Intervals and so on). I have roughly 5 days worth of data. So far I had no problem plotting some graphs of the progress ...
0
votes
1
answer
100
views
Best way to mark forbidden/invalid paths in a DAG with a × on the edge? [closed]
I'm trying to draw a causal directed acyclic graph (DAG) for a Mendelian Randomization study, and I want to visually indicate a forbidden path. For example, an edge from node A to B with a "×&...