Bubble chart is a kind of graph where we can plot 3 values. One value in X-axis, one in Y-axis and 3rd one is shown using the diameter of the bubble. It is much similar like a table where the values are represented with the bubbles' diameters.
Questions tagged [bubble-chart]
478 questions
67
votes
3 answers
d3 js - loading json without a http get
I am learning d3. There are certain ways of loading the data in d3 js. But all of them seem to make a HTTP GET. In my scenario, I already have the json data in a string. How can I use this string instead of making another http request? I tried to…

Ravi
- 3,719
- 6
- 28
- 40
22
votes
3 answers
visualizing crosstab tables with a plot in R
I saw a plot generated in excel and I was wondering if R could also do it.
This picture is essentially a visualization of a crosstab table comparing the days of the week to preferred meals on that day and counting the number of people that fall…

CadisEtRama
- 1,071
- 5
- 18
- 31
21
votes
1 answer
How to disable legend in nvd3 or limit it's size
I'm using nvd3 and have a few charts where the legend is much to large. E.g. a scatter/bubble with 15 groups and the group names are long. The legend is so large that it leaves almost no room for the chart itself.
Is there a way to remove the legend…

Dave Wilkin
- 231
- 1
- 3
- 13
13
votes
2 answers
Manually set shape by factor
An example dataset:
A <- c('a','b', 'c','d','e')
types <- factor(A)
B <- c(1,2,3,4,5)
C <- c(6,7,8,9,10)
D <- c(1,2,1,2,3)
ABC <- data.frame(B,C,D,types)
library(ggplot2)
ggplot(ABC, aes(x=B ,y=C ,size=D, colour=as.factor(types),label=types,…

Oli
- 532
- 1
- 5
- 26
11
votes
1 answer
Bubble Chart with ggplot2
I want to print a bubble chart in R. The problem I run into is that both, my x and my y axis are discrete. In theory this means a lot of data points (bubbles) end up on the same coordinate. I would rather have them scattered around the data point,…

Roman
- 249
- 1
- 2
- 7
9
votes
1 answer
Create a concentric circle legend for a ggplot bubble chart
I am trying to recreate this visualization of a bubble chart using ggplot2 (I have found the code for doing this in R, but not with the ggplot2 package). This is what I have so far. There are some other errors with my code at the moment, but I want…

Krista
- 103
- 7
9
votes
2 answers
Highcharts 3.0 Bubble Chart -- Controlling bubble sizes
With Highcharts 3.0 it is possible to create charts with type 'bubble', whereas prior to 3.0 it was necessary to use a 'scatter' chart and modify marker size to make bubble charts. The nice thing about the old way is you had complete control over…

AlexMA
- 9,842
- 7
- 42
- 64
7
votes
1 answer
How do I add labels to d3.js force bubble chart
I'm trying to modify this code bl.ocks.org/mbostock/7881887 so that I can use the technique to show a word cloud where the circle size would be relative to the no of words in a file but my main problem at the moment finding out how to add text to…

TimBrighton
- 219
- 3
- 13
6
votes
1 answer
D3 Circle Pack Layout with a horizontal arrangement
I'm trying to create a wordcloud with the D3 pack layout with a horizontal arrangement.
Instead of limiting the width, I am limiting the height.
The pack layout automatically disposes the circles with the larger one in the center and the others…

jphorta
- 2,144
- 3
- 18
- 27
5
votes
0 answers
Force bubbles to left in D3.js
I am trying in many ways to create a bubble chart by forcing the left of the page based on the value. The highest value bubble should be in the upper left corner. As other approaches didn't work, I looked for an example in which the bubbles are…

Renan Barbosa
- 1,046
- 3
- 11
- 31
5
votes
1 answer
How to set the hue range for a numeric variable using a colored bubble plot in seaborn, python?
I'm trying to use seaborn to create a colored bubbleplot of 3-D points (x,y,z), each coordinate being an integer in range [0,255]. I want the axes to represent x and y, and the hue color and size of the scatter bubbles to represent the…

thecpaptain
- 361
- 2
- 4
- 10
5
votes
0 answers
circular bubble chart with R
I would like to reproduce the following plot in R:
I am now using the package packcircles and I am able to create the plot in the figure:
packcircles plot
using the following code:
require(packcircles)
res <- circleLayout(xyr, limits, limits,…

Zetina
- 87
- 1
- 7
5
votes
2 answers
Is there some algorithm to map a list of numbers to some that vary less?
I'm working on a bubble chart, and am having trouble calculating the bubble radius.
I want to use a certain quantity to calculate the bubble radius, but the quantity varies a lot. The minimum is 340, maximum is 190000 but most points are between…

Jim
- 51
- 3
5
votes
1 answer
Different states in D3/Coffee Bubble chart
I want to use this (http://vallandingham.me/vis/gates/) Bubble Chart (made in D3):
...to walk through some different scenarios. In short, I want to visualize election data. How many votes did parties get, and what scenario's are possible to form a…

Jerry Vermanen
- 297
- 1
- 2
- 19
4
votes
1 answer
How to use react hook in Bubble chart using chart.js
I'm trying to add new bubble in the chart whenever we click on add button I am able to update the state of data i.e. Chartdata using usestate hook but the chart does not re-render and does not show the chart according to the new updated…

James_sheford
- 153
- 2
- 13