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

In Python, how do I easily generate an image file from some source data?

I have some data that I would like to visualize. Each byte of the source data roughly corresponds to a pixel value of the image. What is the easiest way to generate an image file (bitmap?) using Python?
Jesse Vogt
  • 16,229
  • 16
  • 59
  • 72
26
votes
1 answer

"Interpolate" is not a function

I am new to D3 and experimenting on few charts . While building a line chart using D3 V4 , I came across following errors . d3.line(...).x(...).y(...).interpolate is not a function I assume this error is due to the function interpolate not being…
Amogh Huilgol
  • 1,252
  • 3
  • 18
  • 25
25
votes
4 answers

Save Jupyter Notebook with Plotly Express widgets displaying

I have a Jupyter notebook (python) where I used plotly express to plot in the notebook for analysis purposes. I want to share this notebook with non-coders, and have the interactive visuals be available still - but it does not seem to work. I tried…
guyts
  • 899
  • 2
  • 17
  • 34
25
votes
3 answers

ggplot2 : How to reduce the width AND the space between bars with geom_bar

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 closer to together? Should I be manipulating the…
Alex
  • 779
  • 2
  • 7
  • 20
25
votes
3 answers

D3 .merge function

I'm struggling with understanding the merge function in D3, despite reading through the D3 API countless times. The API says: "This method is commonly used to merge the enter and update selections after a data-join. After modifying the entering and…
Harrison Cramer
  • 3,792
  • 9
  • 33
  • 61
25
votes
7 answers

Any 'pretty' data visualization libraries for Python?

There are plenty of 'pretty-printing' visualization libraries for Javascript. E.g. those listed here. Googling for 'python visualization libraries' only turns up stuff like VTK and mayavi, which are primarily more for no-nonsense scientific use. So,…
int3
  • 12,861
  • 8
  • 51
  • 80
24
votes
3 answers

R package for motion capture data analysis and visualisation

I am a newbie in R, love it, but I am surprised by a complete lack of solid package to analyse motion capture data. The simplest motion capture file is just a massive table with 'XYZ' coordinates for each point attached to a recorded subject, and…
Geek On Acid
  • 6,330
  • 4
  • 44
  • 64
24
votes
2 answers

Plotly: How to change the colorscheme of a plotly express scatterplot?

I am trying to work with plotly, specifically ploty express, to build a few visualizations. One of the things I am building is a scatterplot I have some code below, that produces a nice scatterplot: import plotly.graph_objs as go, pandas as pd,…
artemis
  • 6,857
  • 11
  • 46
  • 99
24
votes
5 answers

Can not get pytorch working with tensorboard

I"m going through this tutorial to set up pytorch (v1.3.0 through conda) with tensorboard https://pytorch.org/tutorials/intermediate/tensorboard_tutorial.html# but on the step from torch.utils.tensorboard import SummaryWriter # default `log_dir`…
foobar8675
  • 1,215
  • 3
  • 16
  • 26
24
votes
9 answers

Scatter Plots in C++

What is the best way to graph scatter plots in C++? Do you write data to a file and use another tool? Is there a library like matplotlib in Python?
oz10
  • 153,307
  • 27
  • 93
  • 128
23
votes
2 answers

Delaunay Triangulation of points from 2D surface in 3D with python?

I have a collection of 3D points. These points are sampled at constant levels (z=0,1,...,7). An image should make it clear: These points are in a numpy ndarray of shape (N, 3) called X. The above plot is created using: import matplotlib.pyplot as…
Matt Hancock
  • 3,870
  • 4
  • 30
  • 44
23
votes
3 answers

A simple scatterplot example in D3.js?

I'm looking for an example of how to draw a scatterplot in D3.js. I haven't been able to find a simple example by looking through the official D3.js examples (impressive though they are). I just want to know how to: draw and label the x- and…
Richard
  • 31,629
  • 29
  • 108
  • 145
22
votes
3 answers

Animated dot histogram, built observation by observation (using gganimate in R)

I would like to sample points from a normal distribution, and then build up a dotplot one by one using the gganimate package until the final frame shows the full dotplot. A solution that works for larger datasets ~5,000 - 20,000 points is…
max
  • 4,141
  • 5
  • 26
  • 55
22
votes
3 answers

Convert D3 Observable to standalone webpage - like blocks.org?

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/5552606564ef37b5de7e47ed2b7dc099 Does Observable have a function to…
max
  • 4,141
  • 5
  • 26
  • 55
22
votes
4 answers

Plotly animated slider in Python

I was trying to recreate this example in a Jupyter notebook. https://plot.ly/python/gapminder-example/ but was getting this error: PlotlyDictKeyError: 'slider' is not allowed in 'layout' Path To Error: ['layout']['slider'] Valid attributes for…
Caleb Everett
  • 425
  • 1
  • 6
  • 10