There are two methods for creating a chart in Displayr: using the chart menu or the visualization menu. Here we will look at how to create a bar chart in Displayr using each of these these approaches.
You can easily create professional and beautiful bar graphs or bar charts in Displayr for free! Check out Displayr's free bar graph maker. In Displayr, there are two different methods for creating charts. The first is by using the Charts menu. This menu contains a variety of chart types including bar and column charts, line charts, stacked charts, scatterplots and more. The second method is via the Visualization menu, which also contains several different charting functions.
In this article, we'll look at examples of each method to create a bar chart in Displayr.
To create a bar chart from the built-in charts menu in Displayr, go to Home > Charts and select the bar chart from the built-in chart drop-down list.
This generates a chart object on your page. Next you'll need to provide the input data to the bar chart object. You can do this by going to the the Data Sets tree in the bottom left corner, and clicking and dragging the variable or variables directly onto the chart object and dropping them on the Show box.
I've done this with an income variable from my sample dataset to create the chart below.
Alternatively, you can select your chart input variables from the Show drop-down box in the Object Inspector.
To create a column-clustered chart, simply add a second variable in the By dropdown box. I've selected income by gender from my sample data set to create the following column-clustered bar chart.
You can modify the bar chart properties in the Chart section of the Object Inspector. Here is where you will find different options to customize the chart data labels, bar colors, font sizes, chart and axis titles and more.
The second method for creating a bar chart in Displayr is by selecting Insert > Visualization (Analysis Group) > Bar Chart. Similar to the built-in chart options, this also creates a chart object on the page. In the Object Inspector, we have 3 different ways in which we can provide input data to our bar chart in the DATA SOURCE section.
- Output in 'Pages' - select a table output. If the table is a cross-tab of two variables, a column-clustered chart will be generated automatically.
- Variables in 'Data' - select an individual variable from the Data Sets tree. Once an item is selected a second drop-down called Groups will appear. Here you can select a second cross-tab variable.
- Paste or Type data button - copy and paste data from Excel or some other source directly into a spreadsheet object in Displayr.
Once the chart inputs have been provided, click the Calculate button at the top of the Object Inspector. You can also tick the Automatic checkbox so that the chart will update automatically whenever changes are made.
As an example, I've created a table on my page (age by gender) and then selected that table in the Output in 'Pages' drop-down box to use this as input for my bar chart. Here's the resulting chart:
Done with your bar chart? Learn how to do more in Displayr by checking out "Using Displayr"!