information-visualization

What algorithms are good for interactive/realtime graph-drawing?

末鹿安然 提交于 2019-12-20 15:33:08
问题 What algorithms are good for interactive/realtime graph-drawing for live data and direct-manipulation? Failing that - what libraries do you use to draw graphs? Suggestions; Prefuse information-visualization toolkit any others? BTW- I mean graphs in the graph-theory sense - points and lines any language by live I mean the graph should be manipulatable once on screen. 回答1: I would recommend any library that Jeff Heer has worked on: D3 Protovis Flare Prefuse I believe all three projects are open

Geocoding with Geopy and big data

点点圈 提交于 2019-12-10 12:36:38
问题 I have this CSV file which i'm feeding with this python script import csv from geopy.geocoders import OpenCage geolocator = OpenCage() #here some parameters are needed with open('/Users/Ian/Desktop/Test02/151213_2015_martyrs_year_filtered_areas.csv', 'rb') as csvinput: with open('151213_locations_filtered_opencage.csv', 'w') as csvoutput: output_fieldnames = ['Province','Area', 'Country','Latitude','Longitude'] writer = csv.DictWriter(csvoutput, delimiter=',', fieldnames=output_fieldnames)

What algorithms are good for interactive/realtime graph-drawing?

别来无恙 提交于 2019-12-03 03:58:24
What algorithms are good for interactive/realtime graph-drawing for live data and direct-manipulation? Failing that - what libraries do you use to draw graphs? Suggestions; Prefuse information-visualization toolkit any others? BTW- I mean graphs in the graph-theory sense - points and lines any language by live I mean the graph should be manipulatable once on screen. I would recommend any library that Jeff Heer has worked on: D3 Protovis Flare Prefuse I believe all three projects are open source. Jeff Heer is pretty good at referencing papers in his code at least in the Prefuse library. Looking

Word Portraits visualization [closed]

放肆的年华 提交于 2019-12-01 08:03:02
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . I stopped by this visualization and it's called Word Portrait: My question is: how to do something like this? Is there a tutorial or a paper that describes this? 回答1: I newer saw this but I did bitmap to ASCII art converter in the past which is similar. so from my point of view I

Plot correlation matrix using pandas

本小妞迷上赌 提交于 2019-11-27 16:37:35
I have a data set with huge number of features, so analysing the correlation matrix has become very difficult. I want to plot a correlation matrix which we get using dataframe.corr() function from pandas library. Is there any built-in function provided by the pandas library to plot this matrix? jrjc You can use pyplot.matshow() from matplotlib : import matplotlib.pyplot as plt plt.matshow(dataframe.corr()) plt.show() Edit: In the comments was a request for how to change the axis tick labels. Here's a deluxe version that is drawn on a bigger figure size, has axis labels to match the dataframe,

Plot correlation matrix using pandas

半世苍凉 提交于 2019-11-26 11:44:56
问题 I have a data set with huge number of features, so analysing the correlation matrix has become very difficult. I want to plot a correlation matrix which we get using dataframe.corr() function from pandas library. Is there any built-in function provided by the pandas library to plot this matrix? 回答1: You can use pyplot.matshow() from matplotlib : import matplotlib.pyplot as plt plt.matshow(dataframe.corr()) plt.show() Edit: In the comments was a request for how to change the axis tick labels.

How to represent double values as circles in a 2d matrix in java

醉酒当歌 提交于 2019-11-26 02:20:26
so I want to write a matrix explorer which enables me to reorder rows and columns of a matrix. For this porpouse I used the Jtable class. Now the problem that I have is that it is very difficult to reorder a matrix by looking at double values, so I would like to print the matrix not with the double values but with circles in which the radius of the circle represents the value. So that I can tell the difference between big values and small values quicker. Anybody has any idea how I can turn this double values into filled circles with JTable or any table class for that matter? Here's an example

How to represent double values as circles in a 2d matrix in java

被刻印的时光 ゝ 提交于 2019-11-26 01:09:12
问题 so I want to write a matrix explorer which enables me to reorder rows and columns of a matrix. For this porpouse I used the Jtable class. Now the problem that I have is that it is very difficult to reorder a matrix by looking at double values, so I would like to print the matrix not with the double values but with circles in which the radius of the circle represents the value. So that I can tell the difference between big values and small values quicker. Anybody has any idea how I can turn