Skip to main content
edited title
Link
Nick Cox
  • 59.5k
  • 8
  • 136
  • 212

How do I vizualizevisualize long tails of factor levels?

I have data with some factors, say, a list of music albums by different artists which are owned by me. I counted the unique factors to arrive at a list of artist names with an associated count of albums, like this:

name                             count 

Johnny Cash                       10
The Beatles                        7
Blur                               6
Gorillaz                           3
The Good, the Bad and the Queen    1
The Rolling Stones                 1
The Doors                          1
The Jimi Hendrix Experience        1
The Ramones                        1
The Clash                          1
The Who                            1
The White Stripes                  1
The Black Keys                     1
The Specials                       1
The Cure                           1
The Band                           1
The The                            1

What's the best way to visualize that a large portion (one third, to be precise) of my music collection consists of albums of singleton artists?

My first idea was to plot the count as x-value and the cumulative sum of the count as y-value in a way that the y-value increases, similar to a Lorenz plot. I am wondering - are there better ways to vizualisevisualize this large portion of low-frequencies?

I'd appreciate either a general suggestion to plot what against what or corresponding R-code.

I have data with some factors, say, a list of music albums by different artists which are owned by me. I counted the unique factors to arrive at a list of artist names with an associated count of albums, like this:

name    count
Johnny Cash 10
The Beatles 7
Blur    6
Gorillaz    3
The Good, the Bad and the Queen 1
The Rolling Stones  1
The Doors   1
The Jimi Hendrix Experience 1
The Ramones 1
The Clash   1
The Who 1
The White Stripes   1
The Black Keys  1
The Specials 1
The Cure    1
The Band    1
The The 1

What's the best way to visualize that a large portion (one third, to be precise) of my music collection consists of albums of singleton artists?

My first idea was to plot the count as x-value and the cumulative sum of the count as y-value in a way that the y-value increases, similar to a Lorenz plot. I am wondering - are there better ways to vizualise this large portion of low-frequencies?

I'd appreciate either a general suggestion to plot what against what or corresponding R-code.

I have data with some factors, say, a list of music albums by different artists which are owned by me. I counted the unique factors to arrive at a list of artist names with an associated count of albums, like this:

name                             count 

Johnny Cash                       10
The Beatles                        7
Blur                               6
Gorillaz                           3
The Good, the Bad and the Queen    1
The Rolling Stones                 1
The Doors                          1
The Jimi Hendrix Experience        1
The Ramones                        1
The Clash                          1
The Who                            1
The White Stripes                  1
The Black Keys                     1
The Specials                       1
The Cure                           1
The Band                           1
The The                            1

What's the best way to visualize that a large portion (one third, to be precise) of my music collection consists of albums of singleton artists?

My first idea was to plot the count as x-value and the cumulative sum of the count as y-value in a way that the y-value increases, similar to a Lorenz plot. I am wondering - are there better ways to visualize this large portion of low-frequencies?

I'd appreciate either a general suggestion to plot what against what or corresponding R-code.

Source Link
Roland
  • 1.1k
  • 10
  • 19

How do I vizualize long tails of factor levels?

I have data with some factors, say, a list of music albums by different artists which are owned by me. I counted the unique factors to arrive at a list of artist names with an associated count of albums, like this:

name    count
Johnny Cash 10
The Beatles 7
Blur    6
Gorillaz    3
The Good, the Bad and the Queen 1
The Rolling Stones  1
The Doors   1
The Jimi Hendrix Experience 1
The Ramones 1
The Clash   1
The Who 1
The White Stripes   1
The Black Keys  1
The Specials 1
The Cure    1
The Band    1
The The 1

What's the best way to visualize that a large portion (one third, to be precise) of my music collection consists of albums of singleton artists?

My first idea was to plot the count as x-value and the cumulative sum of the count as y-value in a way that the y-value increases, similar to a Lorenz plot. I am wondering - are there better ways to vizualise this large portion of low-frequencies?

I'd appreciate either a general suggestion to plot what against what or corresponding R-code.