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.

Data visualization (or data visualisation) is the creation and study of the visual representation of data, and is closely related to information graphics, information visualization, scientific visualization, and statistical graphics.

In recent years, data visualization has become an active area of research, teaching and development.

There are different approaches on the scope of data visualization. One common focus is on information presentation. From a computer science perspective data visualization is comprised of:

  • Visualization algorithms and techniques
  • Volume visualization
  • Information visualization
  • Multiresolution methods
  • Modelling techniques
  • Interaction techniques and architectures
  • Infographics

There are several open source libraries that can be used to produce data visualizations including and for Python and for JavaScript.


Useful links


Related tags

7470 questions
13
votes
1 answer

Plot custom data with Tensorboard

I have a personal implementation of a RL algorithm that generates performance metrics every x time steps. That metric is simply a scalar, so I have an array of scalars that I want to display as a simple graph such as: I want to display it in real…
Valentin Macé
  • 1,150
  • 1
  • 10
  • 25
13
votes
5 answers

seaborn: Selected KDE bandwidth is 0. Cannot estimate density

import pandas as pd import seaborn as sns ser_test = pd.Series([1,0,1,4,6,0,6,5,1,3,2,5,1]) sns.kdeplot(ser_test, cumulative=True) The above code generates the following CDF graph: But when the elements of the series are modified to: ser_test =…
SaadH
  • 1,158
  • 2
  • 23
  • 38
13
votes
4 answers

geom_path() refuses to cross over the 0/360 line in coord_polar()

I'm trying to plot the angle of an object (let's say it's a weather vane) over time. I want to plot it on a polar coordinate system and have the time points be connected by a path, showing how the angle evolves over time. I simply have a dataframe,…
Andrew
  • 131
  • 4
13
votes
3 answers

plotting 3d scatter in matplotlib

I have a collection of Nx3 matrices in scipy/numpy and I'd like to make a 3 dimensional scatter of it, where the X and Y axes are determined by the values of first and second columns of the matrix, the height of each bar is the third column in the…
user248237
13
votes
1 answer

Recharts ComposedChart with multiple datasets?

I want to plot data points on a composed chart, consisting of Bars and Lines, each having their own datasets, respectively. For instance, I want each Bar to get a value from data.points, but Lines to get their value from an array of objects,…
eightonrose
  • 688
  • 3
  • 14
  • 24
13
votes
1 answer

Python: Barplot with colorbar

I'm trying to make a bar plot with a color bar, each bar's hight is one variable (y) and each bar should have a color depending on another variable (c). What I've got to is this (simple example): data_x = [0,1,2,3] data_hight =…
Estcc
  • 119
  • 1
  • 2
  • 12
13
votes
6 answers

How to center ggplot plot title

The "lege artis" way to center justify a plot title in ggplot - plot.title = element_text(hjust = 0.5) - centers the title over plot area excluding axis labels. This can get ugly when the axis labels are very long, such as this plot of songs in…
Jindra Lacko
  • 7,814
  • 3
  • 22
  • 44
13
votes
1 answer

ggjoy facet with ggtree

Is it possible to add a joyplot as a panel to a plot that includes a ggtree, as shown in these examples? Examples of joyplots are here. I realize that I could manually put the species labels for the joyplot in the same order as the tree tip labels,…
LCM
  • 292
  • 4
  • 14
13
votes
5 answers

Scientific data visualization and the .NET framework

I have spent a long time searching for a product that would bring functionality similar to matplotlib to the .NET framework. From what I can tell, nothing really measures up. Is this an accurate assessment? Here is what I have…
Scott
  • 590
  • 4
  • 13
13
votes
2 answers

Directed, acyclic graph in d3.js

Is there a reliable way of drawing directed, acyclic graphs in D3.js today? I'm trying to visualize prerequisites in a curriculum, similar to this. I've seen some older answers to similar questions with the most promising lead being this hack,…
13
votes
1 answer

Plot topics with bokeh or matplotlib

I'm trying to plot topic visualization from a model. I want to do something like bokeh covariance implementation. My data is: data 1: index, topics. data 2: index, topics, weights(use it for color). where topic is…
sb32134
  • 426
  • 8
  • 19
13
votes
1 answer

Heatmap with matplotlib using matshow

I am trying to generate a heatmap of a 10x10 matrix. All values in the matrix are probabilities; sum of all elements equal to 1.0. I decided to use the matshow plot type (it seemed easy to use), however I cannot generate the output I'd like to have…
marillion
  • 10,618
  • 19
  • 48
  • 63
13
votes
1 answer

x axis and y axis labels in pheatmap in R

I really like how the pheatmap package creates very nice looking heatmaps in R. However, I am trying to add x and y axis labels to the output (if one were just in plot(), one would use: xlab = 'stuff'). A simple example is as…
joshdr83
  • 499
  • 2
  • 5
  • 17
13
votes
2 answers

ggplot use small pie charts as points with geom_point

I would like to make a graph with ggplot as shown below. The idea is to plot "percentage matches" between two categorical variables. It is easy to come close by altering the size of points, but I wondered if it is possible to make these small pie…
midtiby
  • 14,550
  • 6
  • 34
  • 43
13
votes
5 answers

Plot latitude/longitude values from CSV file on Google Maps (or similar platform)

I've been provided with a table of data which includes columns for latitude and longitude. The data is US only. What I've like to do is to feed this data to Google Maps or a similar tool like Live Maps and have the data points plotted. Does anyone…
Brian Lyttle
  • 14,558
  • 15
  • 68
  • 104