Excel sunburst chart: Some labels missing - excel

I've made a sunburst chart in Excel (2016) and want to add labels to all data points. The problem is, that Excel discards some of the labels automatically:
It seems that labels are removed either because the datapoint is too small or the label string too long. How can I get Excel to show all labels?

Short answer is no. Sunburst graph doesn't seem to be able to align the data labels in a custom way (labels outside area).
You could achieve a very close graph with a Doughnut chart. Needs some more modification but is doable.
Result:
Step-by-Step guide:
We start with rearrange the data. We crate two tables. 1st table is for the region part and the 2nd table is for the sub region part.
For Region 3, I sum all the sub region values (50+60+1 = 111).
I mark the inner circle first, which will be my Region parts, and then I create a Doughnut Chart.
Add second serie.
I add my second serie which will be the Sub regions.
Modify size of circular sectors.
I click on one serie and go to "Series Options" (small green bars), then I rotate my chart by "Angle of first slice" (285 = 90 degrees for "sub region 2) in your example) to 300 degrees and I also make each series thicker by set "Doughnut Hole Size" to 40%.
Add data labels.
Right click on the series and choose "Add Data Labels" -> "Add Data Labels". Do it for both series.
Modify the data labels
Click on the labels for one series (I took sub region), then go to: "Label Options" (small green bars).
Untick the "Value". Then click on the "Value From Cells". In the little window mark your range. For Sub Region I choose range B2:B7 (The whole sub region range, since we want it proportionally correct).
Do the same for Region Part, Here I choose range A13:A16 to represent my data label range.
Edit each circular sector so they match.
I click on a single circular sector (blue outer area), see picture below:
Then go to "Fill & Line" and choose "No Fill" for the areas that shouldn't be visible.
For the other areas that should match (Sub Region 1, Sub Region 2 and Sub Region 3) I choose "Solid Fill" (below "No Fill") and match it with with Region 3 colour.
Last thing I did was to delete the legend in the bottom of my chart.

If found that when I made by chart area really, really large then opened the Chart Design Tab and selected a few different styles, my labels magically appeared, and I could then go back to my original style choice and they were there. The labels are pretty tiny, but they're there. I could then select the forat Plot Area, Plot Area Options, Data Labels, I could resize the fonts. No idea if this will print or not, but so far so good....

Related

How do I create a contour map like the one in the attached image? (preferably in Excel, but open to other options)

I need to create a graph that properly represents the profit-maximizing model of aircraft in different scenarios. I apologize in advance for my lack of understanding in what exactly to call it. As mentioned, I have found the type of graph that would best represent this, but cannot figure out how to code/create it. I have tried using Excel and Think-Cell (and either one of them may work, I just haven't figured out how) and haven't had much luck. The image below represents the ideal graph, linked here:
Does anyone have any idea how to best go about this? Thanks in advance.
Edit: The data I have now looks like this, linked here:
You need to use the data to generate a Stacked Column chart.
Here is how I set up my own example data (before you posted your own data format):
Next, select all rows and only the first four columns of the data (42R x 5C) and Insert-->Charts-->2D Column-->Stacked Column. You should get a chart like this:
Then change the vertical axis options to show Bounds Min=1.0, Max=4.0, Units Major=0.2, Minor=0.1.
Next, select any of the data series in the chart and format the Series Options for Series Overlap=100%, Gap Width=0%.
After that, I deleted the Title and Legend, set the Line Style for both Axis to Solid Fill, Black Color. Then I changed the data series colors to be close to your example. Lastly, make sure the chart is selected (the border is highlighted with the squares at the corners), then Insert a TextBox over your data and type "B747-200P2F" and manually place it over the correct data area. Repeat this for the other series and you get this:
Finally, we'll work on the Jet Fuel price line. This series will be added to the chart, then plotted on the secondary axis and it's chart type changed to Line.
To start, select only the Jet Fuel price column (F1:F42) and then copy that range into the clipboard. Then, make sure the chart is selected and, from the Home ribbon, select Paste Special. Use the default settings, or choose Add cells as New Series, Values (Y) in Columns, check Series Names in First Row, uncheck Categories (X Labels) in First Column, then click OK. (Not much will seem different on the chart yet!)
The next steps are important to take in order (at least for me). Select only the "Jet Fuel Price" series and change the Series Options to Plot on Secondary Axis. Then change the axis options to set the range from 1.0 to 4.0 and set labels to None. Just so we're tracking, here's what I have so far:
The (almost) final step is to select only the "Jet Fuel Price" series again, then right click it and choose Change Series Chart Type. Make sure you select the Combo chart type and make the selections for each of the series chart types as indicated in this picture:
Now (finally!) just add another textbox, put in your label and set the text color to red.

Stacked Bar Chart that shows multiple rows of data together for a single line on a chart

I am working on a smaller data set to create a gantt chart that displays data for multiples rows on a single line chart. For example an activity A is started on a certain date on Line 1 for 2 days and then same activity is started again on a certain date for some other duration. I have tried to create a gantt chart but for each activity it creates another row. I have achieved the required result in Tableau but I am unable to create it in Excel.
The chart I created in excel.
The kind of chart I required..
Excel File
It would be really helpful if someone could tell me what I am doing wrong because I am unable to find out the issue.
With a lot of creativity you could achieve something close to what you want.
I want to highlight two things:
It take some times as modification needs to be applied to each series,
and you need to create a custom Y-axis as Excel own Y-axis will not be used.
Result will be a Timeline chart:
Step-by-Step guide:
First we need to modify the data table.
Add a new column which will represent our Y-axis values (I call it: "Y-Axis Position" located in column F). Those values will replace the "Line" column which had values PD-18, PD-19 etc (we will create them by hand later).. It will determine at which height the bar will be placed.
Time to create a Scatter Plot.
I would suggest to mark only one series (1) and then click the icon Scatter (2). In my example I choose serie "AX 1".
Then add your additional series.
I take one at each time (If you have done correct you will see that each new series will get each own color (in picture I get blue and orange).
For X-values I use the "Date" and for Y-values I use "Y-Axis Position".
You could also add the Series Name, which will would be "AY 1" in this case. Then it will be correct in the chart "Legend".
Add the error bars to the Scatter plot.
Fastest way is to mark the chart and click on the "+" sign and then "Error Bars". (Otherwise click on Chart -> "Design" (at top) -> "Add Chart Elements" (to the very left) -> "Error Bars" -> "Standard Error".
Click on the upper/lower error bars and then delete those (click "Del" on your keybord).
(Picture below shows, deleted error bars on the right series. The left series is how I select my error bars before I delete them)
Time to modify the graph.
I start with the markers, because it will be easier to click at later on. Click on the markers (1) and go to "Fill & Line" (2) at the list to the right. Click on "Marker Options". I notice that the big square I have highlighted worked good visually. (If you don't get as many as in the picture, try to copy the chart. Use the one you copied and then go to marker options again, you should see more marker types now...).
I choose Size 10. I also change the "Fill" colour to a predestined colour and also the border colour so they match. I do the same procedure for both series.
Mark your error bars (vertically) and go to "Error Bar Options", the small green bars at the top. You see them at the right in the picture (below word Format Error Bars).
Click on the "Plus" (we only want positive error bars) and also choose "No Cap".
Do it for both series.
Time to modify the length of the error bars.
Mark one series (1), then choose "Custom: Specify Value" at your right (2). A little window will pop-up (3). The error bars length will be determined by the duration values (4). All the duration for the specific series should be used (notice I only choose 3 values). Do it for Both "Positive" and "Negative" values.
In my example I have marked the blue serie (AY 1). So I will use the "Duration" values for "AY 1" for both positive and negative error bars.
Time to modify the visualization of the error bars.
Click on the error bar. Then go to the "Fill & Line" options (the little paint bucket), then I change my colour so it match with my marker colour. Last thing I do is to change the width to size 10 (same as marker size). Do it for both series.
Add Data Labels to your series.
Click on the marker (that's the reason I keep them) and choose "Add Data Labels" -> "Add Data Labels" as the picture below shows. Do for both series.
Customize the data labels.
Right click on the labels (notice all is highlighted for one series), then click "Format Data Labels". Go to "Label Options" (small green bars to the right). Untick "Y Value" and then click "Value From Cells". Choose the name that will be representive. I choosed the Batch name, i.e. AY 1 ,range C5:C7. Click ok. Do it for both series.
If you want, you could format the X-axis. Right click on the X-axis and choose “Format Axis”. Click on the “Axis Options” (green bars) and the choose a good start date. I added 1 date to reflect the numbers better. You can also choose "Units" -> "Major" and set 1,0. Then every date will be shown in your X-axis.
I also customized the date format to day-month by write: DD-MMM;# in the “Type” field. (Notice I have Nordic setup/language.)
Modification of the Y-Axis.
I “modify” the Y-Axis as we don’t want the position number (they don't give any valuable information). I create a “Text Box”. Go to “Insert” -> “Shapes” -> “Text Box”.
Drag it and enter the Y-Values. Notice I do my Text Box rectangular and try to fit my values in same height as the original chart numbers which was 1,2,3 (Column F: "Y-Axis Position"). Then I mark my chart Y-axis that has numbers and delete it. Last I place my customized Y-axis and group the chart (when I move my chart I don't need to re-positioning my customized Y-Axis). The Text Box background color is “No Fill”.
I have also deleted the background grids by clicking on the vertical and horizontal lines and delete them.
Last thing I do is to mark the borderline of my chart and choose “No Line”. I do the same for my text box.

Need to add dotted lines in scatteplot Excel

I created the below graph doing a scatteplot in excel then inserted the grey dotted lines by designing them one by one. I was wondering if this could be done automatically by inserting the data serie for the dotted lines into the chart.
Yes you can do something close to it, by combining a Scatter Plot chart and a Stacked Column chart.
So result will be something like this:
Step by Step guide to create the chart.
The data looks like this:
Mark the first part of the data, where the column "Data Bar" will be the difference between your two scatter plot values. It will represent the "area" between your scatter values. Choose to plot a "Stacked Column" Chart.
Hide the lowest part of your "Stacked Column" by click on the "blue part" of the bar which I named "Hidden Bar". Go to "Format Data Series" and choose "No Fill".
Add the part that will be your data for the "Scatter Plot". For me it was the column LowerBoundBar and UpperBundBar.
Your graph should now have four layers of Stacked bar. Go and change the Chart type by clicking "Change Chart Type".
Here is where the magic happens. Go down to Combo. Choose the two first to still be "Stacked Column". The last two series should be "Scatter". Your options should look like the picture below.
Time to modify your chart so it looks a bit nicer. Mark the clustered bars that represent "Data Bar" values. Go to "Series Option". Maximize "Gap Width". It will make your clustered bars thinner.
Time to get rid of the orange color. Go to "Fill & Line" option and choose "Pattern fill". Use the horizontally dotted line (marked with yellow).
Then go down to Border options (lower in the picture). Choose to use white border and make them a bit thicker by increasing "Width".
Finally you might need to resize the whole chart (the outer circles in the big chart in picture below) so the lines shows up better. If the whole graph is to small it will only be white. If it's to big it will show two parallel dotted lines.

Excel curve (Showing values at both sides of y-axis)

I have created a curve in Excel 2013.
At the Y-Axis I am showing some values that show the probability for survival for each 100.000 citizen. Now my problem is, that I want to also show it in percentage, at the right side of the Y-Axis.
How do I do this?
Thanks in advance.
Ps. I have added an the curve as an image, so that you can see how it looks at the moment.
Add a secondary (Y) axis:
Create a combo chart with a secondary axis
When the numbers in a chart you created vary widely from data series to data series, or when you have mixed types of data (for example, price and volume), you can plot one or more data series on a secondary vertical (value) axis. The scale of the secondary vertical axis shows the values for the associated data series. A secondary axis works well in a chart that shows a combination of column and line charts.
Combo chart with secondary axis
In Microsoft Excel 2013, you can quickly show a chart like the one above by changing your chart to a combo chart.
Click anywhere in the chart you want to change to a combo chart to show the Chart Tools.
Chart Tools
Click Design > Change Chart Type.
Type group on the Design tab
On the All Charts tab, choose Combo, and then pick the Clustered Column - Line on Secondary Axis chart.
Combo chart with secondary axis on All Charts tab
Under Choose the chart type and axis for your data series, check the Secondary Axis box for each data series you want to plot on the secondary axis, and then change their chart type to Line.
Make sure that all other data series are shown as Clustered Column.
To clarify what is plotted on each of the vertical axes, you can add axis titles.
.
If I understood you correctly, you only need a right axis that shows a percentage scale, with, e.g., the tick mark for 100% at the same level as the tick mark for 100000 on the left axis.
You do not need any additional curves.
Then, you need to:
Create some dummy data. You may use two cells, which will give you a series with a single data point. Use 10 (X range) and -1 (Y range). Depending on the options you selected for your y axis, you may have to set the Minimum value fixed at 0 (you can do this now or later).
Add it to the plot.
Assign it to a secondary y-axis. Right-click on the series, Format Data Series -> Series Options -> Secondary Axis. Or, if you find it difficult to select it this way, select the chart, Go to Format, select the series from the pull-down menu on the top left, and Format Selection.
Format the right axis scale to give you a correct matching with the left scale. Right click on the secondary y axis, set the Minimum fixed at 0, the Maximum fixed at 1.2 (to match the figure you posted), and the number format as Percentage. PS: there will be a tick label "120%" on the right axis. That will not look good for what you are plotting. It will be best to set the Maximum of the left axis to 115000 (say), and the right axis to 1.15 then.

Excel: Stretching a graph on x axis

In my graph, the x axis are text values. When I make the graph, I cannot stretch it to the whole width. Instead, it takes only less than half of the width.
I usually do this by clicking on "Format Axis", but it doesn't offer that in this case.
Here is the screenshot:
I'm using Excel for Mac.
When you made the chart, did you select a bunch of empty rows below the range that actually contains data? Looks like twice as much empty data as data with values.
If you select the plot area or chart area, you can see the source data of the chart highlighted in the sheet. You can resize the highlighted range with the mouse to modify the amount of data in the chart.
Did they made different types for windows and mac? I'm using windows and scaling is never a problem here.
I can't give you any answer but I can give you a suggestion. Can you check the width of the numbers below the 'Number of public SLA templates' label? Its occupying all the width of your window.

Resources