+ Reply to Thread
Results 1 to 7 of 7

How to make this one dimensional chart?

  1. #1
    Registered User
    Join Date
    09-13-2016
    Location
    San Francisco, CA
    MS-Off Ver
    15.26 (Mac)
    Posts
    2

    How to make this one dimensional chart?

    Hi There,
    I am new to the forum, so I apologize if this has already been asked. I have not been able to see a similar chart in the posts I searched.
    I want to be able to create a chart like the one in the picture submitted. Please note that the scale is a little weird. I would like to input a score and have the bar move accordingly, as seen in the picture.
    Best,
    Locolindo
    Attached Images Attached Images

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: How to make this one dimensional chart?

    Hello,

    I don't have Excel for Mac, but conceptually, you need data arranged as follows, then insert a horizontal column chart with a series for each subject (if you have more than one), add error bars with settings "Minus" and Percentage set to 100%, so the error bar goes all the way to the zero value. Then format the horizontal bar to have no fill and no border, so it effectively becomes invisible.

    The scale on the image you posted looks funny. There is quite some distortion comparing 0 to 400 and 400 to 800, which I can't recreate with axis formatting.

    2016-09-14_10-19-35.png

  3. #3
    Registered User
    Join Date
    09-13-2016
    Location
    San Francisco, CA
    MS-Off Ver
    15.26 (Mac)
    Posts
    2

    Re: How to make this one dimensional chart?

    Hi Teylyn,
    Thank you so much for your help!
    The scale is what is giving me the most trouble (the split at 452 between proficient and advanced...) I don't know how they generated that graph. I think they might be using a specific program....
    thanks again...
    locolindo

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,380

    Re: How to make this one dimensional chart?

    Perhaps they used another program. It is difficult to say from a picture. Excel just does not have the ability (built in) to handle non-linear axes like this, but, if you can "teach"/program Excel to do it, it can handle non-linear axes just fine.

    If you are going to do it in an actual chart like teylyn began with, then you will need to apply an "aribtrary" or "dummy" axis technique. This reciprocal chart is an example: http://peltiertech.com/reciprocal-chart-axis-scale/ Jon has other examples, too (see "Axes - Custom Axis Scales using Dummy Series" here http://peltiertech.com/Excel/Charts/ChartIndex.html ).

    I could also see doing this using an "in cell" charting technique. Basically choose an appropriate character (dash "-" maybe or n-dash or m-dash), then use the REPT() function to get an appropriate number of copies of that character based on your score. =REPT("-",int(score/10)) would give you one dash for every 10 units in your score. Of course, with the non-linear nature of your scale, you would need a more complex function to the number of characters. Once that is figured out, it would be easy enough to implement. (See this tutorial on in-cell charting: http://peltiertech.com/Excel/Charts/...ulaCharts.html ).

    It is hard to tell from the picture exactly how they mapped their scale onto a linear scale. If I had to guess it looks like 0 to 400 maps onto 0 to 400, 400 to 452 maps onto 400 to 800, and 452 to 800 maps onto 800 to 1200 (or something similar).
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: How to make this one dimensional chart?

    locolindo,

    maybe you don't need the width of basic, proficient and advanced to be exactly equal. It is quite misleading, actually to have the same distance for the first 400 units as for the next 52 units from 400 to 452, and then again the same distance for 348 units from 452 to 800. I consider this very bad data visualisation, because the human eye will judge the length of the line and try to relate it to the unit markers of the axis.

  6. #6
    Registered User
    Join Date
    09-14-2016
    Location
    England
    MS-Off Ver
    Office 2016
    Posts
    24

    Re: How to make this one dimensional chart?

    Could you just do this with some quirky maths on the back end?

    Have your axis go to, say, 300, with the dividers on the hundred marks. Then put some logic for the 3 parts that give an accurate bar size.

    =IF(C16<400,C16/4,IF(C16<452,((C16-400)/52*100)+100,((C16-452)/347*100)+200))

    This formula takes the 3 sets of values (0-400, 400-452 & 452-800) and changes them to 0-100, 100-200 & 200-300.

    If you can get the chart to then use fake axis values (or just remove the axis legend and put the numbers in a cell underneath or something?) then it should look right, even though it's kinda fudged.

    cap5.PNG
    Last edited by Bglamb; 09-14-2016 at 05:09 AM.

  7. #7
    Registered User
    Join Date
    09-14-2016
    Location
    England
    MS-Off Ver
    Office 2016
    Posts
    24

    Re: How to make this one dimensional chart?

    Ta da!

    Cap6.PNG

    (Yes, I know this is a massive bodge) :s

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 9
    Last Post: 08-09-2016, 08:00 AM
  2. 3-Dimensional looking graph, how to make such thing?
    By BornUltimate in forum Excel General
    Replies: 1
    Last Post: 02-05-2016, 05:08 PM
  3. Replies: 3
    Last Post: 05-05-2015, 12:43 PM
  4. Replies: 2
    Last Post: 01-02-2015, 04:24 PM
  5. Is there a simple way or chart to represent multi dimensional data?
    By sreenire in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-04-2012, 11:01 AM
  6. Creating a 2-dimensional array from a 1-dimensional list
    By guywithcamera in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-27-2008, 06:34 PM
  7. Difficult dimensional chart issue
    By esbdmb in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 12-20-2007, 07:40 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1