data-visualization Questions
3
Solved
As is visible from the image, the scaffolding for the rangeslider is generated but the trace inside it is not. It is also fully functional otherwise. With some experiment, I found that only if you...
Turbary asked 24/5, 2021 at 11:37
2
I have the following code to make a bokeh plot from NetworkX
p = figure(x_range=(-1.1, 1.1), y_range=(-1.1, 1.1))
p.grid.visible = False
p.axis.visible = False
graph_renderer = from_networkx(G, n...
Dubious asked 13/11, 2018 at 2:40
1
Solved
Goal:
In my plot, I would like to have different colors for the border and the area of an area band. The plot was created with echarts4r using the e_band2() function.
Problem:
In the documentatio...
Adon asked 18/8, 2022 at 12:3
4
Even after passing 'title':None inside layout.legend in the template, the chart still shows a legend title, whereas it should change the default setting to no legend title.
If I manually pass it th...
Stepdame asked 20/5, 2021 at 14:58
5
Solved
I need to plot a table in matplotlib. The problem is some columns have one-level headers, some columns have double-level headers.
Here's what I need:
Here's simple example for one-level header...
Valentine asked 14/12, 2018 at 15:59
4
Solved
I have a Jupyter notebook (python) where I used plotly express to plot in the notebook for analysis purposes.
I want to share this notebook with non-coders, and have the interactive visuals be avai...
Betaine asked 26/8, 2019 at 13:31
3
Using the "plotly" library in R - I generated some random data and made some interactive data visualizations:
library(plotly)
library(ggplot2)
library(dplyr)
library(hrbrthemes)
#subplot...
Guilford asked 24/8, 2022 at 3:50
3
I am using the R programming language. I am following a tutorial on data visualization over here: https://plotly.com/r/3d-surface-plots/
I created my own data and made a 3D plot:
library(plotly)
s...
Theroid asked 1/2, 2021 at 16:45
2
Solved
I would like to have my main title and axis title have the same font size as the annotated text in my plot.
i used theme_get() and found that text size is 12, so I did that in my theme statement -...
Alleras asked 30/1, 2015 at 18:22
1
Solved
I made the following 4 maps in R:
library(leaflet)
library(leaflet.extras)
id = 1:1000
long = 2.2945 + rnorm( 1000, 0.1085246 , 0.1)
lat = 48.8584 + rnorm( 1000, 0.009036273 , 0.1)
my_data_1 = data...
Phosphorous asked 24/8, 2022 at 5:11
5
Solved
I would like to produce a heatmap in Python, similar to the one shown, where the size of the circle indicates the size of the sample in that cell. I looked in seaborn's gallery and couldn't find an...
Warrenwarrener asked 17/12, 2019 at 19:58
2
I have created a basic bar chart in plotly that I would like to sort by descending order.
I couldn't find an easy way to specify this in the plotly syntax, so I tried modifying the dataframe with ...
Jari asked 22/6, 2019 at 9:14
1
I made a simple box plot using the plotly library:
library(plotly)
library(ggplot2)
var_1 <- rnorm(100, 10, 5)
var_2 <- sample(LETTERS[1:4], 100, replace = TRUE, prob = c(0.1, 0.2, 0.65, 0.0...
Unspoiled asked 3/1, 2021 at 7:9
3
Solved
I search in R implementation (may be html widget on java script) a stacked bar chart in ribbon style, which allows you to see the rating change for each category in the dynamics.
It's look like rib...
Pulvinus asked 1/2, 2018 at 7:58
6
Solved
I have a pandas-Dataframe and use resample() to calculate means (e.g. daily or monthly means).
Here is a small example.
import pandas as pd
import numpy as np
dates = pd.date_range('1/1/2000', pe...
Seidule asked 19/11, 2013 at 23:35
2
Solved
I have large number of files of data which I want to plot using gnuplot. The files are in text form, in the form of multiple columns. I wanted to use gnuplot to plot all columns in a given file, wi...
Mccollum asked 16/3, 2015 at 14:10
4
Solved
Is it possible in mayavi to specify individually both the size and the colors of every point?
That API is cumbersome to me.
points3d(x, y, z...)
points3d(x, y, z, s, ...)
points3d(x, y, z, f, .....
Dialogism asked 7/3, 2014 at 14:49
2
Solved
category = df.category_name_column.value_counts()
I have the above series which returns the values:
CategoryA,100
CategoryB,200
I am trying to plot the top 5 category names in X - axis and va...
Gem asked 17/10, 2017 at 15:9
2
Solved
How does one create a grouped bar chart in Altair? I'm trying the following but it is just producing two graphs side by side.
Chart(data).mark_bar().encode(
column='Gender',
x='Genre',
y='Ratin...
Forsterite asked 5/5, 2017 at 5:47
11
Solved
I have created an array thusly:
import numpy as np
data = np.zeros( (512,512,3), dtype=np.uint8)
data[256,256] = [255,0,0]
What I want this to do is display a single red dot in the center of a 5...
Babettebabeuf asked 17/4, 2010 at 17:28
1
Solved
I am working with the R programming language.
I generated the following random data set in R and made a plot of these points:
library(ggplot2)
set.seed(123)
x_cor = rnorm(5,100,100)
y_cor =...
Scammony asked 15/3, 2022 at 16:40
9
Solved
So far I have been unable to find an R library that can create a sunburst plot like those by John Stasko. Anyone knows how to accomplish that in R or Python?
Disenchant asked 17/10, 2012 at 3:41
2
Solved
I made the following 25 network graphs (all of these graphs are copies for simplicity - in reality, they will all be different):
library(tidyverse)
library(igraph)
set.seed(123)
n=15
data = data....
Homothermal asked 23/2, 2022 at 22:42
8
Solved
I can't seem to find the property that controls visibility of labels in pie charts. I need to turn the labels off as the information is available in the legend.
Anyone know what property I can u...
Scab asked 27/1, 2010 at 15:7
1
Solved
In d3, we may change the order of elements in a selection, for example by using raise.
Yet, when we rebind the data and use join, this order is discarded.
This does not happen when we use "the...
Serapis asked 18/2, 2022 at 19:41
© 2022 - 2024 — McMap. All rights reserved.