Hello, I was wondering if it is possible to color code groups of the pie chart together, but not manually do it slice by slice. For example, Apartments would be grouped together as light blue, and then Self Storage as dark blue. The pieces would retain their original percentage still though. This would make it easier to identify groups of data more easily. Any input?
Thanks in advance for the help.
Any input? Well, first, don't use pie charts for charts with more than two or three data points. They are hard to interpret. Use horizontal bar charts instead.
The data seems to be sorted by value. If you want to group by category, you will need to sort by category, too.
Excel will automatically apply a different color to each pie chart wedge. You can manually change these colors. You can use VBA to automate that.
A horizontal bar chart will give you a lot more tools to visualize the data and turn it into information.
Related
I did a scatterplot with two data series (blue and orange in the picture).
The orange line you see that connects the dots I did manually and I am looking for a way to have this automatic through the chart menu in Excel. Any idea who this can be done?
I am using Excel version 2013
The chart type you are trying to create is called a Step Chart. Unfortunately Excel doesn't natively offer this chart type, but there are several ways to fake them in Excel. You can use an XY chart with Error Bars to produce the horizontal lines, or you can use a column chart with extra in-between data points to fill the gaps between your actual data points, and you can probably also use another hack where you tell Excel that the x axis is a date axis.
It's a bit hard to advise which approach would suit you best without knowing whether your actual data matches the example you've posted or whether it differs in some way. If you can elaborate further I'll amend this answer with some examples.
Edit: Since your data is as described, you should be able to use the approaches outlined at https://peltiertech.com/Excel/ChartsHowTo/StepChart.html
Or alternately, just add in extra coordinates to direct Excel where to draw the line:
...and then delete the markers of the data points you want to hide:
Basically the pie chart should display the data categorized by the category/color, showing each of the entries proportional to the value it has compared to the others. Data labels will have the name as well as the percentage.
Sadly I could not get that to work in Excel as I wasn't able to categorize the different entries by their category/color.
Please see the pictures below to see what result I'm trying to achieve for the given data.
[
[
not an expert with graphs, but make a pivot pie chart. manually set the color of each category as you please. on the pivot table you can drag the order around to force them to be together if they are separate. this isn't the best way, but you can get by on it.
I'm generating stackedbarcharts and piecharts using jfreecharts. Both types of charts use the same labels. For example I have John, Mike, Sandra, Pushpalika in both. Is there a way I can ensure that the colour used to represent each person is the same across both types of charts?
In general if the series keys in your CategoryDataset (for the bar chart) are in the same order as the keys in your PieDataset (for the pie chart), the auto-selected colors will be the same on both charts. However, if you really want to be sure then you should set the colors manually, using PiePlot's setSectionPaint() method and the stacked bar renderer's setSeriesPaint() method.
Do you know if this chart, as shown in the following image, can be done in Excel?
Chart:
I don't even know how this kind of chart is named, so I cannot search in the web for tutorials. I don't need to display three points on every row as in this chart (one is enough), and even I can mark the control group manually.
Yes this can be done in Excel.
If you want vertical orientation like on the picture above, then you should probably use the Scatter chart with quite some modifications. You would set the x values of the series to your values and the y values can be just 1,2,3,4,5.... The biggest problem with this approach would be how to display the correct categories. There is a tool to help you do that and it is discussed here: https://superuser.com/questions/485883/how-to-create-dynamic-scatter-plot-matrix-with-labels-and-categories-on-both-axi
For horizontal one you can use a normal line chart - with hidden line and only markers visible (Excel doesn't support vertical line graphs).
Even three groups are easy to do, you just need to add three series and format them accordingly.
The lines are also quite easy to do, you add minor / major gridlines to the chart and then format those as well.
I would like to make a bar graph similar to a Gantt Chart (see figure)
but only showing one row, with every bar overlapped with the others. I want to do this supposing that I have non-overlapped periods, and the final figure is only one row with several red periods.
How can I do it?
Thanks.
You should be able to accomplish that with a sideways stacked bar chart:
And you can adjust the axis minimums and maximums to make it look better - as well as fool with some other stuff. But that is probably how I would do it. Good Luck.