> ## Documentation Index > Fetch the complete documentation index at: https://www.canva.dev/opensource/flourish-charts/llms.txt > Use this file to discover all available pages before exploring further. # Bind quiz data ## Usage ```python def bind_quiz_data( self, questions_text: str = None, questions_explanation: str = None, questions_input_type: str = None, questions_answers: Union[list, str] = None, questions_suffix: str = None, questions_choices: str = None, scores_question: str = None, scores_range: str = None, scores_explanation: str = None, scores_media: str = None, results_range: str = None, results_text: str = None, results_media: str = None ) ``` ```r bind_quiz_data( ., questions_text = NULL, questions_explanation = NULL, questions_input_type = NULL, questions_answers = NULL, questions_suffix = NULL, questions_choices = NULL, scores_question = NULL, scores_range = NULL, scores_explanation = NULL, scores_media = NULL, results_range = NULL, results_text = NULL, results_media = NULL ) ``` ## Arguments | Arguments | Type hint | Description | | ----------------------- | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `self` | `Flourish` | Returns the Flourish object | | `questions_text` | `str`, optional | Text. Question text. Flourish type hint: column | | `questions_explanation` | `str`, optional | Explanation. A short text explanation accompanying the question. Flourish type hint: column | | `questions_input_type` | `str`, optional | Input type. Type of answer input, choose between slider or multiple choice Flourish type hint: column | | `questions_answers` | `Union[list, str]`, optional | Answers. The correct answer to the question. The score will be decided by the difference between this answer and your input. Its possible to select multiple columns with answers; this will create a dropdown list above the quiz where you can select which answer to compare to. Flourish type hint: columns | | `questions_suffix` | `str`, optional | Slider input suffix. Add a suffix after the value, eg. "%" or "people" (only for slider input type). Flourish type hint: column | | `questions_choices` | `str`, optional | Multiple choice options. Options to show in multiple choice questions. Divide using "::" (eg. "Cat :: Dog :: Sheep :: Badger"). Flourish type hint: column | | `scores_question` | `str`, optional | Question. Question that the answer belongs to. Flourish type hint: column | | `scores_range` | `str`, optional | Answer. The answer to the question. This can be text for multiple choice questions. For slider answers, you can use numbers or number ranges, values could be "0-10" or "4" or "*" to select all answers. You can also add multiple rows with score ranges per question; the more specific scores will take priority (e.g. it will choose "4" over "0-10" over "*"). Flourish type hint: column | | `scores_explanation` | `str`, optional | Text. Text to show after answering question. Flourish type hint: column | | `scores_media` | `str`, optional | Media. Picture to show after answering question. Flourish type hint: column | | `results_range` | `str`, optional | Points range. A range of points youre targeting. You can use numbers or number ranges, values could be "0-10" or "4" or "*" to select all answers. You can also add multiple rows with score ranges per question; the more specific scores will take priority (e.g. it will choose "4" over "0-10" over "*"). Flourish type hint: column | | `results_text` | `str`, optional | Results text | | `results_media` | `str`, optional | Media. An image to show with the result. Add an image URL or right-click on a cell to upload an image. Flourish type hint: column | | Arguments | Description | | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `.` | Returns the Flourish object | | `questions_text` | Text. Question text. Flourish type hint: column | | `questions_explanation` | Explanation. A short text explanation accompanying the question. Flourish type hint: column | | `questions_input_type` | Input type. Type of answer input, choose between slider or multiple choice Flourish type hint: column | | `questions_answers` | Answers. The correct answer to the question. The score will be decided by the difference between this answer and your input. Its possible to select multiple columns with answers; this will create a dropdown list above the quiz where you can select which answer to compare to. Flourish type hint: columns | | `questions_suffix` | Slider input suffix. Add a suffix after the value, eg. "%" or "people" (only for slider input type). Flourish type hint: column | | `questions_choices` | Multiple choice options. Options to show in multiple choice questions. Divide using "::" (eg. "Cat :: Dog :: Sheep :: Badger"). Flourish type hint: column | | `scores_question` | Question. Question that the answer belongs to. Flourish type hint: column | | `scores_range` | Answer. The answer to the question. This can be text for multiple choice questions. For slider answers, you can use numbers or number ranges, values could be "0-10" or "4" or "*" to select all answers. You can also add multiple rows with score ranges per question; the more specific scores will take priority (e.g. it will choose "4" over "0-10" over "*"). Flourish type hint: column | | `scores_explanation` | Text. Text to show after answering question. Flourish type hint: column | | `scores_media` | Media. Picture to show after answering question. Flourish type hint: column | | `results_range` | Points range. A range of points youre targeting. You can use numbers or number ranges, values could be "0-10" or "4" or "*" to select all answers. You can also add multiple rows with score ranges per question; the more specific scores will take priority (e.g. it will choose "4" over "0-10" over "*"). Flourish type hint: column | | `results_text` | Results text | | `results_media` | Media. An image to show with the result. Add an image URL or right-click on a cell to upload an image. Flourish type hint: column |