Questions tagged [visualization]

Visualization is any technique for creating images, diagrams, or animations to communicate a message.

Computer visualization is an important technique for understanding and communicating complicated data and ideas.

Data visualization usually involves maps, charts, plots, or graphs, see for full details.

Idea visualization consists of representing an idea with one or more images, to aid in the comprehension of the idea, or certain aspects thereof. For example, an animation of an algorithm operating on a simple problem can greatly improve understanding of that algorithm.

6471 questions
53
votes
7 answers

How to visualize a project structure in MATLAB?

I've come into ownership of several thousand lines of Matlab code, some as >900 line functions and a few directories full of function_name.m files. It's hard to figure out what everything is doing (or relating to) or figure out the dependencies. …
Benjamin Oakes
  • 12,262
  • 12
  • 65
  • 83
49
votes
2 answers

Draw different color for nodes in networkx based on their node value

I have a large graph of nodes and directed edges. Furthermore, I have an additional list of values assigned to each node. I now want to change the color of each node according to their node value. So e.g., drawing nodes with a very high value red…
fsociety
  • 1,791
  • 4
  • 22
  • 32
47
votes
3 answers

Can Google Charts support dual y-axis (v-axis)?

The Flot chart api supports dual v-axis scales, as shown by this example. I'm using Google Charts - is this possible also with Google? I've had a look through the examples and docs, but can't find any examples / references to indicate it does…
Kevin
  • 11,521
  • 22
  • 81
  • 103
47
votes
8 answers

What is the algorithm to create colors for a heatmap?

Assuming values are normalized from 0 to 1, what is the algoritm to get a color to create a heatmap like this? 1 is red, .5 is green, 0 is dark blue. Working in RMagick / ImageMagick.
B Seven
  • 44,484
  • 66
  • 240
  • 385
46
votes
11 answers

Visualizing decision tree in scikit-learn

I am trying to design a simple Decision Tree using scikit-learn in Python (I am using Anaconda's Ipython Notebook with Python 2.7.3 on Windows OS) and visualize it as follows: from pandas import read_csv, DataFrame from sklearn import tree from os…
Ravi
  • 3,223
  • 7
  • 37
  • 49
46
votes
3 answers

Great RDF visualization tools

I want to find some great tools or styles to visualize my RDF data so that it can give viewers a shock when they access the RDF data. The problem is that the visualization tools I get now can just generate some simple styles (node,edge...) like…
ChandlerQ
  • 1,428
  • 2
  • 21
  • 29
45
votes
4 answers

How to generate call-graphs for given javascript?

I have seen "https://stackoverflow.com/questions/1385335/how-to-generate-function-call-graphs-for-javascript", and tried it. It works well, if you want to get an abstract syntax tree. Unfortunately Closure Compiler only seems to offer…
beatak
  • 9,185
  • 10
  • 33
  • 42
44
votes
2 answers

Circular / polar histogram in python

I have periodic data and the distribution for it is best visualised around a circle. Now the question is how can I do this visualisation using matplotlib? If not, can it be done easily in Python? Here I generate some sample data which I would like…
Cupitor
  • 11,007
  • 19
  • 65
  • 91
44
votes
3 answers

Change ggplot factor colors

I notice that here Box and whiskers plot the call: p + geom_boxplot(aes(fill = factor(cyl))) generates bright red/green/blue colors for boxplots fill, while: p + geom_boxplot(aes(fill = factor(vs))) Generates a distinct pale green/red of colors.…
user248237
43
votes
3 answers

Visualization of scatter plots with overlapping points in matplotlib

I have to represent about 30,000 points in a scatter plot in matplotlib. These points belong to two different classes, so I want to depict them with different colors. I succeded in doing so, but there is an issue. The points overlap in many regions…
papafe
  • 2,959
  • 4
  • 41
  • 72
43
votes
1 answer

large graph visualization with python and networkx

I am having trouble with large graph visualization in python and networkx. The graph is wish to visualize is directed, and has an edge and vertex set size of 215,000 From the documenation (which is linked at the top page) it is clear that networkx…
CodeKingPlusPlus
  • 15,383
  • 51
  • 135
  • 216
43
votes
5 answers

How to visualize correlation matrix as a schemaball in Matlab

I have 42 variables and I have calculated the correlation matrix for them in Matlab. Now I would like to visualize it with a schemaball. Does anyone have any suggestions / experiences how this could be done in Matlab? The following pictures will…
jjepsuomi
  • 4,223
  • 8
  • 46
  • 74
42
votes
10 answers

Drawing arrows on an HTML page to visualize semantic links between textual spans

I have an HTML page with some textual spans marked up something like this: ... p50 ... p65 ...
Kaarel
  • 10,554
  • 4
  • 56
  • 78
41
votes
2 answers

how to generate a graph/diagram like Google Analytics's Visitor Flow?

I am trying to generate a diagram similar to that presented by the recent Google Analytics "Visitor Flow". These are also known as Alluvial diagrams. I can use a web or non-web based solution, as long as I can run it myself. The data I want to…
pocketfullofcheese
  • 8,427
  • 9
  • 41
  • 57
41
votes
3 answers

ggplot2 : Plot mean with geom_bar

I have the following data frame: test2 <- data.frame(groups = c(rep("group1",4), rep("group2",4)), X2 = c(rnorm(4), rnorm(4)) , label = c(rep(1,2),rep(2,2),rep(1,2),rep(2,2))) and I am plotting the bar graphs for each label per group…
Cauchy
  • 1,677
  • 2
  • 21
  • 30