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
22
votes
2 answers

Visualise word2vec generated from gensim using t-sne

I have trained a doc2vec and corresponding word2vec on my own corpus using gensim. I want to visualise the word2vec using t-sne with the words. As in, each dot in the figure has the "word" also with it. I looked at a similar question here : t-sne on…
Dreams
  • 5,854
  • 9
  • 48
  • 71
22
votes
1 answer

Sparklines in ggplot2

Tufte Sparklines (as illustrated in his Beautiful Evidence) have been replicated in base graphics as part of YaleToolkit and further perfected as a result of this question. Sparklines have also been done in lattice as a part of my small side project…
Geek On Acid
  • 6,330
  • 4
  • 44
  • 64
22
votes
4 answers

Treemap visualization in Python

I'm interested in drawing a treemap: What is the easiest way to make one in Python? Is there a library that could produce such a graphic, given the proper input data?
Primoz
  • 259
  • 1
  • 2
  • 4
22
votes
4 answers

How to make matplotlib graphs look professionally done like this?

Default matplotlib graphs look really unattractive and even unprofessional. I tried out couple of packages include seaborn as well as prettyplotlib but both of these just barely improves the styles. So far I've gotten to following using seaborn…
Shital Shah
  • 63,284
  • 17
  • 238
  • 185
20
votes
4 answers

3D library recommendations for interactive spatial data visualisation?

Our software produces a lot of data that is georeferenced and recorded over time. We are considering ways to improve the visualisation, and showing the (processed) data in a 3D view, given it's georeferenced, seems a good idea. I am looking for…
David
  • 13,360
  • 7
  • 66
  • 130
20
votes
2 answers

How to change the x-axis and y-axis labels in plotly?

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=="India"].Date New_cases =…
20
votes
3 answers

How to add a subtitle to an Altair-generated chart

It seems like you can't add a subtitle yet to a title on a graph made using the Altair Python library. I love Altair, but according to the threads I've found Altair doesn't have a subtitling capability for a graph. Has anyone figured out how to add…
George Hayward
  • 485
  • 5
  • 12
20
votes
2 answers

How to set the default figure size and DPI of all plots drawn by `matplotlib.pyplot`

I know how to set figure size and DPI of one plot by fig, ax = plt.figure(figsize=(8,8), dpi=140). But I am wondering there is a way that can change the figure size or DPI of all plots without specifying these values each time. Could anyone help…
Bowen Peng
  • 1,635
  • 4
  • 21
  • 39
20
votes
6 answers

Why does my google colab session keep crashing?

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 instance restarts. It has been happening a lot and I…
Callmeat911 True
  • 203
  • 1
  • 2
  • 5
20
votes
2 answers

How to rotate the 3D scatter plots in google colaboratory?

I am generating a 3d scatter plot in google colab, but the problem is that the generated fig is static and is not rotatable. I also tried the command %matplotlib notebook to enable the 3D scatter rotation as it apparently work in jupyter notebook…
20
votes
3 answers

How to plot a hybrid boxplot: half boxplot with jitter points on the other half?

I'm trying to make a similar plot to Fig. 2d-f in an article published on Nature this year. It's basically a half boxplot with points on the other half. Can anyone give me some hints? Thank you very much! These are my data and code which produced…
IloveCatRPython
  • 631
  • 8
  • 20
20
votes
2 answers

leaflet with R: add text labels

This code is taken from this page: library(leaflet) leaflet(data = quakes[1:20,]) %>% addTiles() %>% addMarkers(~long, ~lat, popup = ~as.character(mag)) Instead of markers, is there any way to plot mag as text labels?
luciano
  • 13,158
  • 36
  • 90
  • 130
20
votes
4 answers

pygal rendering png/svg black pictures

I am using python (with a virtual env in LinuxMint), I installed pygal. Everything works fine (rendering to html) but not rendering to svg or png . The result : Nothing but a black background. I installed cssselect and tinycss like mentioned here…
4m1nh4j1
  • 4,289
  • 16
  • 62
  • 104
20
votes
8 answers

Hide labels in pie charts (MS Chart for .Net)

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 use in code behind? I tried setting the series labels…
grenade
  • 31,451
  • 23
  • 97
  • 126
20
votes
1 answer

ASCII Plotting Functions for R

In order to access my server, I am forced to work with an old text terminal application that does not have X windows. The best thing I have going is emacs/ESS. Often, I wish to make a rudimentary plots such as histograms and scatter plots and not…
Eric Brown
  • 399
  • 4
  • 9