Displaying 15 results from an estimated 15 matches for "flowingdata".
2011 Mar 14
2
proportional symbol map ggplot
...ame proportions as the scaled variable.
Hereby an example we found on
http://www.r-bloggers.com/bubble-chart-by-using-ggplot2/ . In this example
we see the proportions of the symbols' area are different from the
proportions of the scaled variable:
crime <-
read.csv("http://datasets.flowingdata.com/crimeRatesByState2008.csv",
header=TRUE, sep="\t")
p <- ggplot(crime, aes(murder,burglary,size=population, label=state))
p <- p+geom_point(colour="red") +scale_area(to=c(1,20))+geom_text(size=3)
Example:
proportion population Pennsylvania/Tennessee= 2.003
propor...
2012 Apr 26
1
Heatmap fidelity
...ng a problem when using heatmap. Even though the diagonal of my
matrix is all the same value, the diagonal of my heatmap is not all the same
color. Any suggestions?
Here is some reproducible code:
#########################################
# Get data
nba <- read.csv("http://datasets.flowingdata.com/ppg2008.csv", sep=",")
# Reorder
nba <- nba[order(nba$PTS),]
# Name the rows and then eliminate the 1st row
row.names(nba) <- nba$Name
nba <- nba[,2:20]
# nba2 <- nba[1:10,] ## use these if you only want to look @ 10 players
# Compute how "similar...
2012 Nov 25
1
Error : Error in if (antipodal(p1, p2))
Hey,
I'm trying to build something like this
http://flowingdata.com/2011/05/11/how-to-map-connections-with-great-circles/
but with my own data in csv files.
The code runs well if I use the same csv files as the author, but with mine
, this is what I get
*Code*
library(maps)
library(geosphere)
map("world")
xlim <- c(-180.00, 180.00)
ylim <...
2012 Jul 06
2
Error in plot.new() : figure margins too large
Hello All,
I am running the following code in RStudio, and I keep on getting an error message that says: "Error in plot.new() : figure margins too large"
Is there something that I am doing wrong?
# Import Data
nba <- read.csv("http://datasets.flowingdata.com/ppg2008.csv", sep=",")
nba
#Sort Data (sorting by Points, but could be sorting by any other variable)
nba <- nba[order(nba$PTS),]
#Prepare Data: makes rows by player name instead of Row Number
row.names(nba) <- nba$Name
#Prepare Data: don't need first column anymore,...
2011 Mar 07
2
Preferred way to create bubble plots?
I have to create a number of bubble plots, and am wondering what methods folks prefer for this task. I've been experimenting with the symbols() function, with text() to provide plot labels. Any opinions on the relative merits of this method versus others? One criterion would be the ability to fine-tune the placement of text labels. I would like to use lattice, but haven't found a way to
2012 Jun 11
2
bubbleplot3: R equivalent of the MATLAB function?
All,
Does there exist an R equivalent of the MATLAB function "bubbleplot3"?
Semi-naive Googleing has thus far revealed no such package to me. Your
insight is appreciated!
Regards,
TJM
[[alternative HTML version deleted]]
2013 Sep 12
1
Creating a map in R using ACS PUMS data
Hello all - does anyone know if there is a package in R that will allow me
to create a map of the US (or individual states) that uses the American
Community Survey PUMS boundaries?
Thanks
[[alternative HTML version deleted]]
2012 Oct 04
0
Revolutions blog: September Roundup
...of using small multiples for data visualization:
http://bit.ly/VAGIz3
Guest blogger Naomi Robbins reprised several examples from her Forbes
blog where R was used to improve on some substandard charts:
http://bit.ly/VAGLe1
Guest blogger Nathan Yau described some of the R tutorials available
at his FlowingData blog to create some stunning data visualizations:
http://bit.ly/VAGIz4
Guest blogger Yihui Xie described how to use his knitr package to
easily create reports with data, code and graphics for the Web:
http://bit.ly/VAGLed
Guest blogger Douglas McNair uses Revolution R and the RevoScaleR
package a...
2009 Oct 01
0
Revolutions blog: September roundup
...; API to mine
articles for word frequency data.
http://bit.ly/VKqSh discussed the similarities between Grand Central
Dispatch for Snow Leopard and parallel processing with foreach.
http://bit.ly/lRbAX announced a new R user group in Madison, Wisconsin.
http://bit.ly/2Ms5nM noted the popular blog flowingdata.com uses R as
the tool of choice for graphics (with touchups by Illustrator).
http://bit.ly/BIU9V remarked on the "Flash Mob" which has populated
stackoverflow.com with useful answers for many R questions.
http://bit.ly/2cysLh reviews Jeroen Ooms' web-based financial plotting
tool b...
2010 Dec 16
0
Revolutions Blog: November Roundup
...p://bit.ly/ebo9Pk
The competition to create a recommendation engine for R packages
continues, with new data and new prizes: http://bit.ly/ezF5WB
There's a new package to access the InfoChimps API from R, for
geolocation, census demographic data, and more: http://bit.ly/gTWiAA
A tutorial from FlowingData on making bubble charts with R: http://bit.ly/hNL41L
An analysis of the users of the prediction competition site Kaggle
revealed that R was the preferred software of competitors:
http://bit.ly/elsyLb
John Chambers gave a presentation on "R and Multilingualism", with
examples of the new...
2011 Jun 03
0
Revolutions Blog: May Roundup
...quot;, provides links to R
resources, blogs and courses: http://bit.ly/knQr5q
Antonio Piccolboni compares 7 language interfaces to Hadoop, with a
focus on the R interface, Rhipe: http://bit.ly/lNWZka
Airline route charts make for a fun game of "guess the airline":
http://bit.ly/k1bwe8 . FlowingData shows how it's done in R:
http://bit.ly/kgkrTT
Jeffrey Breen provides some useful slides on accessing databases from
R with direct interfaces to MySQL and Oracle, or via ODBC/JDBC:
http://bit.ly/maB1Br
Registration is open for the R/Rmetrics Workshop and Summer School on
Computational Finance...
2011 Sep 07
0
Revolutions Blog: August Roundup
...://bit.ly/mZTRZc
Two grad students at University of Michigan use R to determine what
factors most influence the selection committee for the Hockey Hall of
Fame: http://bit.ly/pnvbtZ
FastCompany published an article on "telling stories with data",
featuring two websites that often use R, FlowingData and the OkTrends
blog: http://bit.ly/nLWIVA
News from the Revolution Analytics August newsletter: http://bit.ly/nexaW6
You can install Emacs with the ESS interface to R on Windows and Macs
in less than 2 minutes: http://bit.ly/ribZjy
I gave a talk at useR! on the R Ecosystem: the R project, the...
2011 Oct 06
0
Revolutions Blog: September Roundup
.... R 2.13.2 was released on September 29:
http://bit.ly/mRKVux
The 2010 "Flash Crash" was the largest one-day stock market decline in
history. An analysis in R of 24 billion trades investigates whether
SEC rules to prevent a reoccurrence are effective:
http://bit.ly/ohOv12
Nathan Yau of FlowingData mentions R in a post about "5 misconceptions
about data visualization", and I take issue with charts that inject a
political point of view (and not to mention chartjunk) into data
visualizations:?http://bit.ly/oaSQQh
Revolution Analytics has partnered with Cloudera to support using R
wit...
2012 Oct 22
5
Represent point size according to frequency
Hello! I would like to make a scatterplot of my data, but the problem is that
several points have the same x and y values and are represented as only one
point. I wonder if there is a way to represent the data points, but with
point size representing the frequency of the depicted x-y value?
Thank you!
--
View this message in context:
2012 Dec 13
3
Combined Marimekko/heatmap
Hi all,
I'm trying to figure out a way to create a data graphic that I haven't ever seen an example of before, but hopefully there's an R package out there for it. The idea is to essentially create a heatmap, but to allow each column and/or row to be a different width, rather than having uniform column and row height. This is sort of like a Marimekko chart in appearance, except that