Show Sidebar Hide Sidebar

Make a Histogram

A Step by Step Guide to Making a Histogram

A Step by Step Guide to Making a Histogram

<b>2013 NHL PLAYER HEIGHT</b>

Follow along below to make a histogram of your own. If you’re unfamiliar with histograms, check out this article: https://plot.ly/histogram/

Step 1: Set up the grid

This is one way you could set up Plotly’s grid to make the graph above. Copy the data here: https://plot.ly/~cimar/127 How to make a histogram online
Select “Histogram” from the MAKE A PLOT menu. How to make a histogram online
Select only one column of data for a basic histogram (two with the ‘group by’ option)… How to make a histogram online
…These values will appear on our x-axis. The heights of the bars of our histogram will denote how many times each value or “bin” of values appears in the column. To learn more see: https://help.plot.ly/histogram/ How to Make a Histogram Online
Click the blue plot button in the sidebar to create the chart. (For more help with the grid see: https://plot.ly/add-data-to-the-plotly-grid/) How to make a histogram online

Step 2: Drawing the curve

Your plot should look something like this. Open the FIT DATA popover in the toolbar. How to make a histogram online How to make a histogram online
Click through to add a fit to the “Height” trace. How to make a histogram online

Step 3: Style and annotate

Your plot should now look something like this. In order to get the graph at the top of the chart, you’ll need to style and annotate it.Open the NOTES popover. How to make a histogram online How to make a histogram online
This is what the NOTES popover looks like. The “+” sign adds new notes. Hide the arrow. Set the “Move with” option to “Data”, as the note refers to a specific pair of points on the plot. How to make a histogram online
Find the note on the plot, and drag it to where you want it. Click the note to edit its text. Use markup to style and format it. How to make a histogram online <b>MEAN: 72.8″<br>MEDIAN:73″</b>
Click the plot title and axis titles to edit their text. Use markup to link to your source. How to make a histogram online <b>HEIGHT (INCHES)</b><br><a href=”http://theleafsnation.com/2014/5/25/justin-s-nhl-draftbook-2013-1963″>NHL Draftbook, Justin Fisher</a>
This is what the “Style” tab of the TRACES popover looks like for the “Height” trace. We’ve changed the bar color and made them narrower. How to make a histogram online How to make a histogram online
This is what the “Style” tab of the TRACES popover looks like for the “Height – fit” trace. We’ve changed the line color and stroke. How to make a histogram online
This is what the “General” and “Margins” tabs of the LAYOUT popover should look like. We’re giving our plot a grey background, and we’ve changed some of the font options. How to make a histogram online How to make a histogram online
This is what the “Lines” tab of the AXES popover looks like. We’re hiding the body grid lines, and colored the zero line red. How to make a histogram online
We’re removing the legend from the sidebar in the LEGEND popover. How to make a histogram online
Your finished chart should look something like this. How to make a histogram online
Still need help?
Contact Us

For guaranteed 24 hour response turnarounds, upgrade to our Premium or Enterprise plans.