data-visualization

What is the difference between D3.js and Cytoscape.js? [closed]

青春壹個敷衍的年華 提交于 2019-12-02 17:35:08
What is the difference between D3.js and Cytoscape.js? Why would someone choose Cytoscape over D3.js? D3 is for charts and mostly static graphs. Cytoscape.js lets you manipulate highly-customisable and interactive graphs, and has an API as easy to use as jQuery. D3 is for arbitrary SVG . This means that although it can be used to make lots of different things, you have to build the renderer, interaction, and model yourself. Sometimes that's what you need. (Note SVG tends not to be able to performantly render highly complex scenes with lots of SVG elements, so evaluate your app's requirements

Good Ways to Visualize Longitudinal Categorical Data in R

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-02 14:07:01
[ Update: Although I've accepted an answer, please add another answer if you have additional visualization ideas (whether in R or another language/program). Texts on categorical data analysis don't seem to say much about visualizing longitudinal data, while texts on longitudinal data analysis don't seem to say much about visualizing within-subject changes over time in category membership. Having more answers to this question will make it a better resource on an issue that doesn't get much coverage in standard references.] A colleague just gave me a longitudinal categorical data set to look at

How to combine the different y-axes into one y axis in Tableau

99封情书 提交于 2019-12-02 13:59:38
问题 in Tableau I would like to figure out how to combine the y-axes for Former smoker, Never smoked, Smoke everyday, and Smoke some days. I want one y axis that ranges from 0.00 to 1. I appreciate any help, thanks. 回答1: Not sure your ideal graph output, but instead of plotting each individual measure. Drag the [Measure Values] pill to the y axis and filter for the measures you want. You can then drag [Measure Names] to the color shelf to make a line for each measure. 来源: https://stackoverflow.com

How can I learn to create beautiful infographics (with connection to my R knowledge)? [closed]

血红的双手。 提交于 2019-12-02 13:49:54
I am a devoted R (r-project.org) user, and love infographics. I just came across this article: http://www.noupe.com/design/fantastic-information-architecture-resources.html Giving a long list of resources for information designers. And it raised in me the desire to do more beautiful (not just informative) R plots. Do you have any suggestion/resources on how to make this leap? What books/software/skills do I need to have/develop in order to be able to make beautiful infographics? Here's a list of resources that I would suggest: Tufte's books are really excellent, although my favorite is

How can I align the innerPlots?

筅森魡賤 提交于 2019-12-02 10:35:54
I have 2 charts: chart1 and chart2 . I want both charts to have same innerPlotSize and location . But chart1 has a secondary yaxis. This does NOT work: chart2.ChartAreas[0].AlignWithChartArea = chart1.ChartAreas[0].Name; chart2.ChartAreas[0].AlignmentStyle = AreaAlignmentStyles.PlotPosition; chart2.ChartAreas[0].AlignmentOrientation = AreaAlignmentOrientations.Vertical; This will align the InnerPlotPositions of two Charts : // align the controls: yourChart1.Left = yourChart2.Left; yourChart1.Size = yourChart2.Size; // get the numbers of the current innerplotpositions RectangleF ri1 =

Change the starting value of value axis in Bar chart with Jfreechart

谁说我不能喝 提交于 2019-12-02 09:37:46
问题 I have the following values to be shown in a BAR chart in my Java web application. 9.46373791E8 9.45942547E8 9.45559945E8 9.45187023E8 9.44856693E8 9.44417826E8 9.44007878E8 As u can see the values are really close and have minor differences. When i generate a bar chart using Jfreechart, all the bars appear almost the same height and there is no way of telling the difference visually. So i want to change the (0,0) to (0,9)so that x axis is at number 9 on y axis. I still want to show the real

UWP StackedLineSeries doesn't show values

蓝咒 提交于 2019-12-02 09:32:30
I am trying to use WinRTXamlToolkit.Controls.DataVisualization.UWP trying to draw any of the stacked charts like this: But only this comes out: Please help me, I have to use stacked series but the framework doesn't act as it should be.. Since I don't know how you define the code behind, I just provide the sample code as follows which can create a StackedLineSeries chart successfully. XAML Code <Page x:Class="CStackLineChat.MainPage" ... xmlns:charting="using:WinRTXamlToolkit.Controls.DataVisualization.Charting" mc:Ignorable="d"> <Grid Background="{ThemeResource

how use bokeh vbar chart parameter with groupby object?

本秂侑毒 提交于 2019-12-02 09:31:08
Question Below code is grouped vbar chart example from bokeh documentation. There are something i can't understand on this example. Where 'cyl_mfr' is come from in factor_cmap() and vbar()? 'mpg_mean' , is it calculating the mean of 'mpg' column? if then, why 'mpg_sum' doesn't work? I want to make my own vbar chart like this example. Code from bokeh.io import show, output_file from bokeh.models import ColumnDataSource, HoverTool from bokeh.plotting import figure from bokeh.palettes import Spectral5 from bokeh.sampledata.autompg import autompg_clean as df from bokeh.transform import factor_cmap

Multiple inputs multivariate data visualisation

淺唱寂寞╮ 提交于 2019-12-02 08:36:54
I am trying to visualise multivariate data model by reading them from multiple input files. I am looking for a simple solution to visualise multiple category data read from multiple input csv files. The no. Of rows in inputs range from 1 to 10000s in individual files. The format is same of all the inputs with 4 columns csv files. Input 1 tweetcricscore 34 51 high Input 2 tweetcricscore 23 46 low tweetcricscore 24 12 low tweetcricscore 456 46 low Input 3 tweetcricscore 653 1 medium tweetcricscore 789 178 medium Input 4 tweetcricscore 625 46 part tweetcricscore 86 23 part tweetcricscore 3 1 part

How to plot this this graph?

一曲冷凌霜 提交于 2019-12-02 08:25:24
Hi Data Visulization Experts! I'm trying to plot this graph hand-drawn example here in python. However, it seems it will be much trickier to plot as compared to normal plots. It would be really nice if a visualisation expert can help in plotting this. In the hand-drawn figure I kept all the lines red, however, they can be in different colours. Thank you for your responses :) Without the data I cannot assist in plotting it, but you can solve it via Python by following the examples at: https://matplotlib.org/gallery/units/bar_demo2.html?highlight=bar ^ You can perhaps have each bar chart on a