Questions tagged [data-visualization]
Data visualization is the study of the visual representation of data. Maps and charts are the most common types of data visualization, but there are many more.
7,659
questions
0
votes
1
answer
13
views
Looker cannot adjust spacing on visual
I have been unable to find a way to lock in the spacing of columns in a visualization in Looker.
Every time either in dev mode or not or when editing the dashboard if I adjust the size of the columns ...
0
votes
0
answers
21
views
Workaround for spherical polar coordinate Jacobian division
I am having data visualization issue.
Short summup, I'm working on a project involving a polar spherical coordinate mesh, and trying to solved coupled system of ODE (chemical reactions) for each cell.
...
-2
votes
0
answers
23
views
Horizontal Listing Years as Power Bi on Google data studio [closed]
hi
I am drawing the attention of the experienced
I shift from Power Bi to Google data studio for free server support
I try try & try to make a horizontal listing for the years as power bi, but ...
0
votes
0
answers
9
views
(Soft Question) Recommendations for making pretty phase portraits
I am creating phase portraits in two and three dimensions for a paper. I've done this using MATLAB, Mathematica, and (really basic) Python. They are functional,1 but not especially "aesthetically ...
0
votes
1
answer
42
views
poster quality publication chart
OK, I have the following data, that I needed to plot bar chart with.
import pandas as pd
import matplotlib.pyplot as plt
data1 = {'Mode': ['foot', 'bike', 'bus', 'car', 'metro'],
'Segments': ...
-1
votes
2
answers
47
views
How to make grouped bar chart interactive?
Here is data of sales by year and model. Now I want to rank/order these models by the following:
models are ordered from top to down according to their sales in each.
Now I want to visualize this ...
3
votes
1
answer
52
views
R: How to customize Sankey plot in ggplotly?
I have data of sales by year and model, which is visualized via Sankey chart. Now I am struggling to handle 2 issue:
Firstly I need to set model B always on the bottom of chaty regardless its value ...
1
vote
1
answer
45
views
How to build ribbon chart in R? [duplicate]
I have data of sales by year and model. I have been looking for a package to build a ribbon chart in R in the same way as visualized in PowerBI but could not find any good one, all of the are quite ...
0
votes
0
answers
13
views
Power BI: Format number with dot instead of comma to separate thousands
I need to display numbers in power bi using dot as a thousands separator.
It appears with comma in my computer but when I use other computers to open the same power bi project it appears with a dot.
...
0
votes
1
answer
39
views
Forge CSV Data Adapter - Reference Application Data Visualization
I hope you are all doing well. I've been recently trying to modify the AutoDesk reference application to allow me to create a heat-map with my own sensors data and my own model. However, I have been ...
1
vote
1
answer
31
views
How to visualize the attention vector with a text heatmap?
I am working on an NLP research project and I want to visualize the output of the attention vector.
For example, the data looks like this:
def sample_data():
sent = '''the USS Ronald Reagan - ...
0
votes
0
answers
15
views
Plot overlapping area in python
I'm finding the area under a set of curves using np.trapz function and
I want to plot the overlapping area under these curves
import numpy as np
x0 = [0, 4, 6, 10, 15, 20]
y0 = [18, 17.5, 13, 12, 8, ...
0
votes
0
answers
13
views
Dynamic graph on plotly using django / matplotlib
I created an application on Django using pandas matplotlib
I have a line graph with a lot of lines
I want to do it dynamic
How i can click on a line and remove it from the graph?
def ...
0
votes
1
answer
56
views
How to create a 100% stacked barplot from a categorical dataframe
I have a dataframe structured like this:
User
Food 1
Food 2
Food 3
Food 4
Steph
Onions
Tomatoes
Cabbages
Potatoes
Tom
Potatoes
Tomatoes
Potatoes
Potatoes
Fred
Carrots
Cabbages
Eggplant
Phil
...
0
votes
0
answers
17
views
How to customize the order/ranking in Ribbon chart - PowerBI?
As we know Ribbon chart is items ordered-based graph. So it shows how the ranking of items is changing over the period. Now I wonder if it's possible to set the Blue item (100- Groceries) always on ...
0
votes
0
answers
23
views
How to increase space at the bottom of matplotlib?
I am creating a plot in matplotlib using the following commands:
fig = plt.figure()
ax = plt.axes()
ax.plot ( xdata, ydata )
my_cmap = cm.seismic
ax.tick_params ( axis='x', ...
0
votes
0
answers
45
views
Adjusting SNS heatmap size for large dataset [closed]
I am working with the Advanced Regression Housing dataset with 81 variables. I am using the SNS heatmap to visualize the correlation between each of these 81 variables. I need help adjusting the size ...
-1
votes
0
answers
22
views
Cannot add labels into a graph [duplicate]
I want to add labels into my graph. I used this code plt.scatter(optimal_risky_port[1],optimal_risky_port[0],marker=(5,1,0),color='r', label='Optimal risky portfolio', s=1000), and it does NOT add the ...
1
vote
0
answers
17
views
How to visualize HeteroData pytorch geometric graph with any tool?
Hello what is a good way to visualize a pyg HeteroData object ?
(defined similarly: https://pytorch-geometric.readthedocs.io/en/latest/notes/heterogeneous.html#creating-heterogeneous-gnns )
I tried ...
1
vote
1
answer
44
views
How to change items in a ggplot2 legend?
I am trying to change the legend items of this plot.
My code is:
library(ggplot2)
library(HDInterval)
library(ggridges)
df <- data.frame(
density = c(rgamma(400, 2, 10), rgamma(400, 2.25, 9), ...
1
vote
0
answers
9
views
My 6D data only has 2 unique points out of 512 data points, but my 2D t-SNE plot is super spread out. What's going on?
So I have this code that generates and plots t-SNE. actions is (512,12) so 512, 12-dimensional points. When I put this into the command line:
actions.unique(dim=0).shape
torch.Size([2, 12])
We can ...
1
vote
1
answer
34
views
Rearranging the columns of my heatmap using python's seaborn
I'm trying to visualize the following .csv data:
Q1,Q2,Q3,Q4,Q5,Q6,Q7,Q8,Q9,Q10,Q11,Q12,Q13,Q14,Q15,Q16,Q17,Q18,Q19,Q20
4,4,2,2,4,2,3,5,3,4,2,5,2,1,4,4,2,1,5,2
2,2,4,4,4,2,2,2,4,4,2,4,2,2,3,2,2,4,5,2
...
0
votes
1
answer
47
views
Add Credible Intervals to each line
I would appreciate your help with the following issue.
I am trying to add the 95% Credival Intervals (this is not the same as Confidence Intervals) to a density plot, which is separated by source.
The ...
0
votes
2
answers
37
views
How to create multiple coloured background in a ggplot?
I have a dataset that contains multiple groups and exp. conditions. (here represents as group <- c("g1", "g2") and con <- c("A1", "A2", "B1", &...
0
votes
0
answers
18
views
Limit Number of Items Displayed in Legend - GGplot R
I have a large taxonomic dataset that I need to plot as a stacked bar chart. Sample Data:
ID X A B C D E F G
1 5 9 6 7 4 8 10 6
2 6 3 9 10 3 10 4 8
3 6 ...
0
votes
0
answers
13
views
Power bi boxplot chart
I created a boxplot using taxes revenue from some branchs, where each box is an especif tax, and it looks like this:
image1
When I filter a specific branch, the chart will only have one sample from ...
1
vote
2
answers
82
views
How to prevent gridlines showing through when using alpha
Gridlines can be set behind the plot of a filled area by using either ax.set_axisbelow(True) or plt.rc('axes', axisbelow=True) (other stack question). But when using an alpha<1 then the gridlines ...
0
votes
0
answers
18
views
How to do data visualization in Tensorflow JS?
I am new to Tensorflow JS. I just created my first model and I would like to visualize data and track the loss in graphs...
I noticed Tfjs-vis library is depreceated and read only.
Do you have any ...
1
vote
1
answer
49
views
Need to create conditional stacked bar chart in Google Data Studio
I have SEO data and need to create a Stacked Bar chart with it.
I have Landing Pages (URLs) and I need to sort them into 4 categories.
Categorize Landing pages into Top 1-3 Landing pages by clicks; ...
0
votes
1
answer
38
views
Manipulate x axis label positioning. React Chartjs 2
I am trying to make a an area chart that has x axis labels displayed above the actual axis itself. Here's an example:
I have the axis labels, but I cannot find a way to move them just above the X ...
1
vote
1
answer
42
views
How do I order X-Axis of geom_col plot with 2 factors?
I have tried the method from similar problems on this site but still have not been able to figure this out.
I'm using the titanic dataset from kaggle. The end result I am looking for is that within ...
1
vote
1
answer
45
views
How to add overlapping fill_between bounds on a line plot
I have two data frames - one data frame consists of all metric values on a monthly basis, and another one consists of lower and upper bounds for a given period.
import pandas as pd
# sample data
...
1
vote
0
answers
20
views
Animated Scatter plot (Plotly - Python)
I am trying to create an animated Scattermapbox (plotly - Python) with the option to select different dimensions.
I have a dataframe set up in the following way:
X
Y
Anno
I
M
F
0
15
47
2004
1
2
5
1
...
-1
votes
0
answers
17
views
Do D3.js and Alpine.js interfere with each other's control over the DOM?
I'm trying to figure out which frameworks to use for a front-end rapid prototyping project. Since it will likely involve a fair amount of data visualization, D3.js seems fairly essential. I have used ...
-1
votes
0
answers
18
views
Load complex 3d object as marker in 3d plot with python
I would like to plot a complex 3d object as a marker in a 3d plot with python similar to the gif below.
I have looked at mplot3d, and after seeing a similar question with a much simpler 3d marker ...
2
votes
1
answer
26
views
Plotly: Is there a way to choose which color line takes precedence in a stacked bar chart?
I am producing horizontal stacked bar charts via plotly graph objects in python, and have one issue that I can not figure out:
The lines at the right side of the positive bar are overridden by a ...
0
votes
1
answer
44
views
Converting lat/lon coordinates into meters/kilometers for use in a metpy HRRR cross section
I am trying to create custom cross sections of archived HRRR Grib2 output data. I had been following the cross section example provided here and followed up on all issues I had with the file format ...
0
votes
1
answer
25
views
D3.js graph shows up as text
I want to open a graph as a modal after clicking another graph. However, what shows up in the modal is plain text, like such:
After inspecting the element, it seems like the text is the <g> tag ...
0
votes
0
answers
28
views
Exploratory data analysis of different categorical values
I need to find the relationship between process and following categorical value(A,B,C,D) between 1 to 10.its the data that filled b daily basis based on some experiment. Which plot is best for this ...
0
votes
0
answers
40
views
Saving catplot subfigures into a single figure file [duplicate]
I need to combine catplot subfigures into a single figure and then save that figure to a file. I used plt.subplots to create independent axis for each subfigure and then assigned the catplots to the ...
0
votes
0
answers
21
views
Grouping 2 dataframes by month, year then visualizing percent of Green month by month
I am working in Python and am trying to group 2 different dataframes by month and year, then visualizing the percent within a specific category over a timeline but on the same visual. Sort of like a ...
1
vote
1
answer
35
views
Plotly box plot with multiple categories
Consider the following toy data:
import pandas as pd
import numpy as np
from plotly import graph_objects as go
from plotly.subplots import make_subplots
np.random.seed(42)
df = pd.DataFrame(
{
...
0
votes
0
answers
13
views
How to correct data with Python when there is always and unforeseen bias with DEktak and their Profilometer
So I walked over a wafer with a profilometer and it should show a normal wafer "Heidelberg" and a Wafer with newton rings "KIT 4000" so it should show waves in its profile. ...
0
votes
2
answers
36
views
How to produce only the title without a plot in ggplot?
Is it possible to generate only the title without a plot in ggplot?
ggplot() +labs(title = as.character(paste0(paste("title"))),
subtitle = as.character("subtitle"))
...
0
votes
0
answers
21
views
Create buttons "Select all" and "Unselect all" in Plotly for R
Plotly graphs have all series selected by default, and it allows me to unselect them (and then select them again) only one by one.
Is there an approach that allows me to unselect or select them all ...
-1
votes
1
answer
28
views
Power Bi Can't create relationship between tables even relationship is possible
I've these four tables "Central, east, west and south" and I want to build relationship but, I was not to able build. I'm getting error what does it mean? Can anyone tell me how to resolve ...
0
votes
1
answer
16
views
Rearrage/reorder bargraph with multiple comparisons in R?
Considering the dataset below: Three variables alongside a categorical sex variable
#Example Data
Extraversion <- c(4.3, 2, 4.2, 4, 2, 1.5, 3.8, 3.5, 2.1, 2.1, 3)
Anxiety <- c(1.2, 3, 1, ...
0
votes
0
answers
26
views
Matplotlib contour plot lines incomplete when inline labels are used
I wrote the following code to generate a contour plot in Matplotlib:
# generate a meshgride of permeance, cost values
resolution = 200
Y, X = np.meshgrid(np.logspace(math.log10(1000), math.log10(84999)...
0
votes
0
answers
23
views
unable to plot in ubuntu terminal with plotly
to summarize my problem it's that I want to create an plot of my data in Ubuntu terminal with plotly. I've been able to do this in codelabs with it as it allows interactive plots, however if I ...
3
votes
1
answer
43
views
How to rank/order bars in barchart ggplot?
I have 2 numerical (sales; cost) and 2 categorical (model; level) variables:
model level sale cost Colour
1 A HIGH 100 -110 black
2 B HIGH 120 -89 khaki1
3 C HIGH ...