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
20
votes
1 answer

How to draw a line or add a text outside of the plot area in R?

Thank you for reading. I find that I am unable to draw lines/points or add text outside of the plot area. If I draw a line from inside the plot (within the axis) area to the area of the xlab main title areas only the part within the plot shows. In a…
Adam SO
  • 9,821
  • 8
  • 28
  • 27
20
votes
4 answers

Visualizing set hierarchies as color coded graphs

I have been reading quite a bit on graphing libraries for Java and Javascript lately but I haven't found a good way to do what I want to do. Essentially I have a hierarchy of sets with regards to a bunch of elements (up to several thousands). These…
posdef
  • 6,498
  • 11
  • 46
  • 94
19
votes
3 answers

Add points to the existing matplotlib scatter plot

How to add points to the existing diagram? The straightforward solution is to plot a new scatter, adding new data. ax.scatter(data[:,0], data[:,1], cmap = cmap, c = color_data) ax.scatter(new_points_x, new_points_y, color='blue') But if we want to…
toyewonug
  • 211
  • 1
  • 2
  • 5
19
votes
6 answers

Visualizing a DAG

I have a large directed acyclic graph that I would like to visualize in a bitmap image. Ideally I'd like to have all the root nodes at the top of the image, and all of the leaf nodes at the bottom, i.e. the graph edges are all pointing in a…
19
votes
2 answers

d3.js change color and size on line graph dot on mouseover

I made a line graph with d3.js (see the attached image1). I managed to insert tooltips on graph dots when mouseover. I'd like to change color and size of dots too. I tried in many ways but it seems really difficult. Any help? Here is the piece of…
andriatz
  • 622
  • 2
  • 9
  • 22
19
votes
2 answers

ggplot2 multiple scales/legends per aesthetic, revisited

I have an example where I'd like to highlight several properties of sequence alignments using ggplot. I'm using geom_tile and want to have two sets of differently coloured tiles for two score properties. I am only able to visualize one. I am aware…
Krizbi
  • 457
  • 4
  • 10
18
votes
2 answers

How do I draw a violin plot using ggplot2?

Can I use ggplot2 to produce a violin plot? Perhaps using some variation of geom_boxplot()?
Sam
  • 7,922
  • 16
  • 47
  • 62
18
votes
3 answers

How to plot non-square Seaborn jointplot or JointGrid

I am trying to plot my non-symmetric data using Seaborn's JointGrid. I can get it to use an equal aspect ratio, but then I have unwanted whitespace: How do you remove the padding? The documentation for both jointplot and JointGrid simply say size…
crypdick
  • 16,152
  • 7
  • 51
  • 74
18
votes
1 answer

Bordered group of nodes in a network graph?

I am attempting to implement a network graph using Vis JS library and would like to implement a group of nodes that are inside a logical group (box). VisJS allows grouping of nodes but is not implemented in a visual way that I am looking…
Eric Forbes
  • 511
  • 4
  • 8
18
votes
1 answer

Using both color and size attributes in Hexagon Binning (ggplot2)

I am hoping to construct some charts to display the shooting tendencies/effectiveness of some NBA players and teams. I would like to format the hexagons as follows: size will represent the number of shots and color will represent the relative…
Wynnerbago
  • 181
  • 4
17
votes
1 answer

Does Google Data Studio have API functionality, and if not, will it in the near future?

I'm trying to automate a workflow using Google Data Studio. Requirements are simple - I need to be able to programatically copy a templated report (from a Python/Java application) and import/set a data source (Google Sheets doc) for that report.…
17
votes
5 answers

What's the fastest force-directed network graph engine for large data sets?

We currently have a dynamically updated network graph with around 1,500 nodes and 2,000 edges. It's ever-growing. Our current layout engine uses Prefuse - the force directed layout in particular - and it takes about 10 minutes with a hefty server…
peteorpeter
  • 4,037
  • 2
  • 29
  • 47
17
votes
2 answers

How boxen plot is different from box plot?

I want to know why there is boxen plot when we have box plot in sea-born library. I know one thing that boxen plot optimised way to represent data especially for large data-sets but i don't know why and other then this i don't have any good…
Kakarot
  • 195
  • 2
  • 10
17
votes
1 answer

making an arc in d3.js

I am using the javascript library d3.js (http://d3js.org/) to create canvas data visualizations. I'm trying to make an arc, but it's not accepting the data parameters from my array. Does anyone know what I'm doing wrong? This is my code: var…
mheavers
  • 29,530
  • 58
  • 194
  • 315
16
votes
1 answer

R YaleToolkit: How to change the font size of tick labels on the sparklines?

I'm using this function for some quick and easy sparklines with R but I can't seem to work out how to change the font size to avoid ugly overlaps of the y-axis tick labels. Here's my code (see below for a reproducible example): sparklines(gamma.df,…
Ben
  • 41,615
  • 18
  • 132
  • 227