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

Graphs update only when I write enter() at the end

I tried to toggle the data using d3.interval and render the data as bar graphs on my svg. As below. interval-- d3.interval(function(){update(data); flag =! flag; },1000) rendering-- function…
BS100
  • 823
  • 6
  • 22
2
votes
2 answers

matplotlib pandas: Change width between datapoints based on another columns value

Tried my best to bring it in one picture: I would like to increase the width of such lines between two datapoints which have a higher z value. Painting them red when they go over a certain threshold would be nice.. Is that possible with…
gies0r
  • 4,723
  • 4
  • 39
  • 50
2
votes
1 answer

Put images with text as ticklabels with ggplot2

How can I put local image files as tickslabels and the country name under the flag using ggplot2? I would like to achive something like this: The data looks like: countries = c("Norway", "Spain", "Germany", "Canada", "China") values = c(10, 20, 30,…
Pedro BP
  • 73
  • 5
2
votes
1 answer

How to add data labels for a treemap in highcharter in r?

I want to add data labels for a treemap I have created. I am using this treemap for an image so having the pts and fgpct for each box would be helpful. I want what's listed in the tooltip and the legend to appear in each box. My…
Nick
  • 207
  • 1
  • 2
  • 11
2
votes
2 answers

How to set constant figsize in matplotlib

I am doing some experimentations with plotting and I like big plots i.e plots on a big picture. So I have to manually do plt.figure(figsize=(15,8)) myplotcode every time. I want to know is there anyway that I set this figsize as constant in…
Ahmad Anis
  • 2,322
  • 4
  • 25
  • 54
2
votes
0 answers

Matplotlib notebook magic in Jupyter notebook partial plot

The first command in my Jupyter notebook is the %matplotlib notebook. This has been working fine but curiously the figures being drawn today are only partial plots. (The inline option without interactivity display complete plots). When I pan, I can…
2
votes
1 answer

Visualize Moiton Capture data with Python

Hi I have motion capture data which is saved in .mat file format. I want to write code in python to visualise motion capture data with animation or the best way to visualise. I have saved struct in .mat file in to separate .csv files and I want to…
nadia
  • 43
  • 7
2
votes
1 answer

Polishing Scatter Plot Legends With Seaborn

The scatter plot generated for the piece of code below using seaborn is as follows. ax = sns.scatterplot(x="Param_1", y="Param_2", hue="Process", style='Item', data=df, s=30,…
2
votes
2 answers

How to plot a time series with multiple country?

I've done a lot of data cleaning in my dataset to be able to have all the information needed in my data frame. I'm at the moment where I would like to visualize it but the result that I'm getting is useless. #combine dataframe test =…
yce
  • 57
  • 2
  • 12
2
votes
1 answer

Is a grouped barchart by date possible in matplotlib?

Suppose I have a need to create a visualization of the following format: Wherein we have multiple categories, some belonging to the same class (ie. different types of successes, different types of failures). Is there a way in matplotlib to create a…
2
votes
1 answer

How to remove the Y-axis labels, ticks and axis label in a plot created using librosa.display.specshow

I am using this code to visualize the melspectogram and save the image spec = librosa.feature.melspectrogram(y=y,sr=sr,n_mels=128 ) plt.figure(figsize=(12, 6)) spec = librosa.amplitude_to_db(spec, ref=np.max) librosa.display.specshow(spec, sr=sr,…
2
votes
1 answer

ValueError: x and y can be no greater than 2-D, but have shapes (2, 1, 1) and (2,)

Source code cyprus_predicted_life_satisfaction = lin1.predict(cyprus_gdp_per_capita)[0][0] #cyprus_predicted_life_satisfaction = lin1.predict(cyprus_gdp_per_capita) cyprus_predicted_life_satisfaction OUT:…
sogu
  • 2,738
  • 5
  • 31
  • 90
2
votes
1 answer

how to remove hovertext from the outer most block of a tree map in plotly express

I have created a 3 level treemap using plotly express using below code: import plotly.express as px fig = px.treemap(veh_3d_data, path=['Date', 'Capacity.2', 'Transporter'], values='Vehicle Plate', color='Capacity.2', …
2
votes
0 answers

Interactive hierarchical data visualization in python?

I want to visualize age of files in a large directory structure, with the ability to drill down by expanding/collapsing directories. The below linked image represents an idea of what it could look like. Image: Gantt-like time distribution with…
2
votes
1 answer

Having a problem with seaborn python module

I started today a personal project following a tutorial from here https://nbviewer.jupyter.org/github/savvastj/nbashots/blob/master/tutorial/Tutorial.ipynb But I already got a problem in the very beginning and I don't know why, it's something…
Carlos
  • 33
  • 8
1 2 3
99
100