As of May 31, 2023, we have updated our Code of Conduct.

# Questions tagged [data-visualization]

Constructing and interpreting meaningful and useful graphical representations of data. (If your question is only about how to get particular software to produce a specific effect, then it is likely not on topic here.)

2,971 questions
Filter by
Sorted by
Tagged with
23 views

1 vote
29 views

### Finding uncertainties of a measured quantity when the distribution of the measured data points is not symmetric

If I have a set of data points and they do not take up the form of a symmetric distribution when i plot them as a histogram. Then, can I calculate the mean and standard deviation from their usual ...
50 views

### Generating binary data in shape regions in R

I am trying to figure out how to generate data in a binary classification figure in R. Two concepts where examples that fall within any of the three 3 × 3 squares are labeled positive and the ...
36 views

### Help analysing Mean Residual Life Plot for GPD

I'm trying to fit a GPD for a set of time dependant data. I have two columns, data which is a value on the negative real line where values closest to zero are considered extremes, and time. Using only ...
49 views

### What about the tails of a ggplot line graph?

Here is my data with value (numeric), group (A/B), Time (T1,T3), and Condition (neutral/reward) variables. ...
61 views

### Visualizing matrix with high numerosity?

I have a matrix with many rows (>18000) and few columns (6), where five are numerical and one is a binary factor and i'd like to find an efficient and simple way to visualize the relationship ...
134 views

### Why does plot between same scaled and unscaled data look different? [closed]

I am using the StandardScaler of Scikit-learn to scale my data. When plotting the data and comparing scaled with unscaled I get different results in how the plots ...
1 vote
87 views

### Visualising data from glm/ glmer

Sorry if this question sounds very amateurish, but I am completely new to R and this website. So, I have a data set with counts of infected organisms as a response variable (for three different ...
553 views

### Why does data visualization mostly use the Cartesian plane instead of the polar plane?

Suppose there's a dataset that has features like the weight and height of people. If we plot the dataset, we commonly use the Cartesian plane, the x-axis to represent weight and the y-axis to ...
242 views

### How to visualize categorical relationships/interaction over time

I have a dataset that has several machines, the quality of two components over time, and the number of breakdowns in a given year. Simulated Random Data: Real data consists of 100K machines, the ...
1 vote
38 views

### Plotting discrete user-defined function in R [closed]

set.seed(123) x <- rnorm(10000,0,2); s2 <- function(n) (1/(length(x[1:n])-1)*sum((x[1:n]-mean(x[1:n]))^2))^(1/2) m <- function(n) 1/n*sum(x[1:n]) I want ...
1 vote
73 views

### Outliers in a PCA score plot

I have this dataset of 104 tissue samples from two different types of tumors (B and C) along and 182 observations (gene expression profile). I do not need to understand the underlying biological ...
323 views

### Plotting a cdf in r

I am trying to work out and plot the CDF from a PDF. The pdf is $$f(x) = \begin{cases} 0&\text{if}\quad -1\leq x \leq 1\\ |1/x^3|&\text{ otherwise} \end{cases}.$$ I know that the CDF is the ...
1 vote
56 views

### Visualizing Numerical Data with 2 Independent Variables on a Single Visualization

This is how my data looks like: ...
37 views

### Is there a name for these lines on a plot?

I'm working with plots for which I'm finding the maximum point and labelling the x and y values at which it occurs: My question is, is there an 'official' name for the red dashed lines that extend ...
57 views

### What graph is best suited for this data? (and how can I produce it in R)

I have this df object (9x19), ...
55 views

### How to compare class distributions between different datasets?

Context: A machine learning model will be trained using multiple datasets, and the aim is to see if any dataset is better (more balanced, more representative etc) for training. Further context thanks ...
274 views

### Should we use measured vs. modelled or modelled vs. measured?

As a non-statistician, I am interested in understanding whether model evaluation should be conducted with the measured values on the x-axis and modelled (or predicted) values on the y-axis, or vice ...
142 views

### How to improve difference-in-differences graph?

I want to visualise what basically is a difference in difference graph but in a better way. My first idea was two split violin plots and it looks good but is too complex for the reader. Any ideas on ...
2k views

### When fitting a linear regression model, is it always recommended to plot the residuals?

If my linear regression model provides good results on the test set, and my main goal is to predict correctly, is there still a reason to plot the residuals and check the residual assumptions? (for ...
1 vote
32 views

### Should I include numbers on my NMDS axes?

The actual values of NMDS axes are essentially arbitrary, as I understand them - there's no meaning to be gained from a value of 1 or 100 or 10,000. In keeping with good design principles should I ...