(English is not my native language, so I apologise if some terms are not the best)
I'd like to create a column chart where each column has varying heights and widths.
The widths are always 1/3 or lower than the heights.
Is there a way to do this in excel?
What you describe is called a Marimekko chart. Excel does not have such a chart type out of the box but with careful data preparation and a few charting tricks this can be achieved.
Jon Peltier has a tutorial here https://peltiertech.com/marimekko-charts/ involving a stacked area chart. The instructions are for Excel 2003 and 2007.
Debra Dahlgliesh has a tutorial here https://www.contextures.com/excelmarimekkochart.html for more modern Excel interfaces.
Related
I know it is possible to create such double pie charts in excel like this:
http://chandoo.org/wp/2009/12/02/group-small-slices-in-pie-charts/
but can SPSS or R do this also?
In relation to R:
The answer to the title question is "yes" ... see ?pie
As for the second question, the one in the body - it would be possible but would involve some coding. You'd have to draw two pie charts side by side (which could be managed with two calls to pie) and use segments or arrows (and text if necessary) to do the additional components of the plot.
Here's a rough example:
That required the fig argument of par to get them side-by-side.
(That example required a little fiddling to get right, but it would be possible to write a function to automate the details.)
The main issue I can see would be 'why on earth would you do it?' -- pie charts are a poor way of conveying information of this form. There are alternatives that result in much better ability to distinguish values, and less bias (such as what you get when comparing nearly horizontal vs nearly vertical slices).
I know it is possible to create such double pie charts in excel like this:
http://chandoo.org/wp/2009/12/02/group-small-slices-in-pie-charts/
but can SPSS or R do this also?
In relation to R:
The answer to the title question is "yes" ... see ?pie
As for the second question, the one in the body - it would be possible but would involve some coding. You'd have to draw two pie charts side by side (which could be managed with two calls to pie) and use segments or arrows (and text if necessary) to do the additional components of the plot.
Here's a rough example:
That required the fig argument of par to get them side-by-side.
(That example required a little fiddling to get right, but it would be possible to write a function to automate the details.)
The main issue I can see would be 'why on earth would you do it?' -- pie charts are a poor way of conveying information of this form. There are alternatives that result in much better ability to distinguish values, and less bias (such as what you get when comparing nearly horizontal vs nearly vertical slices).
I have this problem:
I would like to create a pie chart from a column of a attribute table, and I would like to see this pie chart above the map. The column contains names not nubers...
I work with marine species distribution data and I built a database of records of many many species...
In the specific, I have a column, called 'species', where there are many records (names) of some marine species. Several species may have many records, other species may have only a few numbers of records, so my objective is to graphically see the distribuition of records among the species.
If build a pie chart is a very time consuming procedure, I'd be happy to create a new column of the attribute table with the numbers of different species per year (see the attachments) or to try a totally new approach with R.
Thankyou for your help
img1 http://postimg.org/image/rn56c8l4z/
img2 http://postimg.org/image/e6918ynmj/
You'll most probably get many answers that pie charts are evil because they distort perception.
But along with better alternatives, namely stacked bar charts, you find code examples here
and, as always,
? pie
helps.
You may need to summarize your factor first, e.g. by table.
The website I'm building will have content in various languages. I'm looking for a nice way to present the "langages" data, for those interested.
I really like this visualisation : http://www.climateinstitute.org.au/lcci
It is basically a series of sparklines, drawn at decreasing heights. I would use it, for instance, to display the overall number of posts in a language (→ height of the sparkline), and the evolution of this number (→ the sparkline itself).
Is there a chart drawing library that could do something like that ? I don't need it to be "clickable" / zoomable, a static image would be fine.
Check out the SparkLine charts provided in FusionWidgets XT - http://www.fusioncharts.com/demos/gallery/#spark-charts
I want a chart that has several separate series running in rows across. They are largely separate charts and should not overlap, but all share the same horizontal datetimeaxis. They don't share the same y-axis, however and that's where I'm getting stuck.
I have tried having a linechart series and then a plotchart series, but it will only allow a single <mx:series> per chart without having them inside the same series which as far as I can tell will place the charts on top of each other in the z-axis. I can stack them and have them completely separate charts, but it was proving to be somewhat irritating having them align correctly.
Is there any reasonable way of combining multiple charts into one like this? Basically having rows in a table where each row is a different chart but the columns are consistent. or am I going to be best served just by stacking separate ones?
an illustration of what i'm going for is here: http://i.stack.imgur.com/8Renf.png
As far as I'm aware, the only way to do this is to stack separate charts. With a little care, it is possible to set things up so that the x-axes line up properly -- the project my team is working on has this.