Binding additional data sources
Bind functionsBind audio dataBind bar chart race dataBind bubble chart dataBind calculator dataBind cards dataBind chord diagram dataBind draw the line chart dataBind election results chart dataBind gantt chart dataBind gauge dataBind hierarchy dataBind line chart race dataBind interactive svg dataBind line, bar and pie charts dataBind marimekko dataBind network graph dataBind parliament chart dataBind pictogram dataBind quiz dataBind radar chart dataBind sankey diagram dataBind scatter dataBind slope chart dataBind sports dataBind sports race dataBind survey dataBind svg annotator dataBind table dataBind text annotator dataBind timeline dataBind tournament dataBind word cloud data
Bind election results chart data
Usage
def bind_election_results_chart_data(self,values_now_name: str = None,values_now_values: Union[list, str] = None,values_historical_name: str = None,values_historical_values: Union[list, str] = None)
PYTHON
bind_election_results_chart_data(.,values_now_name = NULL,values_now_values = NULL,values_historical_name = NULL,values_historical_values = NULL)
R
Arguments
Arguments | Type hint | Description |
---|---|---|
self | Flourish | Returns the Flourish object |
values_now_name | str , optional | Region name. The name of the data series (eg. voting district). Flourish type hint: column |
values_now_values | Union[list, str] , optional | Results by party. One column per party, with party names as header rows. Flourish type hint: columns |
values_historical_name | str , optional | Region name. The name of the data series (eg. voting district). Flourish type hint: column |
values_historical_values | Union[list, str] , optional | Results by party. One column per party, with party names as header rows. Flourish type hint: columns |
Arguments | Description |
---|---|
. | Returns the Flourish object |
values_now_name | Region name. The name of the data series (eg. voting district). Flourish type hint: column |
values_now_values | Results by party. One column per party, with party names as header rows. Flourish type hint: columns |
values_historical_name | Region name. The name of the data series (eg. voting district). Flourish type hint: column |
values_historical_values | Results by party. One column per party, with party names as header rows. Flourish type hint: columns |