data-visualization Questions

5

Solved

I am trying to create a simple program so as to display the map of Central America with its population using Pygal_maps_world. Here's the code for the same: import pygal_maps_world as pa wm=pa.Wor...
Avuncular asked 7/6, 2016 at 12:40

3

I've run this code many times but now it's failing. Matplotlib won't work for any example, even the most trivial. This is the error I'm getting, but I'm not sure what to make of it. I know this is ...
Cockfight asked 27/2, 2022 at 20:42

3

Solved

I want to reverse the y-axis of the graph I've obtained for all the over-plots using plotly.graph_objects. I know reversing of the axis can be done using plotly.express. But I would like to know ho...
Penner asked 29/11, 2019 at 6:58

3

Solved

I have datframe as df which has a column that I am passing under y as 'parameter' as shown below and it to be plotted against variable 'time'. This variable has 2 labels under the column 'labels' w...
Arcade asked 1/10, 2020 at 15:47

7

Solved

I am using google colab on a dataset with 4 million rows and 29 columns. When I run the statement sns.heatmap(dataset.isnull()) it runs for some time but after a while the session crashes and the i...
Painter asked 24/1, 2019 at 10:11

3

Solved

How to use matplotlib or pyqtgraph draw plot like this: Line AB is a two-directions street, green part represents the direction from point A to point B, red part represents B to A, width of each ...
Karajan asked 10/6, 2016 at 4:53

2

I am trying to programmatically build a family tree. I don't care what format the input data is in, as text is easy to parse (I'm an NLP researcher), but I'm having trouble figuring out how to buil...

2

Solved

Is there any difference between add_trace and append_trace in Plotly? Is the latter a legacy of the former? In the Plotly.py GitHub, there are 88 markdown + 21 Python instances of add_trace and 9 m...
Summerwood asked 30/12, 2020 at 10:17

13

I'm new to Tensorflow and would greatly benefit from some visualizations of what I'm doing. I understand that Tensorboard is a useful visualization tool, but how do I run it on my remote Ubuntu mac...

4

Solved

I have a list of ~300 IP addresses that I would like to plot on a map of the world. Can you explain roughly how I could do that with Python? EDIT: I'm also interested in the visualization part of ...
Resiniferous asked 26/4, 2012 at 18:33

6

I am new to Google BigQuery. I need help with the query error: "Encountered " "WITH" "with "" at line 1, column 1. Was expecting: EOF" with t1 as ( select date(USEC_TO_TIMESTAMP(event_di...
Yearlong asked 5/8, 2016 at 15:18

2

I'm wondering if there's a way to add a title or text on a folium map in python? I have 8 maps to show and I want the user to know which map they're looking at without having to click on a marker....
Through asked 21/5, 2020 at 5:43

3

Solved

I'm trying to show some data about Australian suburbs. 'Suburb' is the term that Australians use to describe an area, if you are from the rest of the world think post code or something similar. I'...
Citriculture asked 21/11, 2012 at 3:36

3

I'm thinking of saving a camera position (specifically rotation) so changing back and forth between 2D and 3D will always go back to my last viewed position in 3D. What is the best way to do this? ...
Cytoplasm asked 8/3, 2014 at 10:37

3

Solved

Given the following chart created in plotly. I want to add the percentage values of each count for M and F categories inside each block. The code used to generate this plot. arr = np.array([ ['Do...
Census asked 10/12, 2020 at 10:50

1

I am creating a table using the gt package in R Studio, and I can't figure out a graceful way to make the columns more readable for tables with many rows. Take the following code: gt::sp500 %>% ...
Bestir asked 9/10, 2020 at 16:54

5

Solved

Consider this JSON object : { department_1 : [{ id : 1, name = Joe Smith, email : [email protected]}, ...., { id : 500, name = Bun Sam, email : [email protected]}]} { department_2 : [{ i...

2

Solved

I have a codepen here - https://codepen.io/anon/pen/xpaYYw?editors=0010 Its a simple test graph but the date will be formatted like this. I have dates on the x axis and amounts on the y How can ...
Foresight asked 16/1, 2018 at 10:22

2

Solved

How can I change the x and y-axis labels in plotly because in matplotlib, I can simply use plt.xlabel but I am unable to do that in plotly. By using this code in a dataframe: Date = df[df.Country==...

2

Solved

I need to add hatches to a categorical box plot. What I have is this: What I need is something like this (with the median lines): And what I have tried is this code: exercise = sns.load_dataset(&...
Shetrit asked 17/6, 2022 at 9:2

3

Solved

I understand that one can change the width of a bar in geom_bar using the width argument. That does work, but then it creates a larger gap between the bars. Is there a way to manually push the bars...
Magisterial asked 28/4, 2018 at 14:1

19

Solved

I have a data set with huge number of features, so analysing the correlation matrix has become very difficult. I want to plot a correlation matrix which we get using dataframe.corr() function from ...

1

I am developing a geographical dashboard in bokeh. It is fairly easy to use hover tooltip in bokeh, however I want to populate a div when I hover on a field. Python version : 3.5.2 Bokeh version :...
Donato asked 13/9, 2018 at 23:22

3

I would like to run this D3 visualization https://beta.observablehq.com/@mbostock/d3-zoomable-sunburst as a standalone webpage, like this one here https://bl.ocks.org/maybelinot/5552606564ef37...
Thionate asked 5/11, 2018 at 14:4

1

I can take a set of triplets [X,Y,Z] and immediately generate a (smooth) contour plot using Python and matplotlib with a single call to tricontour(). One can also generate contours 'easily' using p...
Willodeanwilloughby asked 20/6, 2017 at 20:56

© 2022 - 2024 — McMap. All rights reserved.