Skip to main content

Statistics charts

Teachers can now add statistical graphs to a short-answer question type and ask students to answer by interacting with the dynamic graph. You need to select the Statistics charts answer type for drawing answers involving statistical content.

WirisQuizzes Studio interface when Statistics charts answer type is selected

The bar chart option is selected by default, but the following statistical representations are available: bar chart, line chart and pie chart. All statistical charts designed within WirisQuizzes are interactive and customizable, and our software system automatically evaluates assessments with graphical statistical questions.

Statistics answer type

When the Statistics charts option is selected, the drawing tool replaces the equation editor. Using the upper toolbar, you may readily define the correct answer to the question. Bear in mind students will use the same toolbar (or a reduced version) to answer the question.

statistcs_correct_answer.png

It's also possible to include initial content for the students. By default, a basic chart of the selected type will be displayed, but you can modify it to fit the exercise requirements.

statistcs_initial_content.png

Bar charts

A bar chart is a diagram in which the numerical values of variables are represented by the height or length of lines or rectangles of equal width. This type of graphical representation is now supported by WirisQuizzes Instructors can now create dynamic bar charts as initial content and ask the students to answer questions by interacting with the chart.

Bar charts example with several groups of bars stacked

Bar chart toolbar

You will now be able to add and edit bars but also packs to each bar.

Vertical and horizontal orientation

Alter the orientation of your bar graph, from vertical to horizontal.

Bar charts example showing how to change its orientation

Add new bar packs

With the add packs button, you will be able to add as many packs of bars as you wish and label them individually with the tag you consider.

Animation showing how to add packs of bars

Add groups to bar packs

With the add groups button, you will be able to add as many groups as you wish to the bar packs. These groups will automatically appear in different colours.

Animation showing how to insert a group of bars

Groups positioning

Alter the positioning of your bar graph groups, from stacked to grouped.

Bar chart with two groups of bars unstacked

Delete groups

Delete a group by clicking on delete group on the lower toolbar menu. This option does not delete packs of bars.

Bar chart with three group of bars showing how to delete one of them

Delete bar packs

Delete an entire bar pack by clicking on the delete pack button on the lower toolbar menu. This option will also delete all packs included in the bar group.

Bar chart with two groups of bars showing how to delete one pack

Line charts

A line chart, line plot, line graph, or curve chart displays information as a series of data points called 'markers' connected by straight line segments. It's a primary type of chart typical in many fields. This type of graphical representation is now supported by WirisQuizzes Instructors can now create dynamic line charts as initial content and ask the students to answer questions by interacting with the chart.

Line charts example with several groups of lines and points

Line chart toolbar

You will now be able to add and edit lines, but also line points.

Vertical and horizontal orientation

Alter the orientation of your line graph, from vertical to horizontal, with the orientation button.

Line chart with three groups of lines showing how to change its orientation

Add group of points

With the add group of points, you will be able to add as many groups of points as you wish within the same lines you’ve established and label them individually with the tag you consider.

line_chart_add_point.png

Add lines

With the add lines, you will be able to add as many lines as you wish to the line groups. With the add line button, you’ll add as many group points as established previously in the other lines.

line_chart_add_line.png

Delete lines

Delete a full line of points by clicking on the delete line button on the lower toolbar menu. This option will not delete a full group of points/labels.

line_chart_delete_line.png

Delete group of points

Delete a group of points by clicking on the delete points button on the lower toolbar menu. This option will delete the full group of points, hence the entire label.

line_chart_delete_point.png

Pie charts

A pie chart is a circular statistical graphic divided into slices to illustrate numerical proportions. In a pie chart, the arc length of each piece is proportional to the quantity it represents. This type of graphical representation is now supported by WirisQuizzes Instructors can now create dynamic pie charts as initial content and ask the students to interact with the chart.

Pie charts example with several pieces

Pie chart toolbar

You will now be able to add and edit pie sections.

Add new pieces

With the add piece button, you will be able to add as many pie pieces as you wish within the same pie and label each pie piece individually with the tag you consider.

pie_chart_add_piece.png

Visualize in 2D or 3D

With the 2D/3D button, you will be able to visualize your pie chart either in 2D or 3D.

pie_chart_3d.png

Delete pieces

Delete a piece of the pie chart by clicking on the delete pie button on the lower toolbar menu.

pie_chart_delete_piece.png

Input options

In the Input options screen, you can control how the toolbar provided to the students is displayed and the offered auxiliary input. This section will be different depending on the selected statistic chart, but we will only show it for the bar charts case as the differences are minimal.

Input options section when a statistical chart is selected

Customize toolbar

Sometimes, we may not provide the student with all the graph resources. In the Customize toolbar section, you can define which will be shown in the student's graph by simply checking or unchecking the corresponding box. They are all selected by default.

Customize toolbar section when a statistics chart is selected

The graph resources are divided into five sections: toolbar, menu, floating, contextual (elements), and contextual (labels). You can fully or partially disable them as in the generic plotter.

Answer input method

Here, you can choose what kind of additional entry you want to offer to the students.

Answer input method section to provide students with an auxiliary input field

There are three options:

  • Display auxiliary CalcMe: You can supply your students with our online calculator while answering the question and set initial content for the calculator if desired. Keep in mind that the calculator can do a lot more than numerical computations!

  • Display auxiliary text field: You can provide your students with a text editor to make them include the reasoning they have followed to answer the question. For more details, see this page: Auxiliary input.

  • Don't show auxiliary input: Don't show the additional CalcMe calculator nor the auxiliary text editor in the input field for the student's answer.

Validation options

The validation options field allows to define us how we want to evaluate the student's answer. This section is divided into two sections explained below.

validation_options_statistics.png

Elements

The Elements subsection is thought to select the elements in answer to be evaluated. By default, all the elements will be taken into account, and they will have to match the student's answer to be graded correctly.

elements_statistics.png

On the other hand, it's also possible to distribute the grade among those selected elements if we want to consider partial grading.

elements_statistics2.png

Criteria

The Criteria subsection is thought to set the amount of error allowed between the student's answer and the correct answer. Moreover, it's also possible to consider some additional properties explained below.

criteria_statistics.png
  • Prohibit superfluous elements in the student answer: There can't be more elements in the student answer than in the correct answer.

Example: Election results

Imagine creating a question asking to represent, given the results of an election for the delegate of the class, the corresponding pie chart. To do so, we have to start defining the initial content. You need to delete two chart pieces and modify the label of the remaining ones to fit with the related students. Besides, you may be interested in setting the initial values to one.

pie_chart_ic.png

Once we have defined the initial content, we must move on to the Correct answer field and modify the pieces accordingly. To start, you can use the Copy from initial content option.

pie_chart_ca.png

Then, we need to define which elements we want the students to use to answer. As we only want them to modify the size of the pieces, we may disable the other options.

pie_chart_ct.png

Finally, we must define the validation properties we want to consider to grade the students' answers correctly. We can require all elements to be correct to grade the question correctly or we can distribute the grade accordingly.

pie_chart_tol.png

We can preview the question by clicking the Test this question button. Thus, we can verify if it's working as we expected.

Animation showing how the question works through the Test this question section