FAQ Database Discussion Community

## Refresh Chart Without Redraw it

c#,winforms,charts,bar-chart
I want to create a bar graph, like it scans something. In addition I want to change the color of the bar according to the x-axis interval at that time. So far, I can managed the scanning function but when I try to change the colour of the bar, the...

## How to change colours for Angular-Chart.js

javascript,angularjs,charts,bar-chart,chart.js
I use Angular-Chart.js (the AngularJS Chart.js version) to create a bar chart. The Chart is working with the options except for the colours. Even if I set them it is indicated in the documentation, they stay grey. <div class="graph-display" ng-controller="chartController"> <canvas class="chart chart-bar" data="bilans.data" labels="bilans.labels" series="bilans.series" options="{ scaleShowHorizontalLines: true, scaleShowVerticalLines:...

## multiBarChart (nvd3) in rCharts is not displaying

javascript,r,bar-chart,rcharts
I am using rChart library for generating javascript plots directly from R statistical package. I am trying to compute multiBarChart but the plot seems to be blank. EDIT What is more, none of examples from here displays on my computer: https://github.com/ramnathv/rCharts/blob/master/inst/libraries/nvd3/examples.R all examples are blank. Also some1 has a similar...

## Google Chart with Category Picker and SQL Database

c#,asp.net,bar-chart
I want to draw a google chart with data comes from a stored procedure in MS SQL and also use a category picker. So far my code only show a blank page and i don't know where is the mistake. The stored procedure return a table which looks like this...

## Android - BarChart, Bargraph

android,bar-chart
I want to implement a feedback/rating chart in my android app.(it is like when you open the google play and check an app's feedback there is a colourful graph from users who had voted it) Can anyone help me how to start that? I appreciate any help you can provide.

## In R stacked barplot with colors mapped according to variable

r,colors,ggplot2,bar-chart,stacked-chart
I am just starting in R, and I'm stuck at the barplots. I want to make a stacked barplot where the colors are chosen based on a variable. My data looks lik this: Thickness point 3 point 5 point 6 point 7 point 8 point 9 point 11 layer1 25...

## Set a minimum height on bars in D3 graph

javascript,angularjs,d3.js,bar-chart
I think this should be fairly simple, but I'm new to D3 and don't know where to start. I'd like to set a minumum height to the bars in my bargraph so that even bars with a value of 0 are still visible. I'd also like this to be accurately...

## Averaging rows by multiple column variables in R

r,ggplot2,average,bar-chart,multiple-columns
I am trying to create a multiple bar chart of my data, depicting the mean of avgct for each region with error bars using ggplot2. Here is a sample of my data: gregion lregion avgct 1 e 1.146 1 e 0.947 2 e 0.908 3 e 1.167 1 t 1.225...

## How can i make bar & pie charts in angular js

angularjs,bar-chart,pie-chart
I want to make charts, bar chart and pie chart. it has to take inputs from user and maps that input to the chart on run time. Chart has to able to make changes as the user changing it on run time. it will be a great help. Thanks

## r stacked bargraph with colors representing values

r,colors,bar-chart,stacked-chart
I'm looking to make a stacked barchart with colors representing values from a separate data column as well as add an accurate color bar using just the base graphics in R. There is one other post about this but it is pretty disorganized and in the end doesn't help me...

## ggplot2 bar chart with 2 Y variables

r,ggplot2,bar-chart
I am trying to create a simple bar chart with ggplot2 (in R). I would like to have 2 bars for each category. X Y1 Y2 A 0.53 0.01 B 0.23 0.01 C 0.15 0.05 D 0.09 0.26 E 0.01 0.67 So for A, I would like to have 2...

## Javascript library for drawing bar charts with timeline [closed]

javascript,histogram,bar-chart,timeline,column-chart
I'd like to draw a time series as a bar chart (I suppose it's also called column chart) preserving the scale of the time line. Example: Could you recommend a javascript library providing the code with how to visualize it? I'm well aware of this answer and tried some of...

## Empty space in MATLAB bar chart [duplicate]

matlab,plot,bar-chart
This question already has an answer here: White space on the right when using bar Matlab 2 answers I'm plotting a bar chart of 901 values using MATLAB R2015a: What is empty space in the end of plot (black box)? How can I remove it?...

## plotting 3d barchart from a 3D list

python,numpy,matplotlib,bar-chart
I have a dataset looks like(contains ~25 data-points): x=[2.225 2.325 2.425 2.075 2.375 1.925 1.975 1.775 1.975 2.375] y=[147.75 130.25 161.75 147.75 165.25 151.25 158.25 151.25 172.25 123.25] z=[-1.36, -0.401, -0.741, -0.623, -0.44, -0.37, 0.120, 2.8, 0.026, -1.19] I'm trying to plot a 3D-bar chart using the data. I was...

## Bar graph and geom_line in ggplot

r,ggplot2,bar-chart
I am trying to draw a geom_line on a bar chart, my bars are filled by year. My code is: library(ggplot2) library(plyr) library(reshape) DF <- data.frame(DECL.INDICATORS=c("Finland", "Finland", "Germany" ,"Germany","Italy","Italy"), Year=c(2009,2010,2009,2010,2009,2010), EXPVAL=c(2136410,1462620,371845300,402397520,357341970,357341970), IMPVAL=c(-33668520,-37837140,-283300110,-306157870,-103628920,-105191850)) net <- ddply(DF, .(Year,DECL.INDICATORS), summarise, net = sum(EXPVAL + IMPVAL)) DF.m <- melt(DF, id.vars = c("Year",...

## Flot Bar Chart design

javascript,design,bar-chart,flot
I've made this bar chart http://imageshack.com/a/img901/7186/cnOfhh.png, and the code for it is: //compute & mark average color for (var i = 0; i < zdata.length; i++) { if (zdata[i].TargetTime == null) zdata[i].TargetTime = 0; if (zdata[i].TimePlayed == null) zdata[i].TimePlayed = 0; if (zdata[i].TargetTime >= zdata[i].TimePlayed) { zdata[i]['Color'] = 'green'; }...

## R: Barplot, add value directly next to bar and a description in a separate column [closed]

r,bar-chart
How can I achieve somethign like this in R:

## Grouped barplot in ggplot2 in R

r,ggplot2,bar-chart
I would like to make a grouped bar plot. An example of my data is as follows: site code year month gear total value 678490 2012 3 GL 13882 678490 2012 4 GL 50942 678490 2012 5 GL 54973 678490 2012 6 GL 63938 678490 2012 7 GL 23825 678490...

## MATLAB : bar graph_ modify parameters on axis

matlab,bar-chart
I have a bar graph with 2 different data (each with a different color as you can see on the picture). I would like to move the x-axis so it crosses at y=-100 (for example). So if a data = -40, I would like to have a bar from -100...

## Recreate bar chart without it remembering data

javafx,bar-chart
Task I have a BarChart which I have to fill with different data over and over again. The data must be in a predefined order. Of course I only want to change the data and not create a bar chart every time. Problem Once you have a category with a...

## Is it possible to add borders for legend in google visualization core chart?

Is it possible to add borders for legend in google visualization core chart? Here is the code http://jsfiddle.net/mchx2nLe/1/ google.load('visualization', '1', { packages: ['corechart'] }); google.setOnLoadCallback(drawChart); function drawChart() { var data = new google.visualization.arrayToDataTable([ ['Status', 'Completed', 'In Progress', 'Registered / Not Started', 'Past Due', { role: 'annotation' }], ['Safety', 100.0, 0.0,...

## AmCharts set to always display labels on stacked columns

charts,bar-chart,amcharts
I am trying to make my stacked column amChart always display value labels on the columns. Even if they do not fit. I am using this code: var qtrchart = AmCharts.makeChart("chartdiv", { "type": "serial", "theme": "none", "legend": { "autoMargins": false, "borderAlpha": 0.2, "equalWidths": false, "horizontalGap": 10, "markerSize": 10, "useGraphSettings": true,...

## Core Plot horizontal bar chart on negative y-axis

core-plot,bar-chart
I have a requirement to draw Core Plot horizontal bar chart with everything on the negative y-axis. I.e. the first index should appear at -1, like below: I have figured out how to draw horizontal Bar Chart. But figuring out how to draw them in an "inverted" manner (to let...

## Barplot sum of observations in two groups in R

r,bar-chart
I have data of the form: mydata <- data.frame(test = 1:20, group = sample(c("A", "B"), 20, rep=TRUE), var1 = sample(c("yes", "no", "NA"), 20, rep=TRUE), var2 = sample(c("yes", "no", "NA"), 20, rep=TRUE), var3 = sample(c("yes", "no", "NA"), 20, rep=TRUE), var4 = sample(c("yes", "no", "NA"), 20, rep=TRUE), var5 = sample(c("yes", "no", "NA"),...

## Stacking charts in JavaFX

javafx,javafx-8,bar-chart,linechart
I'm using a BarChart and a LineChart in JavaFX. When I make the two charts the same size and put them put at the same place they overlap eachother perfectly. How would I make the LineChart appear to e on top of the BarChart. For the moment I've been setting...

## R order a table for barplot by predefined settings

r,graph,order,bar-chart

## R: Stacked bar chart from two column data

r,bar-chart,stacked-chart
I'm trying to create a stacked bar chart from data held in a data frame that has two columns. An example of the data format is below: Date Speed 01/01/2013 56 01/01/2013 45 01/01/2013 34 02/01/2013 23 02/01/2013 12 02/01/2013 1 03/01/2013 48 For each day I need to count...

## Different color for each column in angular-chartjs bar chart

javascript,angularjs,bar-chart,chart.js,angular-chart
I'm using angular-chartJS in a project I'm working on and I need a different color for each bar in a Bar Chart. Canvas: <canvas id="bar" class="chart chart-bar" data="medal_data" labels="medal_ticks"></canvas> Controller: $scope.medal_ticks = ['Gold', 'Silver', 'Bronze', 'Not passed'];$scope.series = ['Medaljer']; $scope.medals_colours= ['#087D76', '#B3BC3A', '#38B665', '#8B4A9D'];$scope.medal_data = ['1', '5', '2',...

## Highchart - Tooltip prevents click

highcharts,bar-chart
I have a stacked bar chart. there is a problem with the tooltips. One cannot click an item hidden by a tooltip. The simple solution is to remove the tooltip - but it's useful so I would rather keep it. Ideally I would like to be able to click the...

## How to add frequency percentages to a ordered barplot in ggplot2

r,ggplot2,annotations,bar-chart,frequency
I need to build a horizontal barplot which is ordered and has the frequency counts (which i could get) as well as frequency percentages on top (side) of it. The code I have so far looks something like this. I have not been able to order the chart or add...

## How to create stacked bar chart using C3 for string data?

bar-chart,c3
I am trying to created stacked bar chart using C3 chart. But i am facing problem as i am trying to plot a graph with string values. My data looks like this var data1=["Country", "Denmark", "India"] var data2=["Value", 1, 1] var X=["Item",'Item1','Item2] c3.generate({ data: { x:'Item', columns:[[data1],[data2]], type: 'bar' ,...

## R barplot with very long names

r,ggplot2,label,bar-chart
I want to produce a barplot of 10 items stored in a data frame: df <- structure(list(v = structure(c(0.133177575198731, 0.048416489312887, 0.0323328322269662, 0.0257842168974815, 0.0207946396185765, 0.0157952295839215, 0.015414483430714, 0.0138292246981344, 0.0136598827935515, 0.0132108536143025 ), .Dim = 10L, .Dimnames = structure(list(c("HIPERTENSION ESENCIAL (PRIMARIA)", "RINOFARINGITIS AGUDA", "DIARREA Y GASTROENTERITIS DE PRESUNTO ORIGEN INFECCIOSO", "LUMBAGO NO ESPECIFICADO", "INFECCION...

## how to group two barchat from mpandroidchart lib

android,bar-chart
I want display in groups of two barcharts the following barcharts: Any feedback will be appreciate. Here is code: public class BarChartActivityMultiDataset extends DemoBase implements OnSeekBarChangeListener { private BarChart mChart; private SeekBar mSeekBarX, mSeekBarY; private TextView tvX, tvY; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);...

## Dimple.js barGap function not working

javascript,d3.js,charts,bar-chart,dimple.js
Below is a D3 and Dimple.js code, The Chart displays all objects. However, the bargaps are not changing and they display real thin. When I change the property barGap, it doesn't effect the chart at all. I am inserting the image at the bottom. <!DOCTYPE html> <html> <head> <meta charset="utf-8">...

## Microstrategy - Bar Chart in a Document does not show all the series

bar-chart,document,microstrategy
I have a bar chart in a document. Each bar is a value of an attribute, but sadly the chart shows at most 5 columns. I cannot find an option, in the web or the desktop, for showing 1 bar for every value in the attribute. How can I do...

## how can i use angular js into google charts

angularjs,charts,bar-chart
I want to customize the bar chart with the user's data, and redraw it accordingly on run time. user should give details on both axis and their values. What code i should write to it ? Can angular variables be a good choice for doing it ? <script type="text/javascript" src="https://www.google.com/jsapi"></script>...

## Greek symbols in labels for bar chart in MATLAB

matlab,latex,bar-chart,matlab-figure
I would like to use greek symbols in the ylabels for my barh() chart. I tried the following but it didn't really work: tplot = barh(mdata, 'BarWidth', 0.3); set(gca,'xgrid','on') lbl = {'$$\hat{\sigma}_1$$', '$$\hat{\sigma}_2$$', '$$\hat{\sigma}_3$$'}; box off set(gca,'yticklabel',lbl) h=findobj(gca,'type','text'); set(h,'Interpreter','latex') I also tried: set(gca,'TicklLabelInterpreter', 'tex') When I do get(gca), the property...

## How to create a time series plot in the style of a horizontal stacked bar plot in r

r,plot,time-series,bar-chart
I would like to create a horizontal ‘stacked bar’ type plot in which date runs along the x-axis and my samples appear as bars on the y-axis. In the simple example below, I have three samples (a, b, c) each containing three values (0, 1, 2). I would like the...

## Removing negative values from axis

java,javafx-8,bar-chart,linechart,axis-labels
I have a BarChart and a LineChart. The possible values go from negative(-) to positive(+). How would I only display the positive axis-labels? As in only remove the numbers. Should I make a custom Chart or is there an easier way?...

## ggvis side-by-side barchart grouped by second variable

r,bar-chart,ggvis
I am in process of migrating from Excel to ggvis for data analysis. For a typical grouped bar chart with two variables, however I have difficulty to plot bar chart side-by-side instead of stacked. The following data has four steps A, B, C, D with "ratio" data from two features...

## Side-by-side barplot in R

r,bar-chart
I am having an issue producing a side-by-side bar plot of two datasets in R. I previously used the code below to create a plot which had corresponding bars from each of two datasets juxtaposed side by side, with columns from dataset 1 colored red and from dataset 2 colored...

## How to create graph in c#.net

c#,bar-chart
ChartArea ChartArea1 = new ChartArea(); Legend Legend1 = new Legend(); Series Series1 = new Series(); dynamic Chart1 = new Chart(); this.Controls.Add(Chart1); ChartArea1.Name = "ChartArea1"; Chart1.ChartAreas.Add(ChartArea1); Legend1.Name = "Legend1"; Chart1.Legends.Add(Legend1); Chart1.Location = new System.Drawing.Point(210, 241); Chart1.Name = "Chart1"; Series1.ChartArea = "ChartArea1"; Series1.Legend = "Legend1"; Series1.Name = "Series1"; Chart1.Series.Add(Series1); Chart1.Size = new...

## Bar Plot x-axis order in R ggvis

r,bar-chart,ggvis
I am experimenting to use ggvis for my daily report. One issue I came across is that for a dataset that I intended to plot x-axis as in the data order. However, the actual plot shows up in the alphabet order. Is there any hidden parameters to change x-axis order...

## Plot bars starting from x axis not equal to 0 and extend to both sides

r,plot,bar-chart
Suppose my data values are x <- c(30,50,70,120,150) I want them in horizontal format (horiz=T). Now My y axis position is in x=100 and I want bars to start from x=100, not from 0, and it should extend to left and right sides What to do? x=c(30,50,70,120,150) barplot(x,horiz=T) axis(2,pos=100) but...

## Putting space between bars using bar function

matlab,plot,bar-chart
I am try to plot 16 bars, 8 of these belong to one group. I want to give this group the red color, the other 8 belong to another group which is given the blue color. I would like to arrange the bar in pairs, each pair containing one from...

## How to adjust the y-axis of bar plot in R using only the barplot function

r,plot,bar-chart,axis-labels

## Change the form of an array (PHP)

php,arrays,bar-chart
I have a huge, complicated issue in my php app. Here are the details: I currently have this as my array (var dumped): array (size=6) 0 => string '11/04/15' (length=8) 1 => string '15/04/15' (length=8) 2 => string '19/04/15' (length=8) 3 => string '1' (length=1) 4 => string '1' (length=1)...

## Bars in geom_bar have unwanted different widths when using facet_wrap

r,ggplot2,bar-chart,geom-bar
I can'd find a solution for the following problem(s). I would appreciate some help a lot! The following code produces bar charts using facet. However, due to "extra space" ggplot2 has in some groups it makes the bars much wider, even if I specify a width of 0.1 or similar....

## how to control the extent of multi-barplot on the X-axis with GNUPLOT

gnuplot,bar-chart
I am trying to make a multi-barplot as in the attached image, but the counting on the X-axis must start from 44 up to 127 not from 1 up to 84 as it is now. Can anyone please indicate how to do that? set ylabel "Sec. Struct. Probability" offset -1...

## Bar graph using php and mysql

javascript,php,mysql,arrays,bar-chart
Requirement Bar chart from MySql data , i have working code for static bar chart the code as follows --> <script> var data = [ [0, 11], //London, UK [1, 15], //New York, USA [2, 25], //New Delhi, India [3, 24], //Taipei, Taiwan [4, 13], //Beijing, China [5, 18] //Sydney,...

## Include values to the barplot and pie charts in R

r,statistics,bar-chart,pie-chart
I have data in this form: proprete.freq <- table(cnData$proprete) proprete.freq.genre <-table(cnData$genre,cnData\$proprete) I am using these functions (barplot and pie) to plot the data: barplot(proprete.freq.genre, col = heat.colors(length(rownames(proprete.freq.genre))) , main="Proprete", beside = TRUE) pie(proprete.freq, col=rainbow(3), names.arg=avis, main="Propreté") Here is the result: Question: How to include the value just on top of...

## How to display the value of the bar on each bar with pyplot.barh()?

python,matplotlib,bar-chart
I generated a bar plot, how can I display the value of the bar on each bar? Current plot: What I am trying to get: My code: import os import numpy as np import matplotlib.pyplot as plt x = [u'INFO', u'CUISINE', u'TYPE_OF_PLACE', u'DRINK', u'PLACE', u'MEAL_TIME', u'DISH', u'NEIGHBOURHOOD'] y = [160,...

## Axis not ligning up to bars

javascript,d3.js,graph,bar-chart
I have this d3 code, but I'm having trouble to align the bars to the x-axis. I want the number, which represents an hour (range 0h-23h) to appear in the middle of the number of hours, which is the y-value. The variable times gets instantiated with 24 values (indexes 0...

## Grouped Stacked Bar Plot in R from Table Columns [closed]

r,bar-chart
I want to generate a plot looking like this: Could you give me a hint how top achieve that? I startet with: T1 <- c(23.2,34.5,76.3,65.8,12.6) T2 <- c(15.6,12.4,21.8,20,5.2) T3 <- c(15.6,12.4,21.8,20,5.2) A <- gl(5,1,5,labels=c("Mähen","Wenden","Schwaden","Pressen","Abtransport")) data <- cbind(T1,T2,T3) rownames(data) <- levels(A) barplot(x1,names.arg=levels(A)) barplot(x3,names.arg=levels(A)) #barplot(t(data),beside=F, ylim=c(0,100),legend.text=colnames(data), barplot(t(data),beside=F, legend.text=colnames(data),...

## Change bar graph x label in MATLAB

matlab,graph,bar-chart
Suppose that we have this data: 89.9 81.9 90.3 87.6 84.6 87.7 87.3 83.0 87.6 89.7 74.3 90.6 Output bar graph: How can i change xlabel 1,2,3 and 4 default values to some strings like A,B,C and D?...

## Set custom colours for tooltip squares Chart.js

jquery,charts,html5-canvas,bar-chart,chartjs
When using Chart.js is it possible to change the colour of the squares within the tooltip that is used to respresent each bar? I've noticed that when you change the pointColor value it affects the colour of the squares but can you somehow use a different colour other than whats...

## How can I set different colours for each bar in angular-chart.js?

javascript,angularjs,charts,bar-chart
I've looked at How to change colours for Angular-Chart.js, but it relates to colours for an entire (dataset), not a specific bar. What I'm looking for is a way to apply Different color for each bar in a bar chart; ChartJS to Angular. So, I've got a bar chart: <canvas...

## Matplotlib: How do I make my bar plot fill the entire x-axis?

python,matplotlib,plot,bar-chart
I have a bar plot drawn in matplotlib as such: The x-ticks do not span the entire range of x axis. How do I make that happen? My code is here: def counter_proportions(counter): total = sum(counter.values()) proportions = dict() for key, value in counter.items(): proportions[key] = float(value)/float(total) return proportions def...

## How to make a grade bar chart in java

java,bar-chart,stddraw
This is my homework problem, but i cant seem to get it straight. This program prompts the user to enter the number of students and then prompts the user to enter a grade percentage (0-100) for each student. Only thing i can't get right is that I cant draw the...

## Primefaces 5 Rotated Axis Tick Labels

css,jsf-2,primefaces,bar-chart
In Primefaces 4 we can configure the rotation of axis tick labels as below: <p:barChart id="idBars" value="#{chartBean.modelChart}" [...] style=" xaxisAngle="-30" > </p:barChart> Now, how can I configure the rotation of axis tick labels using Primefaces 5 or higher? Thanks in advance....

## pandas matplotlib .plot(kind='hist') vs .plot(kind='bar') issue

python,pandas,matplotlib,histogram,bar-chart
I have a pandas dataframe named firstperiod and a column named megaball. The range of the values in megaball are from 1 to 25, and this line of code: print firstperiod.megaball.value_counts().sort_index() gives me this, which is what I want to see (the # of occurrences per possible value) 1 12...

## Control column widths in a ggplot2 graph with a series and inconsistent data

r,ggplot2,width,bar-chart,series
In the artificial data I have created for the MWE below I have tried to demonstrate the essence of a script I have created in R. As can be seen by the graph that gets produced from this code, on one of my conditions I don't have a "No" value...

## How to remove bars for those bars with zero value in Chartjs bar chart?

html5,html5-canvas,bar-chart,chartjs
Even if the bars have value of zero in bar chart created using chartjs, they still show a visible bar. This is misleading for my purpose and I would like to have it removed and show nothing there (meaning that, I still want to show labels with zero value but...

## Is there a way to have a barplot and a stacked barplot on the same graph using barplot or ggplot?

r,ggplot2,bar-chart,rstudio
I have two pieces of data that I want to overlay onto the same plot. I've looked at several ggplot articles and I don't think it's possible within ggplot. So I have been using barplot. I have 5 tiers and I'm plotting total dollars by tier as a solid bar....

## normalized bar heights in ggplot

r,ggplot2,bar-chart
I am trying to compare two sets of count data with ggplot. The datasets are of different lengths and I am having trouble figuring out how to normalize the bar heights to the number of rows in each dataset. Please see the code examples below: Example dataset set.seed(47) BG.restricted.hs =...

## How to add Aggregate (Sum) To Kendo UI Stacked Bar Chart

javascript,kendo-ui,bar-chart
I have a simple bar chart with basic data. The tooltip shows the specific value it is representing which is good. I want to, just below it, show the Total for that entire bar/stack. So if the top bar had 10, 20, 50 for its corresponding values, the total for...

## Not able Zoom on D3 Group Bar Chart

javascript,d3.js,zoom,bar-chart
I have created a group bar chart, & try to apply zoom, but zoom is only happened for the first group & not for the complete group bar chart. Any help will be really appreciated. Thanks in advance. you can find working fiddle here: http://jsfiddle.net/fiddlefollower/qkHK6/893/ code details: var x0 =...

## R-Project Barplot Colors

r,colors,bar-chart
I am new to R, and I am trying to create a simple barplot. I have been able to create a barplot with the correct values, but only a single color for all bars. If I change the code slightly ( using table() instead of as.table() ), I get the...

## D3: Is there a name for this type of chart and code example?

d3.js,bar-chart
I've seen this kind of bar chart in a couple of places. This is from LinkedIn. The page is rather complicated. When you click on a bar, it recalculates and reorders the bars in the other columns. Here, San Fran is clicked. Is there an example of something like this...

## How to make the placement of asterisks in a barplot easier?

r,bar-chart
I would like to place asterisks in my grouped barplot (R base) to indicate where the paired comparisons differ significantly. I know how to place these stars using the points command. However, from the posts that I read sofar it seems that one needs to find the right coordinates manually...

## Bars on D3 Bar Graph not showing up

javascript,d3.js,bar-chart
I've been staring at this code for hours now and maybe it's obvious or just needs a fresh set of eyes, but I am desperate to figure out why the bars on the graph aren't showing up?? Here is the fiddle for it: http://jsfiddle.net/u7zs3jwo/1/ Here's the JSON: var bardata =...

## jQuery sparklines set colour of individual bar

jquery,bar-chart,sparklines
I am using jquery Sparklines to make cute little bar graphs however I want to only colour the last bar a different colour. The code below works, but it would be nice if I could colour the bars by the tooltip names rather than by value. Is there a way...

## Horizontal barplot in ggplot2 with faces having different categories

r,ggplot2,bar-chart,facet
I have a data frame with ids, categories, and values, while I manage easily to have an horizontal dot-plot, with products grouped by category in distinct facets, when I try with a barplot, event categories with missing data show up. Any hint? Is it a bug or am I missing...

## Put one line chart and bar chart in one plot in R (Not ggplot)?

r,plot,ggplot2,data.frame,bar-chart
how to Combine a bar chart and line in single plot in R (from different data sources)? Say I have two data sources as: barData<-c(0.1,0.2,0.3,0.4) #In percentage lineData<-c(100,22,534,52,900) Note that they may not be in the same scale. Can I plot both barData and LineData in one plot and make...

## names on the x-axis of barplot in R?

r,bar-chart
I am plotting barplot in r. my data: ,Up,Down Floor-1,690,1511 Maxim,1354,2515 Hosiptal,1358,2649 Bank,459,589 Air-port,1359,2097 Bus-stand,1234,1928 Taxi-Stand,213,138 Railway-station,557,610 The barplot of the script is at https://www.dropbox.com/s/77iswweabw0790d/q.png?dl=0 As I don't have enough reputation; I can't post the image ... :) my script is : d <- read.csv("file.csv") barplot(t(as.matrix(d[, 2:3])),beside=TRUE,legend = c("Up","Down"), ylab...