The file data_figure4b.csv contains the coordinates of all datapoints shown in Figure 4b of the paper Madirolas et al., "A taste for numbers: Caenorhabditis elegans foraging patterns follow a simple rule of thumb". See Supplementary Dataset 1 for the raw data and the code needed to generate the figure.

Each row of the table represents one food patch in a 5-patch experimental condition. The columns have the following meaning:
- spp_1 ... spp_5: Name of the bacterial species present in each food patch.
- D_effective: Effective density of the food patch, calculated as D/D_attract. This is represented in the x axis of the figure.
- n_worm_relative: Relative number of worms found in the food patch. This is represented in the y axis of the figure.
- errorbar_minus: Length of the lower segment of the errorbar for relative number of worms. This is used to represent the errorbars in the y axis of the figure.
- errorbar_plus: Length of the higher segment of the errorbar for relative number of worms. This is used to represent the errorbars in the y axis of the figure.

NOTE: This file is intended only as a description of the data table. Refer to the text of the article for full descriptions of the figure. In case of any inconsistency, the text of the article should prevail over this file.