> ## 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 pictogram data ## Usage ```python def bind_pictogram_data( self, main_category: str = None, sub_category: str = None, values: Union[list, str] = None, icon_id: str = None, color: str = None, metadata: Union[list, str] = None, icons_id: str = None, icons_path_string: str = None, icons_width: str = None, icons_height: str = None ) ``` ```r bind_pictogram_data( ., main_category = NULL, sub_category = NULL, values = NULL, icon_id = NULL, color = NULL, metadata = NULL, icons_id = NULL, icons_path_string = NULL, icons_width = NULL, icons_height = NULL ) ``` ## Arguments | Arguments | Type hint | Description | | ------------------- | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `self` | `Flourish` | Returns the Flourish object | | `main_category` | `str`, optional | Main category. The (categorical) column that defines the categories along the main axis. Flourish type hint: column | | `sub_category` | `str`, optional | Subcategory. The (categorical) column that defines the categories within each bar. Flourish type hint: column | | `values` | `Union[list, str]`, optional | Values. (Optional) Choose the numeric columns to determine the size of each bar. If more than 1 is chosen, a dropdown will appear in the visualization, which lets the user choose. Flourish type hint: columns | | `icon_id` | `str`, optional | Icon ID. IDs for joining icons in the Icons datasheet. Must contain IDs that match Icon ID values in Icons Set to the same column as the Main category or Subcategory. Flourish type hint: column | | `color` | `str`, optional | Color. The (categorical) column which determines the icon color. Set to the same column as the Main category or Subcategory. Flourish type hint: column | | `metadata` | `Union[list, str]`, optional | Info for popups. One or more columns of information (text, image URLs, embedded charts etc) to include in popups and panels Flourish type hint: columns | | `icons_id` | `str`, optional | Icon ID. Unique ID for joining icon path strings. Must contain IDs that match the Icon ID values in DataFlourish type hint: column | | `icons_path_string` | `str`, optional | Icon. Icon path string (e.g. "M10,10 l80,0 l0,80 l-80,0 z") or the name of a built-in icon (e.g. "female"). Flourish type hint: column | | `icons_width` | `str`, optional | Icon width. Icon width (in pixels). Flourish type hint: column | | `icons_height` | `str`, optional | Icon height. Icon height (in pixels). Flourish type hint: column | | Arguments | Description | | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `.` | Returns the Flourish object | | `main_category` | Main category. The (categorical) column that defines the categories along the main axis. Flourish type hint: column | | `sub_category` | Subcategory. The (categorical) column that defines the categories within each bar. Flourish type hint: column | | `values` | Values. (Optional) Choose the numeric columns to determine the size of each bar. If more than 1 is chosen, a dropdown will appear in the visualization, which lets the user choose. Flourish type hint: columns | | `icon_id` | Icon ID. IDs for joining icons in the Icons datasheet. Must contain IDs that match Icon ID values in Icons Set to the same column as the Main category or Subcategory. Flourish type hint: column | | `color` | Color. The (categorical) column which determines the icon color. Set to the same column as the Main category or Subcategory. Flourish type hint: column | | `metadata` | Info for popups. One or more columns of information (text, image URLs, embedded charts etc) to include in popups and panels Flourish type hint: columns | | `icons_id` | Icon ID. Unique ID for joining icon path strings. Must contain IDs that match the Icon ID values in DataFlourish type hint: column | | `icons_path_string` | Icon. Icon path string (e.g. "M10,10 l80,0 l0,80 l-80,0 z") or the name of a built-in icon (e.g. "female"). Flourish type hint: column | | `icons_width` | Icon width. Icon width (in pixels). Flourish type hint: column | | `icons_height` | Icon height. Icon height (in pixels). Flourish type hint: column |