Questions tagged [facet]

Facetting is a technique for data visualization which makes it easier to compare groups inside your data.

Facet

In the ggplot2 package for R, creating subplots for groups of data is called facetting. When visualizing data, facetting allows groups of data to be rendered alongside each other in order to make it easier to compare them. A facetted plot can be made with facet_wrap() and facet_grid().

Resources

1763 questions
0
votes
2 answers

How do I sort result set using a SOLR url?

I have the following URL: http://webaddress:8994/solr/crossmedia/select?q=MEM_ED_NUMBER:136250%20AND%20CM_TYPE:WEB_MOBILE&rows=0&wt=json&indent=true&json.facet={Level1:{type:terms,field:ENTRY_DATE,limit:100,facet:{Level2: …
Bob Nona
  • 175
  • 1
  • 3
  • 11
0
votes
2 answers

Play graphic of ggplot2 using multiple facets

I built the graph below using the command grid.arrange from the gridExtra package, would like to leave it with the visuals of the multi-facets graphs, using the samples size as facet, is it…
fsbmat
  • 291
  • 3
  • 12
0
votes
1 answer

Graphs side by side using `gridExtra` and multiple facets

I have two databases of different sizes, dt and dt1. I want to use the command grid.arrange from the gridExtra package to display g1 and g2 side by side. If it is possible, I would also like to see g1 and g2 using the facet_grid or facet_wrap…
fsbmat
  • 291
  • 3
  • 12
0
votes
2 answers

Solr DIH with multi value fields and faceting

I’ m using Solr to index a dataset stored in DBMS using SQL DIH. One on the table use a n-to-n relationship. Just for sake of simplicity (my app is much more complex than this) here is an example of the application: a person has a name and it has…
ugomaria
  • 185
  • 1
  • 2
  • 8
0
votes
2 answers

Make the faceted x-axis text be the grouping factor in R using ggplot2 when plotting boxplots

I am creating faceted box plots that are grouped by a variable. Instead of having the x-axis text be the factors for the x-axis variable I'd like the x-axis text to be the grouping variable. However, I don't just want to use the grouping variable…
Nathan
  • 323
  • 3
  • 13
0
votes
2 answers

R Row Labeled Plot for MLB Teams and a Few Baseball Statistical Categories

I am trying to make a graph similar to the picture provided. Rather than states, I would like the teams. Instead of "Basic or Above", "Proficient or Above", and "Advanced", I would like "BA", "OBP", "SLG", and "OPS", with the teams being listed…
Remy M
  • 599
  • 1
  • 4
  • 17
0
votes
2 answers

Smart association of graphs where one is faceted - ggplot2

I want to combine these two graphs : p1 <- ggplot(iris, aes(Sepal.Length)) + geom_density() + facet_wrap(~ Species) p2 <- ggplot(iris, aes(Sepal.Length)) + geom_density() To combine, I do : multiplot(p1, p2, cols = 2) But it is not the…
Loulou
  • 703
  • 5
  • 17
0
votes
0 answers

Facets in SOLR using text not in document

I am indexing word document files in Apache SOLR and would like to use facets. Using Velocity, I'm able to use the facet fields and queries which appear as part of document meta data. I'm interested in using fields which are not part of Meta data as…
Heretic
  • 1
  • 1
0
votes
2 answers

Elastic search to many aggregations: Unable to connect to the server

When I in Elastic Search 5.2.0 have more than 64 aggregations it fails with: { "ok": false, "message": "Unable to connect to the server." } This problem is related to Elastic Cloud - I have tested on a local elastic instance and it does not…
0
votes
1 answer

R Facets to Create 2x3 for MLB Wins for All 6 Divisions

I am trying to use facets to create 6 graphs, laid out in a 2x3, with a graph for each different MLB division. I would like there to be a title for the graph as a whole, as well as a title for each graph, indicating which division it is for. I…
Remy M
  • 599
  • 1
  • 4
  • 17
0
votes
1 answer

Solr filtering facets by value

I have a database of books, each which has a list of subjects attached. I would like to build a query so that when a user searches for a subject, Solr returns a list of subjects that follow the query alphabetically. For example, if the user were to…
Andy
  • 151
  • 7
0
votes
1 answer

How do I add geom-smooth lines to a facet grid but excluding specific facets in R?

I want to exclude trend lines from the following three facets: Lawn;2014 Tussock;2013 Tussock;2015 I have tried to use subset() but I cannot figure out how to drop or exclude specific observations within geom_smooth(). plot <- ggplot(data,…
Dominique
  • 107
  • 2
  • 13
0
votes
1 answer

Can't replace disjunctive facet with a conjunctive one

I'm using the refinementlist widget. It works perfectly when I use an "or" operator. Although when I change the setting to an "and" operator it throws an error: Uncaught Error: my_attribute.name is not a retrieved facet. The facet is set in the…
tuhaj
  • 527
  • 7
  • 9
0
votes
1 answer

Facetted plot of Google maps with an overall label and the label having different font sizes

I wish to make a facetted plot of Google maps with an overall label and the label having different font sizes. For instance, consider the following codes, which are based on the codes provided by Max Marchi in a blog post (link): # Load the…
R. Joe
  • 367
  • 5
  • 13
0
votes
2 answers

Index SQL table with solr using facets

i am solr newbie, and i am trying to use it for setup a faceted search from a database denormalized view (a table with a lot's of fields). At the moment i have created the index in solr and i can query the database via solr url. I will use the solr…
ugomaria
  • 185
  • 1
  • 2
  • 8
1 2 3
99
100