Suicides & Murders by US States – An Interactive Excel Chart

Share

Facebook
Twitter
LinkedIn

Over at PTS Blog, my dear friend & charting guru, Jon Peltier has an interesting post on using dot plots to visualize Murders & Suicides data by US States. Here is a sample of the charts he recommends for such data.

Murders and Suicides by US States - charts made by Jon Peltier

If you are curious how he made these charts, well, he used dot plot chart utility to create them.

Not that murders & suicides fascinate me, but I wanted to play with this data myself and see how we can visualize it. So I emailed Jon and asked him to share the raw data. Being a lovely chap Jon is, he immediately sent me the data. So here we are, playing with gory data on a Friday.

Suicides & Murders by US States – An Interactive Excel Chart

Here is a demo of the chart I came up with.

Suicides & Murders by US States - An Interactive Excel Chart

Thinking behind this chart

We see this type of data all the time. 2 or more metrics by a dimension like State, Product group, Country, Web Page or Customer. In this case, as you can guess, there is very little co-relation between murders and suicides by state. While we want to visualize them separately, we also want to keep the overall context together.

Since Jon already provided a lot of interesting options, I went with the interactive charts so that you can sort and view the data in any way you want.

How is this chart constructed?

Lets only look at the most important bits of the construction here. It is your homework to breakdown this file and understand how it works.

1. Arranging the data

The data is arranged by states in rows and murders & suicides in columns. I have added few extra columns to calculate murders per suicide and suicides per murder.

Data for the Murders & Suicides chart

2. Sorting the data on-demand

This is the tricky part. I have used COUNTIF formula to sort the list. Learn how to sort a list of values using formulas [More on sorting values].

3. Visualizing the sorted data

I have used in-cell charts for this. Read more about in-cell dot plots and how to develop them in Excel.

4. Other nice stuff that you see in the chart

I used conditional formatting icons to highlight the column & show sort direction. Also, I used conditional formatting top 10 rule to highlight top 5 items in each column.

Rules to Highlight Top 5 Items - Excel Conditional Formatting

Download this chart & play with it

Click here to download the Suicides & Murders by US States – Interactive Excel Workbook and play with it. Examine the formulas in “suicides vs. murders” sheet to understand how the workbook is put-together.

How would you have visualized this information?

I am more interested in knowing how you would have visualized this data. Go ahead and share your views & ideas with us using comments. If you feel adventurous, go ahead and make a chart and email me at chandoo.d @ gmail.com. I will be glad to learn from you.

Go ahead and share.

More Excel Charting Tutorials

Note: All the data in this charts is gathered from the sources mentioned here. Thanks to Jon for sharing the data with me.

Facebook
Twitter
LinkedIn

Share this tip with your colleagues

Excel and Power BI tips - Chandoo.org Newsletter

Get FREE Excel + Power BI Tips

Simple, fun and useful emails, once per week.

Learn & be awesome.

Welcome to Chandoo.org

Thank you so much for visiting. My aim is to make you awesome in Excel & Power BI. I do this by sharing videos, tips, examples and downloads on this website. There are more than 1,000 pages with all things Excel, Power BI, Dashboards & VBA here. Go ahead and spend few minutes to be AWESOME.

Read my storyFREE Excel tips book

Overall I learned a lot and I thought you did a great job of explaining how to do things. This will definitely elevate my reporting in the future.
Rebekah S
Reporting Analyst
Excel formula list - 100+ examples and howto guide for you

From simple to complex, there is a formula for every occasion. Check out the list now.

Calendars, invoices, trackers and much more. All free, fun and fantastic.

Advanced Pivot Table tricks

Power Query, Data model, DAX, Filters, Slicers, Conditional formats and beautiful charts. It's all here.

Still on fence about Power BI? In this getting started guide, learn what is Power BI, how to get it and how to create your first report from scratch.

4 Responses to “Best of Chandoo.org – 2013”

  1. Kushal K Shah says:

    sir i want your autograph

  2. Maxim Manuel says:

    How many times during the year did I click on most of the pages there to learn something new? Thank you Chandoo!

  3. Cad says:

    =TEXTSPLIT(jobs[Job title],{" - "," ("," /"})

  4. Cad says:

    =TEXTSPLIT(jobs[Job title],{" - "," ("," /"})

    =CHOOSECOLS(TEXTSPLIT([@[Job title]],{" - "," ("," /"}),1) -- for tables

Leave a Reply